Files
Jacek Pyziak dde8b85885 Add new templates for user authentication and management
- Created `unlogged-layout.php` and `unlogged.php` for the login page layout.
- Implemented `main-view.php` for system update management with progress tracking.
- Added `user-2fa.php` for two-factor authentication verification.
- Developed `user-edit.php` for editing user details and privileges.
- Introduced `users-list.php` for displaying and managing user accounts.
- Added `.htaccess` configuration for URL rewriting and security settings.
2026-01-13 23:16:24 +01:00

25 lines
794 B
PHP

<?
$out = '<a ';
$out .= 'class="btn ' . $this -> params['class'] . '" ';
if ( $this -> params['style'] )
$out .= 'style="' . $this -> params['style'] . '" ';
if ( $this -> params['js'] )
$out .= 'onclick="' . htmlspecialchars( $this -> params['js'] ) . '" ';
if ( $this -> params['url'] )
$out .= 'href="' . htmlspecialchars( $this -> params['url'] ) . '" ';
if ( $this -> params['id'] )
$out .= 'id="' . $this -> params['id'] . '" ';
if ( $this -> params['title'] )
$out .= 'title="' . htmlspecialchars( $this -> params['title'] ) . '" ';
$out .= '>';
if ( $this -> params['icon'] )
$out .= '<i class="fa ' . $this -> params['icon'] . ' mr5"></i>';
$out .= $this -> params['text'];
$out .= '</a>';
echo $out;