mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 10:28:32 +03:00
Remove unused argument from "get_locale_links" function
This commit is contained in:
parent
e76ded074c
commit
9718ab4ec1
@ -291,7 +291,7 @@ function show_install_err($text)
|
||||
global $page;
|
||||
$page = array(
|
||||
'version' => MIBEW_VERSION,
|
||||
'localeLinks' => get_locale_links(MIBEW_WEB_ROOT . "/install/index.php"),
|
||||
'localeLinks' => get_locale_links(),
|
||||
'title' => getlocal("install.err.title"),
|
||||
'no_right_menu' => true,
|
||||
'fixedwrap' => true,
|
||||
|
@ -65,7 +65,7 @@ require_once(MIBEW_FS_ROOT.'/install/dbinfo.php');
|
||||
|
||||
$page = array(
|
||||
'version' => MIBEW_VERSION,
|
||||
'localeLinks' => get_locale_links(MIBEW_WEB_ROOT . "/install/index.php")
|
||||
'localeLinks' => get_locale_links()
|
||||
);
|
||||
|
||||
$page['done'] = array();
|
||||
|
@ -133,7 +133,7 @@ function get_locale()
|
||||
return $locale;
|
||||
}
|
||||
|
||||
function get_locale_links($href)
|
||||
function get_locale_links()
|
||||
{
|
||||
$locale_links = array();
|
||||
$all_locales = get_available_locales();
|
||||
|
@ -29,7 +29,7 @@ $is_online = is_operator_online($operator['operatorid']);
|
||||
|
||||
$page = array(
|
||||
'version' => MIBEW_VERSION,
|
||||
'localeLinks' => get_locale_links(MIBEW_WEB_ROOT . "/operator/index.php"),
|
||||
'localeLinks' => get_locale_links(),
|
||||
'needUpdate' => Settings::get('dbversion') != DB_VERSION,
|
||||
'needChangePassword' => check_password_hash($operator['vclogin'], '', $operator['vcpassword']),
|
||||
'profilePage' => MIBEW_WEB_ROOT . "/operator/operator.php?op=" . $operator['operatorid'],
|
||||
|
@ -61,7 +61,7 @@ if (isset($_POST['login']) && isset($_POST['password'])) {
|
||||
}
|
||||
}
|
||||
|
||||
$page['localeLinks'] = get_locale_links(MIBEW_WEB_ROOT . "/operator/login.php");
|
||||
$page['localeLinks'] = get_locale_links();
|
||||
$page['title'] = getlocal("page_login.title");
|
||||
$page['headertitle'] = getlocal("app.title");
|
||||
$page['show_small_login'] = false;
|
||||
|
@ -87,7 +87,7 @@ if (isset($_POST['loginoremail'])) {
|
||||
|
||||
$page['formloginoremail'] = $login_or_email;
|
||||
|
||||
$page['localeLinks'] = get_locale_links(MIBEW_WEB_ROOT . "/operator/restore.php");
|
||||
$page['localeLinks'] = get_locale_links();
|
||||
$page['isdone'] = false;
|
||||
|
||||
$page_style->render('restore', $page);
|
||||
|
Loading…
Reference in New Issue
Block a user