diff options
Diffstat (limited to 'themes/admin_wind')
| -rw-r--r-- | themes/admin_wind/css/screen.css | 37 | ||||
| -rw-r--r-- | themes/admin_wind/views/admin.html.php | 12 | 
2 files changed, 16 insertions, 33 deletions
| diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css index 4ae0c218..fbcdf4ae 100644 --- a/themes/admin_wind/css/screen.css +++ b/themes/admin_wind/css/screen.css @@ -246,7 +246,7 @@ th {    background: transparent url('../../../lib/images/logo.png') no-repeat 0 .5em;    color: #A5A5A5 !important;    display: block; -  height: 55px; +  height: 65px;    padding-top: 5px;    width: 105px;  } @@ -457,46 +457,19 @@ th {   * 7) Right to left styles   *********************************************************************/ -.rtl { -  direction: rtl; +.rtl #g-admin-menu { +  left: auto; +  right: 150px;  } -.rtl caption, -.rtl th, -.rtl #g-dialog { -  text-align: right; -} - -.rtl #g-header #g-login-menu, -.rtl .g-txt-right { -  text-align: left; -} - -.rtl .g-right, -.rtl #g-header #g-quick-search-form, -.rtl #g-header #g-login-menu, -.rtl .ui-icon-right .ui-icon { -  clear: left; -  float: left; -} - -.rtl .g-left, -.rtl form ul ul li, -.rtl input[type="submit"], -.rtl input[type="reset"],  .rtl #g-content #g-album-grid .g-item, -.rtl #g-site-admin-menu, -.rtl .g-pager li, -.rtl .g-buttonset li, -.rtl .ui-icon-left .ui-icon,  .rtl #g-site-theme,  .rtl #g-admin-theme,  .rtl .g-selected img,  .rtl .g-available .g-block img,  .rtl #g-content #g-photo-stream .g-item,  .rtl li.g-group, -.rtl #g-server-add-admin, -.rtl .ui-icon-left .ui-icon { +.rtl #g-server-add-admin {    float: right;  } diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index d88cabf6..ef1aa1d2 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -44,7 +44,17 @@        <div id="g-header">          <?= $theme->admin_header_top() ?>          <ul id="g-login-menu" class="g-inline g-right"> -          <li class="g-first"><?= html::anchor(item::root()->abs_url(), "← ".t("Back to the Gallery")) ?></li> +          <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 id="g-logout-link"><a href="<?= url::site("logout?csrf=$csrf&continue=" . urlencode(item::root()->url())) ?>"><?= t("Logout") ?></a></li>          </ul>          <a id="g-logo" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery")->for_html_attr() ?>"> | 
