Files
gallery3/modules/user/views/login.html.php
T
Andy Staudacher a631fe29f3 i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00

15 lines
634 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul id="gLoginMenu">
<? if ($user->guest): ?>
<li class="first"><a href="<?= url::site("login") ?>"
title="<?= t("Login to Gallery") ?>"
id="gLoginLink"><?= t("Login") ?></a></li>
<? else: ?>
<li class="first"><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
title="<?= t("Edit Your Profile") ?>"
id="gUserProfileLink" class="gDialogLink"><?= t("Modify Profile") ?></a></li>
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"
id="gLogoutLink"><?= t("Logout") ?></a></li>
<? endif; ?>
</ul>