From 02b26f7684bb1626618c52b21999cbaa829496e4 Mon Sep 17 00:00:00 2001 From: vdigital Date: Thu, 18 Jan 2007 21:10:39 +0000 Subject: Issue 0000615: End of page replaced by icon/page_end.png Only if + than 9 categories - footer.tpl is changed for PNG Transparency with IE - Fine pwg_footer.png git-svn-id: http://piwigo.org/svn/trunk@1734 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_list.php | 5 +++++ template/yoga/admin/cat_list.tpl | 4 +++- template/yoga/footer.tpl | 4 ++-- template/yoga/icon/pwg_footer.png | Bin 1769 -> 3100 bytes 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/admin/cat_list.php b/admin/cat_list.php index 44e1cc883..6b1ff40bb 100644 --- a/admin/cat_list.php +++ b/admin/cat_list.php @@ -317,6 +317,11 @@ foreach ($categories as $category) ); } } +// Add a link to Page bottom only if needed (10 or more categories) +if ( $category['rank'] > 9 ) +{ + $template->assign_block_vars('eop_link', array('ICON'=>'Displayed')); +} // +-----------------------------------------------------------------------+ // | sending html code | // +-----------------------------------------------------------------------+ diff --git a/template/yoga/admin/cat_list.tpl b/template/yoga/admin/cat_list.tpl index 7111d9143..49716b687 100644 --- a/template/yoga/admin/cat_list.tpl +++ b/template/yoga/admin/cat_list.tpl @@ -7,7 +7,9 @@

{L_ADD_VIRTUAL} : - {lang:page_end} + + {lang:page_end} +

diff --git a/template/yoga/footer.tpl b/template/yoga/footer.tpl index c2c51848d..48d53450d 100644 --- a/template/yoga/footer.tpl +++ b/template/yoga/footer.tpl @@ -8,8 +8,8 @@ contact us on http://phpwebgallery.net to find a solution on how to show the origin of the script...--> - - {lang:powered_by} + + {lang:powered_by} {VERSION} diff --git a/template/yoga/icon/pwg_footer.png b/template/yoga/icon/pwg_footer.png index e465f76f9..544731891 100644 Binary files a/template/yoga/icon/pwg_footer.png and b/template/yoga/icon/pwg_footer.png differ -- cgit v1.2.3