Files
gallery3/modules/user/views/login.html.php
T
Bharat Mediratta cd1d023754 Change the preamble for views in two ways:
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
   have short_tags enabled (the app won't work, but we need to make sure that we're
   still secure)
2009-01-01 00:23:29 +00:00

15 lines
606 B
PHP

<?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("form/edit/users/{$user->id}") ?>"
title="<?= _("Edit Your Profile") ?>"
id="gUserProfileLink" class="gDialogLink"><?= _("Modify Profile") ?></a></li>
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"
id="gLogoutLink"><?= _("Logout") ?></a></li>
<? endif; ?>
</ul>