Skip to content

Commit

Permalink
bug 3203 fixed: for IE, explicit the url even for staying on the same…
Browse files Browse the repository at this point in the history
… page

git-svn-id: http://piwigo.org/svn/trunk@30972 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
plegall committed Feb 16, 2015
1 parent e21c62e commit 2d01221
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions admin/comments.php
Expand Up @@ -98,6 +98,8 @@

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('comments');
$tabsheet->select('');
Expand Down
9 changes: 6 additions & 3 deletions admin/include/add_core_tabs.inc.php
Expand Up @@ -59,15 +59,18 @@ function add_core_tabs($sheets, $tab_id)
break;

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;

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;

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;

case 'configuration':
Expand Down

0 comments on commit 2d01221

Please sign in to comment.