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/languages.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/languages.php')
-rw-r--r-- | admin/languages.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/admin/languages.php b/admin/languages.php index fd282d556..cc8057453 100644 --- a/admin/languages.php +++ b/admin/languages.php @@ -35,11 +35,7 @@ if (isset($_GET['tab'])) else $page['tab'] = 'installed'; -$tabsheet = new tabsheet(); -$tabsheet->set_id('languages'); -$tabsheet->add('installed', l10n('Installed Languages'), $my_base_url.'&tab=installed'); -$tabsheet->add('update', l10n('Check for updates'), $my_base_url.'&tab=update'); -$tabsheet->add('new', l10n('Add New Language'), $my_base_url.'&tab=new'); +$tabsheet = new tabsheet('languages'); $tabsheet->select($page['tab']); $tabsheet->assign(); |