Setting header date according Configuration.

This commit is contained in:
ralph
2013-04-04 16:38:53 -04:00
parent d23698df6d
commit 736c693d0f

View File

@@ -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')){