BUG 11979: "Cambios en el skin, la fecha en el mensaje de bienvenida en la esquina superior..."
Sol Adding time in the format string + update the entire page, caused the user & datetime are been called in the main request.
This commit is contained in:
@@ -421,7 +421,7 @@ class SkinEngine
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
if (defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d H:i:s')));
|
||||
} else {
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
}
|
||||
@@ -725,7 +725,7 @@ class SkinEngine
|
||||
G::LoadClass( "configuration" );
|
||||
$conf = new Configurations();
|
||||
if ( defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d')));
|
||||
$smarty->assign('udate', $conf->getSystemDate(date('Y-m-d H:i:s')));
|
||||
} else {
|
||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
||||
}
|
||||
|
||||
@@ -274,8 +274,15 @@ Ext.onReady(function() {
|
||||
waitMsg : _('ID_SAVING_ENVIRONMENT_SETTINGS')+'...',
|
||||
timeout : 36000,
|
||||
success : function(res, req) {
|
||||
PMExt.notify(_('ID_PM_ENV_SETTINGS_TITLE'), req.result.msg);
|
||||
saveButton.disable();
|
||||
PMExt.notify(_('ID_PM_ENV_SETTINGS_TITLE'), req.result.msg);
|
||||
saveButton.disable();
|
||||
currentLocation = parent.parent.location.href;
|
||||
frame = parent.location.href;
|
||||
settingsPage = location.href;
|
||||
|
||||
location = settingsPage;
|
||||
parent.location = frame;
|
||||
parent.parent.location = currentLocation;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user