Merge pull request #1753 from ralpheav/master

BUG 11979: Cambios en el skin , la fecha en el mensaje de bienvenida en la esquina superior derecha, de la pantalla
This commit is contained in:
julceslauhub
2013-05-24 09:47:17 -07:00
2 changed files with 10 additions and 4 deletions

View File

@@ -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));
}

View File

@@ -277,8 +277,14 @@ 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;
}
});
}