aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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