mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug 3203 fixed: for IE, explicit the url even for staying on the same page
git-svn-id: http://piwigo.org/svn/trunk@30972 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -98,6 +98,8 @@ $template->assign(
|
|||||||
|
|
||||||
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
||||||
|
|
||||||
|
$my_base_url = get_root_url().'admin.php?page=';
|
||||||
|
|
||||||
$tabsheet = new tabsheet();
|
$tabsheet = new tabsheet();
|
||||||
$tabsheet->set_id('comments');
|
$tabsheet->set_id('comments');
|
||||||
$tabsheet->select('');
|
$tabsheet->select('');
|
||||||
|
|||||||
@@ -59,15 +59,18 @@ function add_core_tabs($sheets, $tab_id)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'comments':
|
case 'comments':
|
||||||
$sheets[''] = array('caption' => l10n('User comments'), 'url' => '');
|
global $my_base_url;
|
||||||
|
$sheets[''] = array('caption' => l10n('User comments'), 'url' => $my_base_url.'comments');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'users':
|
case 'users':
|
||||||
$sheets[''] = array('caption' => '<span class="icon-users"> </span>'.l10n('User list'), 'url' => '');
|
global $my_base_url;
|
||||||
|
$sheets[''] = array('caption' => '<span class="icon-users"> </span>'.l10n('User list'), 'url' => $my_base_url.'user_list');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'groups':
|
case 'groups':
|
||||||
$sheets[''] = array('caption' => '<span class="icon-group"> </span>'.l10n('Groups'), 'url' => '');
|
global $my_base_url;
|
||||||
|
$sheets[''] = array('caption' => '<span class="icon-group"> </span>'.l10n('Groups'), 'url' => $my_base_url.'group_list');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'configuration':
|
case 'configuration':
|
||||||
|
|||||||
Reference in New Issue
Block a user