aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2007-01-18 21:10:39 +0000
committervdigital <vdigital@piwigo.org>2007-01-18 21:10:39 +0000
commit02b26f7684bb1626618c52b21999cbaa829496e4 (patch)
treee53d1fc153128db3310fc91395184947dbcc8dd1
parent3f04afc12a369ca3284624de7b6695ab42cd0e4a (diff)
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
-rw-r--r--admin/cat_list.php5
-rw-r--r--template/yoga/admin/cat_list.tpl4
-rw-r--r--template/yoga/footer.tpl4
-rw-r--r--template/yoga/icon/pwg_footer.pngbin1769 -> 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 @@
<p>
{L_ADD_VIRTUAL} : <input type="text" name="virtual_name" />
<input type="submit" value="{L_SUBMIT}" name="submitAdd" {TAG_INPUT_ENABLED} />
- <a href="#EoP" class="button"><img src="{themeconf:icon_dir}/page_end.png" class="button" alt="{lang:page_end}" /></a>
+ <!-- BEGIN eop_link -->
+ <a href="#EoP" class="button"><img src="{themeconf:icon_dir}/page_end.png" class="button" alt="{lang:page_end}" /></a>
+ <!-- END eop_link -->
</p>
</form>
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...-->
- <a href="{PHPWG_URL}" class="back" title="{lang:powered_by}" onclick="window.open(this.href, ''); return false;">
- <img src="{pwg_root}{themeconf:icon_dir}/pwg_footer.png" alt="{lang:powered_by}">
+ <a class="button" href="{PHPWG_URL}" class="back" title="{lang:powered_by}" onclick="window.open(this.href, ''); return false;">
+ <img class="button" src="{pwg_root}{themeconf:icon_dir}/pwg_footer.png" alt="{lang:powered_by}">
</a>
{VERSION}
<!-- BEGIN contact -->
diff --git a/template/yoga/icon/pwg_footer.png b/template/yoga/icon/pwg_footer.png
index e465f76f9..544731891 100644
--- a/template/yoga/icon/pwg_footer.png
+++ b/template/yoga/icon/pwg_footer.png
Binary files differ