From 18bf888d16ed366ac7a2aa417442bc4f3be9d92d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 23 Jul 2012 11:52:18 +0000 Subject: 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 --- admin/languages.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'admin/languages.php') 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(); -- cgit v1.2.3