mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03:00
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
This commit is contained in:
parent
7b181f067b
commit
9a4a9d846e
20 changed files with 170 additions and 180 deletions
|
@ -30,12 +30,7 @@ function history_tabsheet()
|
|||
// TabSheet
|
||||
$tabsheet = new tabsheet();
|
||||
$tabsheet->set_id('history');
|
||||
// TabSheet initialization
|
||||
$tabsheet->add('stats', l10n('Statistics'), $link_start.'stats');
|
||||
$tabsheet->add('history', l10n('Search'), $link_start.'history');
|
||||
// TabSheet selection
|
||||
$tabsheet->select($page['page']);
|
||||
// Assign tabsheet to template
|
||||
$tabsheet->assign();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue