27 if (!isset($sTheme)) {
28 $sTheme = $this->_sTheme = $this->
getConfig()->getConfigParam(
'sTheme');
31 $oTheme =
oxNew(
'oxTheme');
32 if ($oTheme->load($sTheme)) {
33 $this->_aViewData[
"oTheme"] = $oTheme;
37 $this->_aViewData[
"var_constraints"] = $aDbVariables[
'constraints'];
38 $this->_aViewData[
"var_grouping"] = $aDbVariables[
'grouping'];
39 foreach ($this->_aConfParams as $sType => $sParam) {
40 $this->_aViewData[$sParam] = $aDbVariables[
'vars'][$sType];
47 oxRegistry::get(
"oxUtilsView")->addErrorToDisplay(
oxNew(
"oxException",
'EXCEPTION_THEME_NOT_LOADED'));
50 return 'theme_config.tpl';
60 if ($this->_sTheme === null) {
80 foreach ($this->_aConfParams as $sType => $sParam) {
81 $aConfVars =
$myConfig->getRequestParameter($sParam);
82 if (is_array($aConfVars)) {
83 foreach ($aConfVars as $sName => $sValue) {