From 4d71975f37fe00efb19bebc5efd23f056165ba56 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 28 Nov 2008 09:46:29 +0000 Subject: Add credits theme callback, point the powered-by link at GMC --- core/libraries/Theme_View.php | 1 + themes/default/css/screen.css | 16 ++++++++++++++++ themes/default/views/footer.html.php | 6 +++++- 3 files changed, 22 insertions(+), 1 deletion(-) diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 0ec3876a..5a29a84a 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -75,6 +75,7 @@ class Theme_View_Core extends View { case "album_blocks": case "album_bottom": case "album_top": + case "credits"; case "head": case "header_bottom": case "header_top": diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index cd8cb288..ea593dfe 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -290,6 +290,22 @@ table.gMetadata td.toggle { .gInfo { } +/* Credits ~~~~~~~~~~~~~~~~~~~~~~~ */ + +#gCredits li { + display: inline; +} + +#gCredits li:before { + padding: 0px 2px 0px 2px; + content: "|" +} + +#gCredits li.first:before { + content: "" +} + + /** ******************************************************************* * 6) Navigation and menus ******************************************************************/ diff --git a/themes/default/views/footer.html.php b/themes/default/views/footer.html.php index 6e0ef428..7f011735 100644 --- a/themes/default/views/footer.html.php +++ b/themes/default/views/footer.html.php @@ -1,2 +1,6 @@ -Powered by Gallery3 | About this Gallery + -- cgit v1.2.3