diff --git a/web/plugin/core/user/user_config.php b/web/plugin/core/user/user_config.php
index b2509b4ee..ac12cccb0 100644
--- a/web/plugin/core/user/user_config.php
+++ b/web/plugin/core/user/user_config.php
@@ -49,7 +49,7 @@
$credit = rate_getusercredit($c_username);
} else {
$_SESSION['error_string'] = _('User does not exists').' ('._('username').': '.$uname.')';
- header("Location: "._u('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view));
+ header("Location: "._u('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view));
exit();
}
@@ -163,8 +163,8 @@
if ($uname && auth_isadmin()) {
$content .= "
@@ -85,17 +85,17 @@
if ($list[$i]['uid'] != '1' || $list[$i]['uid'] != $user_config['uid']) {
if (user_banned_get($list[$i]['uid'])) {
// unban
- $action .= "
".$icon_config['unban']."";
+ $action .= "
".$icon_config['unban']."";
$banned_icon = $icon_config['ban'];
} else {
// ban
- $action .= "
".$icon_config['ban']."";
+ $action .= "
".$icon_config['ban']."";
$banned_icon = '';
}
}
// remove user
- $action .= "
".$icon_config['user_delete']."";
+ $action .= "
".$icon_config['user_delete']."";
$j--;
$content .= "
@@ -154,7 +154,7 @@
$content .= "
"._('Manage user')."
".$form_sub_title."
-
- "._back('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view);
+ "._back('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view);
_p($content);
break;
@@ -213,7 +213,7 @@
$add['language_module'] = $_POST['add_language_module'];
$ret = user_add($add);
$_SESSION['error_string'] = $ret['error_string'];
- header("Location: "._u('index.php?app=main&inc=user_mgmnt&op=user_add&view='.$view));
+ header("Location: "._u('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_add&view='.$view));
exit();
break;
@@ -222,7 +222,7 @@
$del_uid = user_username2uid($up['username']);
$ret = user_remove($del_uid);
$_SESSION['error_string'] = $ret['error_string'];
- header("Location: "._u('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view));
+ header("Location: "._u('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view));
exit();
break;
@@ -239,7 +239,7 @@
} else {
$_SESSION['error_string'] = _('User is not on banned users list').' ('._('username').': '.$_REQUEST['uname'].')';
}
- header("Location: "._u('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view));
+ header("Location: "._u('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view));
exit();
break;
@@ -256,7 +256,7 @@
$_SESSION['error_string'] = _('Unable to ban user').' ('._('username').': '.$_REQUEST['uname'].')';
}
}
- header("Location: "._u('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view));
+ header("Location: "._u('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view));
exit();
break;
}
diff --git a/web/plugin/core/user/user_pref.php b/web/plugin/core/user/user_pref.php
index bee69b03e..2ed46c5b4 100644
--- a/web/plugin/core/user/user_pref.php
+++ b/web/plugin/core/user/user_pref.php
@@ -46,7 +46,7 @@
$sender = core_sanitize_sender($c_user[0]['sender']);
} else {
$_SESSION['error_string'] = _('User does not exists').' ('._('username').': '.$uname.')';
- header("Location: "._u('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view));
+ header("Location: "._u('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view));
exit();
}
@@ -64,8 +64,8 @@
}
if ($uname && auth_isadmin()) {
$form_title = _('Manage user');
- $button_delete = "
";
- $button_back = _back('index.php?app=main&inc=user_mgmnt&op=user_list&view='.$view);
+ $button_delete = "
";
+ $button_back = _back('index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list&view='.$view);
} else {
$form_title = _('Preferences');
}
diff --git a/web/plugin/themes/common/config.php b/web/plugin/themes/common/config.php
index a9574ba5d..de6504f10 100644
--- a/web/plugin/themes/common/config.php
+++ b/web/plugin/themes/common/config.php
@@ -97,7 +97,7 @@
1
) ,
array(
- 'index.php?app=main&inc=user_mgmnt&op=user_list',
+ 'index.php?app=main&inc=core_user&route=user_mgmnt&op=user_list',
_('Manage user') ,
2
) ,