diff options
author | mistic100 <mistic@piwigo.org> | 2012-07-23 11:50:41 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-07-23 11:50:41 +0000 |
commit | 9a4a9d846e6bd74a61d1ab390ea4deb3224f4170 (patch) | |
tree | d3a40b94d272493fa02cf78434509d678c49ef91 /admin/configuration.php | |
parent | 7b181f067bd2a02e118e57b4c2fc44e2319ca734 (diff) |
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/trunk@16928 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/configuration.php')
-rw-r--r-- | admin/configuration.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/admin/configuration.php b/admin/configuration.php index aa27cc5f3..e4e881051 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -287,16 +287,7 @@ $template->set_filename('config', 'configuration.tpl'); // TabSheet $tabsheet = new tabsheet(); $tabsheet->set_id('configuration'); -// TabSheet initialization -$tabsheet->add('main', l10n('Main'), $conf_link.'main'); -$tabsheet->add('sizes', l10n('Photo sizes'), $conf_link.'sizes'); -$tabsheet->add('watermark', l10n('Watermark'), $conf_link.'watermark'); -$tabsheet->add('display', l10n('Display'), $conf_link.'display'); -$tabsheet->add('comments', l10n('Comments'), $conf_link.'comments'); -$tabsheet->add('default', l10n('Guest Settings'), $conf_link.'default'); -// TabSheet selection $tabsheet->select($page['section']); -// Assign tabsheet to template $tabsheet->assign(); $action = get_root_url().'admin.php?page=configuration'; |