diff options
author | mistic100 <mistic@piwigo.org> | 2012-07-23 10:06:27 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-07-23 10:06:27 +0000 |
commit | 798de81516100c4037949c7e73c4c5af1915a088 (patch) | |
tree | 9f65e12568632152e24ac9e09ef0ea52257655c2 /admin/updates.php | |
parent | 3f51676bfefae98cddb26d5fa7b2992cc5aa6823 (diff) |
Merged revision(s) 16925 from trunk:
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/branches/2.4@16926 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']);
|