Version19.190.3

This commit is contained in:
acanas 2020-04-19 12:52:21 +02:00
parent 9a5a0955e9
commit a8aec1c1e6
2 changed files with 14 additions and 9 deletions

View File

@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.190.2 (2020-04-18)"
#define Log_PLATFORM_VERSION "SWAD 19.190.3 (2020-04-18)"
#define CSS_FILE "swad19.190.css"
#define JS_FILE "swad19.172.1.js"
/*
@ -549,6 +549,8 @@ Funci
// TODO: Integrar pull requests con traducciones del alemán del usuario eruedin en GitHub
// TODO: Cambiar icono notificaciones nuevas con "bell-on.svg"
Version 19.190.4: Apr 18, 2020 Icons for room types. (? lines)
Version 19.190.3: Apr 18, 2020 Fixed bug in creation of a new room. (288489 lines)
Version 19.190.2: Apr 18, 2020 Fixed bugs in degree photo. (288485 lines)
Version 19.190.1: Apr 18, 2020 Fixed bugs in degree photo, reported by Adrián José Martínez Navarro. (288491 lines)
Version 19.190: Apr 18, 2020 Changes in rooms. (288488 lines)

View File

@ -913,11 +913,11 @@ void Roo_ChangeBuilding (void)
Roo_EditingRoomConstructor ();
/***** Get parameters from form *****/
/* Get the code of the room */
/* Get room code */
if ((Roo_EditingRoom->RooCod = Roo_GetParamRooCod ()) == -1L)
Lay_ShowErrorAndExit ("Code of room is missing.");
/* Get the building of the room */
/* Get room building */
NewBldCod = Bld_GetParamBldCod ();
/***** Get data of the room from database *****/
@ -963,11 +963,11 @@ void Roo_ChangeFloor (void)
Roo_EditingRoomConstructor ();
/***** Get parameters from form *****/
/* Get the code of the room */
/* Get room code */
if ((Roo_EditingRoom->RooCod = Roo_GetParamRooCod ()) == -1L)
Lay_ShowErrorAndExit ("Code of room is missing.");
/* Get the floor of the room */
/* Get room floor */
NewFloor = Roo_GetParamFloor ();
/***** Get data of the room from database *****/
@ -1012,11 +1012,11 @@ void Roo_ChangeType (void)
Roo_EditingRoomConstructor ();
/***** Get parameters from form *****/
/* Get the code of the room */
/* Get room code */
if ((Roo_EditingRoom->RooCod = Roo_GetParamRooCod ()) == -1L)
Lay_ShowErrorAndExit ("Code of room is missing.");
/* Get the type of the room */
/* Get room type */
NewType = Roo_GetParamType ();
/***** Get data of the room from database *****/
@ -1107,7 +1107,7 @@ static void Roo_RenameRoom (Cns_ShrtOrFullName_t ShrtOrFullName)
}
/***** Get parameters from form *****/
/* Get the code of the room */
/* Get room code */
if ((Roo_EditingRoom->RooCod = Roo_GetParamRooCod ()) == -1L)
Lay_ShowErrorAndExit ("Code of room is missing.");
@ -1196,7 +1196,7 @@ void Roo_ChangeCapacity (void)
Roo_EditingRoomConstructor ();
/***** Get parameters from form *****/
/* Get the code of the room */
/* Get room code */
if ((Roo_EditingRoom->RooCod = Roo_GetParamRooCod ()) == -1L)
Lay_ShowErrorAndExit ("Code of room is missing.");
@ -1392,6 +1392,9 @@ void Roo_RecFormNewRoom (void)
/* Get room floor */
Roo_EditingRoom->Floor = Roo_GetParamFloor ();
/* Get room type */
Roo_EditingRoom->Type = Roo_GetParamType ();
/* Get room short name */
Par_GetParToText ("ShortName",Roo_EditingRoom->ShrtName,Roo_MAX_BYTES_SHRT_NAME);