mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
set global var theme from login form before calling first err msg
This commit is contained in:
parent
cbd28d12b7
commit
745226e7e4
|
@ -40,6 +40,10 @@ function _printMessage($heading, $message) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (isset($_REQUEST["sesstheme"]) && strlen($_REQUEST["sesstheme"])>0 && is_numeric(array_search($_REQUEST["sesstheme"],UI::getStyles())) ) {
|
||||
$theme = $_REQUEST["sesstheme"];
|
||||
}
|
||||
|
||||
if (isset($_REQUEST["login"])) {
|
||||
$login = $_REQUEST["login"];
|
||||
$login = str_replace("*", "", $login);
|
||||
|
|
Loading…
Reference in New Issue
Block a user