feature 2703: make it easy for plugins to add tabs in admin screens

add a trigger a give an id to each core tabsheets

git-svn-id: http://piwigo.org/svn/trunk@16925 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2012-07-23 10:03:14 +00:00
parent 2e2ac819ec
commit 283e9010eb
18 changed files with 26 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ else
$page['tab'] = 'installed';
$tabsheet = new tabsheet();
$tabsheet->set_id('plugins');
$tabsheet->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');