diff options
author | mistic100 <mistic@piwigo.org> | 2012-07-23 10:03:14 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-07-23 10:03:14 +0000 |
commit | 283e9010ebcc0ca725e39bebb84fcd948ce84a68 (patch) | |
tree | 31a32c18dd7010a861823697a80b98dadd97628c /admin/rating_user.php | |
parent | 2e2ac819ecfefbc25b05c4ec1f7ad97eb657bd93 (diff) |
feature 2703: make it easy for plugins to add tabs in admin screens
add a trigger a give an id to each core tabsheets
git-svn-id: http://piwigo.org/svn/trunk@16925 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/rating_user.php')
-rw-r--r-- | admin/rating_user.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/rating_user.php b/admin/rating_user.php index 03cf2653e..480ec41c4 100644 --- a/admin/rating_user.php +++ b/admin/rating_user.php @@ -25,6 +25,7 @@ defined('PHPWG_ROOT_PATH') or die ("Hacking attempt!"); include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); $tabsheet = new tabsheet(); +$tabsheet->set_id('rating'); $tabsheet->add('rating', l10n('Photos'), get_root_url().'admin.php?page=rating'); $tabsheet->add('rating_user', l10n('Users'), get_root_url().'admin.php?page=rating_user'); $tabsheet->select('rating_user'); |