From 351d3558b1fd069f39c4eb4c4d428522284afab7 Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 24 Sep 2008 01:27:49 +0000 Subject: - 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 --- admin/template/goto/theme/roma/themeconf.inc.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'admin/template/goto/theme/roma') 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': -- cgit v1.2.3