BUG 9762 Loading page is not part of Skin SOLVED

- There was no address for the template.
- Was add route.
This commit is contained in:
Marco Antonio Nina
2012-10-11 15:56:00 -04:00
parent b0e465ce91
commit 75f2f1b129

View File

@@ -230,7 +230,16 @@ class SkinEngine
$styles = $oHeadPublisher->getExtJsStylesheets($this->cssFileName);
$body = $oHeadPublisher->getExtJsScripts();
//default
$templateFile = G::ExpandPath( "skinEngine" ).'base'.PATH_SEP .'extJsInitLoad.html';
//Custom skins
if (defined('PATH_CUSTOM_SKINS') && is_dir(PATH_CUSTOM_SKINS . $this->mainSkin)) {
$templateFile = PATH_CUSTOM_SKINS . $this->mainSkin . PATH_SEP .'extJsInitLoad.html';
}
//Skin uxs - simplefied
if ($_SESSION['user_experience'] != 'NORMAL') {
$templateFile = (is_dir(PATH_CUSTOM_SKINS . 'uxs')) ? PATH_CUSTOM_SKINS . 'simplified' . PATH_SEP . 'extJsInitLoad.html' : $templateFile;
}
}
else {
$styles = "";