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:
@@ -230,7 +230,16 @@ class SkinEngine
|
|||||||
$styles = $oHeadPublisher->getExtJsStylesheets($this->cssFileName);
|
$styles = $oHeadPublisher->getExtJsStylesheets($this->cssFileName);
|
||||||
$body = $oHeadPublisher->getExtJsScripts();
|
$body = $oHeadPublisher->getExtJsScripts();
|
||||||
|
|
||||||
|
//default
|
||||||
$templateFile = G::ExpandPath( "skinEngine" ).'base'.PATH_SEP .'extJsInitLoad.html';
|
$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 {
|
else {
|
||||||
$styles = "";
|
$styles = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user