mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 05:01:43 +00:00
do not set default theme for user anymore, redirect to login page
if the user didn't have a theme set, it used to be set by the default theme. This has been turned off.
This commit is contained in:
parent
5ddb14a499
commit
d519990d5e
|
@ -32,7 +32,11 @@ include("../inc/inc.ClassController.php");
|
||||||
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||||
|
|
||||||
function _printMessage($heading, $message) { /* {{{ */
|
function _printMessage($heading, $message) { /* {{{ */
|
||||||
global $dms, $theme;
|
global $session, $dms, $theme;
|
||||||
|
|
||||||
|
header("Location:../out/out.Login.php?msg=".urlencode($message));
|
||||||
|
exit;
|
||||||
|
|
||||||
UI::exitError($heading, $message, true);
|
UI::exitError($heading, $message, true);
|
||||||
return;
|
return;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
@ -152,7 +156,7 @@ else {
|
||||||
$sesstheme = $user->getTheme();
|
$sesstheme = $user->getTheme();
|
||||||
if (strlen($sesstheme)==0) {
|
if (strlen($sesstheme)==0) {
|
||||||
$sesstheme = $settings->_theme;
|
$sesstheme = $settings->_theme;
|
||||||
$user->setTheme($sesstheme);
|
// $user->setTheme($sesstheme);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user