prepare login redirect for mobile/classic
This commit is contained in:
parent
ea5ef3caab
commit
afb12ed0d0
|
@ -4508,11 +4508,16 @@
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function render_login_form($link, $mobile = false) {
|
function render_login_form($link, $mobile = 0) {
|
||||||
if (!$mobile) {
|
switch ($mobile) {
|
||||||
|
case 0:
|
||||||
require_once "login_form.php";
|
require_once "login_form.php";
|
||||||
} else {
|
break;
|
||||||
|
case 1:
|
||||||
require_once "mobile/login_form.php";
|
require_once "mobile/login_form.php";
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
require_once "mobile/classic/login_form.php";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue