mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-10 07:14:59 +02:00
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
This commit is contained in:
@@ -26,8 +26,6 @@ defined('PHPWG_ROOT_PATH') or die ("Hacking attempt!");
|
||||
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
||||
$tabsheet = new tabsheet();
|
||||
$tabsheet->set_id('rating');
|
||||
$tabsheet->add('rating', l10n('Photos'), get_root_url().'admin.php?page=rating');
|
||||
$tabsheet->add('rating_user', l10n('Users'), get_root_url().'admin.php?page=rating_user');
|
||||
$tabsheet->select('rating_user');
|
||||
$tabsheet->assign();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user