mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-09 06:44:56 +02:00
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:
@@ -98,6 +98,7 @@ $template->assign(
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
||||
|
||||
$tabsheet = new tabsheet();
|
||||
$tabsheet->set_id('comments');
|
||||
$tabsheet->add('', l10n('User comments validation'), '');
|
||||
$tabsheet->select('');
|
||||
$tabsheet->assign();
|
||||
|
||||
Reference in New Issue
Block a user