From dcd09c09e817e9e12223fc11ac9f830a81abea83 Mon Sep 17 00:00:00 2001 From: ckieffer Date: Fri, 14 May 2010 17:13:35 -0600 Subject: Missed this in commit 9e3c0c08849b5842f9c345d7b4f90ee82359dedb. --- themes/admin_wind/views/admin.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/admin_wind/views') diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index 2f64c847..6446deeb 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -6,7 +6,7 @@ <? if ($page_title): ?> - <?= $page_title ?> + Gallery Admin: <?= $page_title ?> <? else: ?> <?= t("Admin dashboard") ?> <? endif ?> -- cgit v1.2.3 From dc4fdca2ab1160e6fea1d51694a7b66ae18ef5e9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta <bharat@menalto.com> Date: Fri, 14 May 2010 16:54:50 -0700 Subject: Localize "Gallery Admin" --- themes/admin_wind/views/admin.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/admin_wind/views') diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index 6446deeb..ff7b930f 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -6,7 +6,7 @@ <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title> <? if ($page_title): ?> - Gallery Admin: <?= $page_title ?> + <?= t("Gallery Admin: %page_title", array("page_title" => $page_title)) ?> <? else: ?> <?= t("Admin dashboard") ?> <? endif ?> -- cgit v1.2.3 From 6b01022a97e5fbd30d8f9a14b785e3e25ec7c2d4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta <bharat@menalto.com> Date: Sun, 13 Jun 2010 20:44:13 -0700 Subject: Hide the admin menu and show it after it's loaded to minimize flicker. Normalize the comment text about this interaction between admin_wind and wind. --- themes/admin_wind/views/admin.html.php | 4 +++- themes/wind/views/page.html.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'themes/admin_wind/views') diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index ff7b930f..f9ef18c7 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -53,9 +53,11 @@ ← <?= t("back to the ...") ?> </a> <?= $theme->user_menu() ?> - <div id="g-site-admin-menu" class="ui-helper-clearfix"> + <!-- hide the menu until after the page has loaded, to minimize menu flicker --> + <div id="g-site-admin-menu" class="ui-helper-clearfix" style="visibility: hidden"> <?= $theme->admin_menu() ?> </div> + <script type="text/javascript"> $(document).ready(function() { $("#g-site-admin-menu").css("visibility", "visible"); }) </script> <?= $theme->admin_header_bottom() ?> </div> <div id="bd"> diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php index 4cc949ce..6ce2a559 100644 --- a/themes/wind/views/page.html.php +++ b/themes/wind/views/page.html.php @@ -87,7 +87,7 @@ <?= $theme->user_menu() ?> <?= $theme->header_top() ?> - <!-- hide the menu and make it visible after the page has loaded, to minimize menu flicker --> + <!-- hide the menu until after the page has loaded, to minimize menu flicker --> <div id="g-site-menu" style="visibility: hidden"> <?= $theme->site_menu($theme->item() ? "#g-item-id-{$theme->item()->id}" : "") ?> </div> -- cgit v1.2.3