aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/albums_tab.inc.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-07-23 11:50:41 +0000
committermistic100 <mistic@piwigo.org>2012-07-23 11:50:41 +0000
commit9a4a9d846e6bd74a61d1ab390ea4deb3224f4170 (patch)
treed3a40b94d272493fa02cf78434509d678c49ef91 /admin/include/albums_tab.inc.php
parent7b181f067bd2a02e118e57b4c2fc44e2319ca734 (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 '')
-rw-r--r--admin/include/albums_tab.inc.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/admin/include/albums_tab.inc.php b/admin/include/albums_tab.inc.php
index 22457efd3..9f555075c 100644
--- a/admin/include/albums_tab.inc.php
+++ b/admin/include/albums_tab.inc.php
@@ -26,10 +26,7 @@ include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
$my_base_url = get_root_url().'admin.php?page=';
$tabsheet = new tabsheet();
-$tabsheet->set_id('cat_list');
-$tabsheet->add('list', l10n('List'), $my_base_url.'cat_list');
-$tabsheet->add('move', l10n('Move'), $my_base_url.'cat_move');
-$tabsheet->add('permalinks', l10n('Permalinks'), $my_base_url.'permalinks');
+$tabsheet->set_id('albums');
$tabsheet->select($page['tab']);
$tabsheet->assign();