diff options
author | mistic100 <mistic@piwigo.org> | 2012-07-23 11:52:18 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-07-23 11:52:18 +0000 |
commit | 18bf888d16ed366ac7a2aa417442bc4f3be9d92d (patch) | |
tree | 42f4f4ab774a9b3848b315570b0b6a15cea7d4ad /admin/languages.php | |
parent | 798de81516100c4037949c7e73c4c5af1915a088 (diff) |
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
Diffstat (limited to '')
-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(); |