mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-26 01:34:09 -04:00
Let's make sure that all forms generated are complete and well formed and then use JS and CSS to control their display and behavior in different contexts.
15 lines
614 B
PHP
15 lines
614 B
PHP
<? defined("SYSPATH") or die("No direct script access."); ?>
|
|
<ul id="gLoginMenu">
|
|
<? if ($user->guest): ?>
|
|
<li><a href="<?= url::site("login") ?>"
|
|
title="<?= _("Login to Gallery") ?>"
|
|
id="gLoginLink"><?= _("Login") ?></a></li>
|
|
<? else: ?>
|
|
<li><a href="<?= url::site("user/{$user->id}?continue=" . url::current(true))?>"
|
|
title="<?= _("Edit Your Profile") ?>"
|
|
id="gUserProfileLink"><?= _("Modify Profile") ?></a></li>
|
|
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"
|
|
id="gLogoutLink"><?= _("Logout") ?></a></li>
|
|
<? endif; ?>
|
|
</ul>
|