BUG-11184 Cambios en el skin, la fecha en el mensaje de bienvenida en la esquina superior derecha, de la pantalla...
Description: No se pasaba los parametros correctos al metodo getSystemDate de la clase Configurations. Se le paso ademas de los parametros Y-m-d los parametros H:i:s. Se encontro un punto y coma demas ";" en el archivo environmentSettingAjax.php
This commit is contained in:
@@ -22,7 +22,6 @@ switch ($request) {
|
|||||||
break;
|
break;
|
||||||
case "getCasesListDateFormat":
|
case "getCasesListDateFormat":
|
||||||
$result->rows = Configurations::getDateFormats();
|
$result->rows = Configurations::getDateFormats();
|
||||||
;
|
|
||||||
print (G::json_encode( $result )) ;
|
print (G::json_encode( $result )) ;
|
||||||
break;
|
break;
|
||||||
case "getCasesListRowNumber":
|
case "getCasesListRowNumber":
|
||||||
|
|||||||
@@ -726,9 +726,9 @@ class SkinEngine
|
|||||||
G::LoadClass( "configuration" );
|
G::LoadClass( "configuration" );
|
||||||
$conf = new Configurations();
|
$conf = new Configurations();
|
||||||
if ( defined('SYS_SYS') && $conf->exists("ENVIRONMENT_SETTINGS")) {
|
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 {
|
} else {
|
||||||
$smarty->assign('udate', G::getformatedDate(date('Y-m-d'), 'M d, yyyy', SYS_LANG));
|
$smarty->assign('udate', G::getformatedDate(date('Y-m-d H:i:s'), 'M d, yyyy', SYS_LANG));
|
||||||
}
|
}
|
||||||
$name = $conf->userNameFormat(isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME']: '', isset($_SESSION['USR_FULLNAME']) ? htmlentities($_SESSION['USR_FULLNAME'] , ENT_QUOTES, 'UTF-8'): '');
|
$name = $conf->userNameFormat(isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME']: '', isset($_SESSION['USR_FULLNAME']) ? htmlentities($_SESSION['USR_FULLNAME'] , ENT_QUOTES, 'UTF-8'): '');
|
||||||
$smarty->assign('user',$name);
|
$smarty->assign('user',$name);
|
||||||
|
|||||||
Reference in New Issue
Block a user