issue #1378 add Activity tab in user manager

This commit is contained in:
MatthieuLP
2021-04-09 09:34:01 +02:00
committed by plegall
parent d784822664
commit ec4d677cf7
11 changed files with 1394 additions and 8 deletions
+6
View File
@@ -35,6 +35,12 @@ function add_core_tabs($sheets, $tab_id)
$sheets['permalinks'] = array('caption' => '<span class="icon-link-1"></span>'.l10n('Permalinks'), 'url' => $my_base_url.'permalinks');
$sheets['search'] = array('caption' => '<span class="icon-search"></span>'.l10n('Search'), 'url' => $my_base_url.'cat_search');
break;
case 'users':
global $my_base_url;
$sheets['user_list'] = array('caption' => '<span class="icon-users"></span>'.l10n('User list'), 'url' => $my_base_url.'user_list');
$sheets['user_activity'] = array('caption' => '<span class="icon-eye"></span>'.l10n('Activity'), 'url' => $my_base_url.'user_activity');
break;
case 'batch_manager':
global $manager_link;
+18
View File
@@ -0,0 +1,18 @@
<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
$my_base_url = get_root_url().'admin.php?page=';
$tabsheet = new tabsheet();
$tabsheet->set_id('users');
$tabsheet->select($page['tab']);
$tabsheet->assign();
?>