From 790f6b3bb6e4bf888a7fdb36f87a763cdb8ca450 Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 23 Apr 2011 12:48:05 +0000 Subject: Change tabsheet place for plugins, themes and languages. Plugins, themes and languages use same update page. git-svn-id: http://piwigo.org/svn/trunk@10594 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins.php | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 admin/plugins.php (limited to 'admin/plugins.php') diff --git a/admin/plugins.php b/admin/plugins.php new file mode 100644 index 000000000..7b2a7152d --- /dev/null +++ b/admin/plugins.php @@ -0,0 +1,50 @@ +add('installed', l10n('Plugin list'), $my_base_url.'&tab=installed'); +$tabsheet->add('update', l10n('Check for updates'), $my_base_url.'&tab=update'); +$tabsheet->add('new', l10n('Other plugins'), $my_base_url.'&tab=new'); +$tabsheet->select($page['tab']); +$tabsheet->assign(); + +if ($page['tab'] == 'update') + include(PHPWG_ROOT_PATH.'admin/updates_ext.php'); +else + include(PHPWG_ROOT_PATH.'admin/plugins_'.$page['tab'].'.php'); + +?> \ No newline at end of file -- cgit v1.2.3