Changing skin values in some pages from "classic" to "neoclassic"
This commit is contained in:
@@ -85,7 +85,7 @@ class Bootstrap
|
|||||||
}
|
}
|
||||||
|
|
||||||
// default configuration
|
// default configuration
|
||||||
$config = array('debug' => 0, 'debug_sql' => 0, 'debug_time' => 0, 'debug_calendar' => 0, 'wsdl_cache' => 1, 'memory_limit' => '128M', 'time_zone' => 'America/New_York', 'memcached' => 0, 'memcached_server' => '', 'default_skin' => 'classic', 'default_lang' => 'en', 'proxy_host' => '', 'proxy_port' => '', 'proxy_user' => '', 'proxy_pass' => '' );
|
$config = array('debug' => 0, 'debug_sql' => 0, 'debug_time' => 0, 'debug_calendar' => 0, 'wsdl_cache' => 1, 'memory_limit' => '128M', 'time_zone' => 'America/New_York', 'memcached' => 0, 'memcached_server' => '', 'default_skin' => 'neoclassic', 'default_lang' => 'en', 'proxy_host' => '', 'proxy_port' => '', 'proxy_user' => '', 'proxy_pass' => '' );
|
||||||
|
|
||||||
// read the global env.ini configuration file
|
// read the global env.ini configuration file
|
||||||
if ($readGlobalIniFile && ($globalConf = @parse_ini_file($globalIniFile)) !== false) {
|
if ($readGlobalIniFile && ($globalConf = @parse_ini_file($globalIniFile)) !== false) {
|
||||||
|
|||||||
@@ -1074,7 +1074,7 @@ class System
|
|||||||
}
|
}
|
||||||
|
|
||||||
// default configuration
|
// default configuration
|
||||||
$config = array ('debug' => 0,'debug_sql' => 0,'debug_time' => 0,'debug_calendar' => 0,'wsdl_cache' => 1,'memory_limit' => '128M','time_zone' => 'America/New_York','memcached' => 0,'memcached_server' => '','default_skin' => 'classic','default_lang' => 'en','proxy_host' => '','proxy_port' => '','proxy_user' => '','proxy_pass' => ''
|
$config = array ('debug' => 0,'debug_sql' => 0,'debug_time' => 0,'debug_calendar' => 0,'wsdl_cache' => 1,'memory_limit' => '128M','time_zone' => 'America/New_York','memcached' => 0,'memcached_server' => '','default_skin' => 'neoclassic','default_lang' => 'en','proxy_host' => '','proxy_port' => '','proxy_user' => '','proxy_pass' => ''
|
||||||
);
|
);
|
||||||
|
|
||||||
// read the global env.ini configuration file
|
// read the global env.ini configuration file
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class Home extends Controller
|
|||||||
|
|
||||||
// getting the ux type from user o group conf.
|
// getting the ux type from user o group conf.
|
||||||
$this->userUxType = isset( $_SESSION['user_experience'] ) ? $_SESSION['user_experience'] : 'SIMPLIFIED';
|
$this->userUxType = isset( $_SESSION['user_experience'] ) ? $_SESSION['user_experience'] : 'SIMPLIFIED';
|
||||||
$this->lastSkin = isset( $_SESSION['user_last_skin'] ) ? $_SESSION['user_last_skin'] : 'classic';
|
$this->lastSkin = isset( $_SESSION['user_last_skin'] ) ? $_SESSION['user_last_skin'] : 'neoclassic';
|
||||||
$this->userUxBaseTemplate = (is_dir( PATH_CUSTOM_SKINS . 'uxs' )) ? PATH_CUSTOM_SKINS . 'simplified' . PATH_SEP . 'templates' : 'home';
|
$this->userUxBaseTemplate = (is_dir( PATH_CUSTOM_SKINS . 'uxs' )) ? PATH_CUSTOM_SKINS . 'simplified' . PATH_SEP . 'templates' : 'home';
|
||||||
|
|
||||||
if (isset( $_SESSION['USER_LOGGED'] ) && ! empty( $_SESSION['USER_LOGGED'] )) {
|
if (isset( $_SESSION['USER_LOGGED'] ) && ! empty( $_SESSION['USER_LOGGED'] )) {
|
||||||
|
|||||||
@@ -840,7 +840,7 @@ class Installer extends Controller
|
|||||||
$langUri = $sysConf['default_lang'];
|
$langUri = $sysConf['default_lang'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$skinUri = 'classic';
|
$skinUri = 'neoclassic';
|
||||||
if (isset($sysConf['default_skin'])) {
|
if (isset($sysConf['default_skin'])) {
|
||||||
$skinUri = $sysConf['default_skin'];
|
$skinUri = $sysConf['default_skin'];
|
||||||
}
|
}
|
||||||
@@ -1070,7 +1070,7 @@ class Installer extends Controller
|
|||||||
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
|
$this->installLog( G::LoadTranslation('ID_INSTALL_SUCESS') );
|
||||||
$info->result = true;
|
$info->result = true;
|
||||||
$info->message = G::LoadTranslation('ID_INSTALL_SUCESS');
|
$info->message = G::LoadTranslation('ID_INSTALL_SUCESS');
|
||||||
$info->url = '/sys' . $_REQUEST['workspace'] . '/en/classic/main/login';
|
$info->url = '/sys' . $_REQUEST['workspace'] . '/en/neoclassic/login/login';
|
||||||
$info->messageFinish = G::LoadTranslation('ID_PROCESSMAKER_SUCCESS_INSTALLED', SYS_LANG, Array($workspace));;
|
$info->messageFinish = G::LoadTranslation('ID_PROCESSMAKER_SUCCESS_INSTALLED', SYS_LANG, Array($workspace));;
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$info->result = false;
|
$info->result = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user