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.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.php')
-rw-r--r-- | admin/rating.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/rating.php b/admin/rating.php index 2073ca64c..0f495c876 100644 --- a/admin/rating.php +++ b/admin/rating.php @@ -36,6 +36,7 @@ check_status(ACCESS_ADMINISTRATOR); 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'); |