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/cat_options.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/cat_options.php')
-rw-r--r-- | admin/cat_options.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/admin/cat_options.php b/admin/cat_options.php index aa871c309..18542d1f9 100644 --- a/admin/cat_options.php +++ b/admin/cat_options.php @@ -139,21 +139,7 @@ $template->assign( // TabSheet $tabsheet = new tabsheet(); $tabsheet->set_id('cat_options'); -// TabSheet initialization -$opt_link = $link_start.'cat_options&section='; -$tabsheet->add('status', l10n('Public / Private'), $opt_link.'status'); -$tabsheet->add('visible', l10n('Lock'), $opt_link.'visible'); -if ($conf['activate_comments']) -{ - $tabsheet->add('comments', l10n('Comments'), $opt_link.'comments'); -} -if ($conf['allow_random_representative']) -{ - $tabsheet->add('representative', l10n('Representative'), $opt_link.'representative'); -} -// TabSheet selection $tabsheet->select($page['section']); -// Assign tabsheet to template $tabsheet->assign(); // +-----------------------------------------------------------------------+ |