summaryrefslogtreecommitdiff
path: root/modules/gallery/views/login_current_user.html.php
blob: e3b3688f29a85474e355953ee44fd6e6305615d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php defined("SYSPATH") or die("No direct script access.") ?>
<li>
  <? $name = $menu->label->for_html() ?>
  <? if (identity::is_writable()): ?>
  <?= t("Logged in as %name", array("name" => html::mark_clean(
        "<a href='$menu->url' title='" . t("Edit your profile")->for_html_attr() .
        "' id='$menu->id' class='g-dialog-link'>{$name}</a>"))) ?>
  <? else: ?>
  <?= t("Logged in as %name", array("name" => $name)) ?>
  <? endif ?>
</li>