Replaces hardcoded register link with a plugin hook

main
Yasen Pramatarov 2025-04-17 10:31:35 +03:00
parent af8d86321f
commit 8dfd54eb9f
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@
</li>
<?php } else { ?>
<li><a href="<?= htmlspecialchars($app_root) ?>?page=login">login</a></li>
<li><a href="<?= htmlspecialchars($app_root) ?>?page=register">register</a></li>
<?php do_hook('main_public_menu', ['app_root' => $app_root, 'section' => 'main', 'position' => 100]); ?>
<?php } ?>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">