mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03: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:
@@ -589,19 +589,7 @@ if (is_autorize_status(ACCESS_WEBMASTER))
|
||||
// TabSheet
|
||||
$tabsheet = new tabsheet();
|
||||
$tabsheet->set_id('nbm');
|
||||
// TabSheet initialization
|
||||
$tabsheet->add('param', l10n('Parameter'),
|
||||
add_url_params($base_url.get_query_string_diff(array('mode', 'select')),
|
||||
array('mode' => 'param')));
|
||||
$tabsheet->add('subscribe', l10n('Subscribe'),
|
||||
add_url_params($base_url.get_query_string_diff(array('mode', 'select')),
|
||||
array('mode' => 'subscribe')));
|
||||
$tabsheet->add('send', l10n('Send'),
|
||||
add_url_params($base_url.get_query_string_diff(array('mode', 'select')),
|
||||
array('mode' => 'send')));
|
||||
// TabSheet selection
|
||||
$tabsheet->select($page['mode']);
|
||||
// Assign tabsheet to template
|
||||
$tabsheet->assign();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user