mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
Merged revision(s) 16928 from trunk:
feature 2703: make it easy for plugins to add tabs in admin screens centralize all core tabs in one file git-svn-id: http://piwigo.org/svn/branches/2.4@16929 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+1
-3
@@ -33,10 +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']);
|
||||
$tabsheet->assign();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user