Setting header date according Configuration.
This commit is contained in:
@@ -390,8 +390,10 @@ class SkinEngine
|
||||
$smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: '');
|
||||
$uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING');
|
||||
$smarty->assign('workspace_label', $uws);
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
|
||||
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));//G::getformatedDate(date('Y-m-d'), $currentFormat, SYS_LANG));
|
||||
}
|
||||
|
||||
if (defined('SYS_SYS')) {
|
||||
@@ -642,7 +644,10 @@ class SkinEngine
|
||||
$smarty->assign('workspace', defined('SYS_SYS')?SYS_SYS: '');
|
||||
$uws = (isset($_SESSION['USR_ROLENAME']) && $_SESSION['USR_ROLENAME'] != '')? strtolower(G::LoadTranslation('ID_WORKSPACE_USING')): G::LoadTranslation('ID_WORKSPACE_USING');
|
||||
$smarty->assign('workspace_label', $uws);
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));//G::getformatedDate(date('Y-m-d'), $currentFormat, SYS_LANG));
|
||||
|
||||
}
|
||||
if(class_exists('pmLicenseManager')){
|
||||
|
||||
Reference in New Issue
Block a user