55 if (!empty($_POST[
'xoops_theme_select'])) {
56 $xoops_theme_select = explode(
'!-!', $_POST[
'xoops_theme_select']);
57 if ($this->_isSelectableTheme($xoops_theme_select[0])) {
58 $this->mRoot->mContext->setThemeName($xoops_theme_select[0]);
59 $_SESSION[
'xoopsUserTheme'] = $xoops_theme_select[0];
60 $controller->executeForward($GLOBALS[
'xoopsRequestUri']);
62 } elseif (!empty($_SESSION[
'xoopsUserTheme']) && $this->_isSelectableTheme($_SESSION[
'xoopsUserTheme'])) {
63 $this->mRoot->mContext->setThemeName($_SESSION[
'xoopsUserTheme']);