aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-09-24 01:27:49 +0000
committerrvelices <rv-github@modusoptimus.com>2008-09-24 01:27:49 +0000
commit351d3558b1fd069f39c4eb4c4d428522284afab7 (patch)
treef8193bcff04ecbeb538b9fc52d30ee46220181ff /admin/template
parent01f78a2febf84d2f502c115604f56668e869ae19 (diff)
- feature admin element set: recently posted images (nice if you forget add to caddie during synchro phase)
git-svn-id: http://piwigo.org/svn/trunk@2579 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/template/goto/admin.tpl1
-rw-r--r--admin/template/goto/theme/roma/themeconf.inc.php11
2 files changed, 7 insertions, 5 deletions
diff --git a/admin/template/goto/admin.tpl b/admin/template/goto/admin.tpl
index 4ee3fd7c5..d41d5dda7 100644
--- a/admin/template/goto/admin.tpl
+++ b/admin/template/goto/admin.tpl
@@ -64,6 +64,7 @@ jQuery().ready(function(){ldelim}
<li><a href="{$U_RATING}">{'Rating'|@translate}</a></li>
<li><a href="{$U_TAGS}">{'Tags'|@translate}</a></li>
<li><a href="{$U_CADDIE}">{'Caddie'|@translate}</a></li>
+ <li><a href="{$U_RECENT_SET}">{'recent_pics_cat'|@translate}</a></li>
</ul>
</dd>
</dl>
diff --git a/admin/template/goto/theme/roma/themeconf.inc.php b/admin/template/goto/theme/roma/themeconf.inc.php
index 690e3e4b9..556c685b3 100644
--- a/admin/template/goto/theme/roma/themeconf.inc.php
+++ b/admin/template/goto/theme/roma/themeconf.inc.php
@@ -17,14 +17,15 @@ function selected_admin_menu()
case 'cat_modify':
case 'cat_move':
case 'cat_options':
- case 'element_set':
case 'cat_perm':
case 'permalinks':
- case 'picture_modify':
- if (isset($_GET['cat']) and $_GET['cat']=='caddie') {
- return 3;
- }
return 2;
+ case 'element_set':
+ if (isset($_GET['cat']) and is_numeric($_GET['cat']) ) {
+ return 2;
+ }
+ case 'picture_modify':
+ return 3;
case 'comments':
case 'upload':
case 'thumbnail':