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/updates.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 '')
-rw-r--r-- | admin/updates.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/updates.php b/admin/updates.php index 97c56a2cd..3a2c3609d 100644 --- a/admin/updates.php +++ b/admin/updates.php @@ -33,7 +33,8 @@ if (isset($_GET['tab'])) else
$page['tab'] = 'pwg';
-$tabsheet = new tabsheet();
+$tabsheet = new tabsheet(); +$tabsheet->set_id('updates');
$tabsheet->add('pwg', l10n('Piwigo Update'), $my_base_url);
$tabsheet->add('ext', l10n('Extensions Update'), $my_base_url.'&tab=ext');
$tabsheet->select($page['tab']);
|