summaryrefslogtreecommitdiff
path: root/modules/gallery/views/login.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-06 22:14:32 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-06 22:14:32 -0800
commitc40735c922b53eb32be1ae39a030362eea52e602 (patch)
treecfe908300e98eed1e22d5ba46e2629ed40565b9a /modules/gallery/views/login.html.php
parent44ae88e8e17713cab81a5cf08820e18896615196 (diff)
parent3e0a81a39490f58840e3144b88d9c963e69f8f79 (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules/gallery/views/login.html.php')
-rw-r--r--modules/gallery/views/login.html.php26
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/gallery/views/login.html.php b/modules/gallery/views/login.html.php
deleted file mode 100644
index 4c13ef4b..00000000
--- a/modules/gallery/views/login.html.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.") ?>
-<ul id="g-login-menu" class="g-inline ui-helper-clearfix">
- <? if ($user->guest): ?>
- <li class="g-first">
- <a href="<?= url::site("login/ajax") ?>"
- title="<?= t("Login to Gallery")->for_html_attr() ?>"
- id="g-login-link" class="g-dialog-link"><?= t("Login") ?></a>
- </li>
- <? else: ?>
- <li class="g-first">
- <? if (identity::is_writable()): ?>
- <?= t('Logged in as %name', array('name' => html::mark_clean(
- '<a href="' . url::site("form/edit/users/{$user->id}") .
- '" title="' . t("Edit your profile")->for_html_attr() .
- '" id="g-user-profile-link" class="g-dialog-link">' .
- html::clean($user->display_name()) . '</a>'))) ?>
- <? else: ?>
- <?= t('Logged in as %name', array('name' => html::clean($user->display_name()))) ?>
- <? endif ?>
- </li>
- <li>
- <a href="<?= url::site("logout?csrf=$csrf&amp;continue=" . urlencode(url::current(true))) ?>"
- id="g-logout-link"><?= t("Logout") ?></a>
- </li>
- <? endif ?>
-</ul>