Redesigns register button

main
Yasen Pramatarov 2025-11-19 21:43:30 +02:00
parent 67cc2a67e8
commit 85ea44c1e3
1 changed files with 3 additions and 1 deletions

View File

@ -20,5 +20,7 @@ define('REGISTRATIONS_MAIN_MENU_POSITION', 30);
register_hook('main_public_menu', function($ctx) {
$section = defined('REGISTRATIONS_MAIN_MENU_SECTION') ? REGISTRATIONS_MAIN_MENU_SECTION : 'main';
$position = defined('REGISTRATIONS_MAIN_MENU_POSITION') ? REGISTRATIONS_MAIN_MENU_POSITION : 100;
echo '<li><a href="?page=register">register</a></li>';
echo " <button class=\"btn modern-header-btn\" onclick=\"window.location.href='" . htmlspecialchars($app_root) . "?page=register'\">
<i class=\"fas fa-user-edit me-2\"></i>Register
</button>";
});