Version 22.107.32:May 09, 2023 Changes in edition of rooms.

This commit is contained in:
acanas 2023-05-09 22:18:19 +02:00
parent 583f12b094
commit de36657627
4 changed files with 91 additions and 106 deletions

View File

@ -629,11 +629,12 @@ TODO: Emilce Barrera Mesa: Podr
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen. TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
*/ */
#define Log_PLATFORM_VERSION "SWAD 22.107.31 (2023-05-09)" #define Log_PLATFORM_VERSION "SWAD 22.107.32 (2023-05-09)"
#define CSS_FILE "swad22.107.17.css" #define CSS_FILE "swad22.107.17.css"
#define JS_FILE "swad22.49.js" #define JS_FILE "swad22.49.js"
/* /*
Version 22.107.31:May 09, 2023 Changes in edition of record fields. (? lines) Version 22.107.32:May 09, 2023 Changes in edition of rooms. (337639 lines)
Version 22.107.31:May 09, 2023 Changes in edition of record fields. (337655 lines)
Version 22.107.30:May 09, 2023 Changes in edition of plugins. (337694 lines) Version 22.107.30:May 09, 2023 Changes in edition of plugins. (337694 lines)
Version 22.107.29:May 09, 2023 Changes in edition of places. (337713 lines) Version 22.107.29:May 09, 2023 Changes in edition of places. (337713 lines)
Version 22.107.28:May 09, 2023 Changes in edition of notices. (337707 lines) Version 22.107.28:May 09, 2023 Changes in edition of notices. (337707 lines)

View File

@ -657,7 +657,7 @@ static void Roo_ListRoomsForEdition (const struct Bld_Buildings *Buildings,
HTM_TD_End (); HTM_TD_End ();
/* Room code */ /* Room code */
HTM_TD_Begin ("class=\"RT DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
HTM_ARTICLE_Begin (Anchor); HTM_ARTICLE_Begin (Anchor);
HTM_Long (Room->RooCod); HTM_Long (Room->RooCod);
HTM_ARTICLE_End (); HTM_ARTICLE_End ();
@ -1210,17 +1210,20 @@ void Roo_ContEditAfterChgRoom (void)
static void Roo_PutFormToCreateRoom (const struct Bld_Buildings *Buildings) static void Roo_PutFormToCreateRoom (const struct Bld_Buildings *Buildings)
{ {
extern const char *Txt_Create_room; extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Create;
char StrCapacity[Cns_MAX_DECIMAL_DIGITS_UINT + 1]; char StrCapacity[Cns_MAX_DECIMAL_DIGITS_UINT + 1];
char MACstr[MAC_LENGTH_MAC_ADDRESS + 1]; // MAC address in xx:xx:xx:xx:xx:xx format char MACstr[MAC_LENGTH_MAC_ADDRESS + 1]; // MAC address in xx:xx:xx:xx:xx:xx format
/***** Begin fieldset *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewRoo]);
/***** Begin form *****/ /***** Begin form *****/
Frm_BeginForm (ActNewRoo); Frm_BeginForm (ActNewRoo);
/***** Begin box and table *****/ /***** Begin table *****/
Box_BoxTableBegin (NULL,NULL, HTM_TABLE_BeginWidePadding (2);
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Write heading *****/ /***** Write heading *****/
Roo_PutHeadRooms (); Roo_PutHeadRooms ();
@ -1293,11 +1296,15 @@ static void Roo_PutFormToCreateRoom (const struct Bld_Buildings *Buildings)
HTM_TR_End (); HTM_TR_End ();
/***** End table, send button and end box *****/ /***** End table and send button *****/
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_room); HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/ /***** End form *****/
Frm_EndForm (); Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -6848,29 +6848,6 @@ const char *Txt_Create_question =
"Create question"; // Çeviri lazim! "Create question"; // Çeviri lazim!
#endif #endif
const char *Txt_Create_room =
#if L==1 // ca
"Crear sala";
#elif L==2 // de
"Raum eingeben";
#elif L==3 // en
"Create room";
#elif L==4 // es
"Crear sala";
#elif L==5 // fr
"Créer salle";
#elif L==6 // gn
"Crear sala"; // Okoteve traducción
#elif L==7 // it
"Crea aula";
#elif L==8 // pl
"Utwórz klasa";
#elif L==9 // pt
"Criar sala";
#elif L==10 // tr
"Create room"; // Çeviri lazim!
#endif
const char *Txt_Create_type_of_degree = const char *Txt_Create_type_of_degree =
#if L==1 // ca #if L==1 // ca
"Crear tipus de titulació"; "Crear tipus de titulació";

View File

@ -4779,25 +4779,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
, ,
[ActNewRoo] = [ActNewRoo] =
#if L==1 // ca #if L==1 // ca
"Request creation of room" // Necessita traducció "Crear sala"
#elif L==2 // de #elif L==2 // de
"Request creation of room" // Need Übersetzung "Raum eingeben"
#elif L==3 // en #elif L==3 // en
"Request creation of room" "Create room"
#elif L==4 // es #elif L==4 // es
"Solicitar creación de sala" "Crear sala"
#elif L==5 // fr #elif L==5 // fr
"Request creation of room" // Besoin de traduction "Créer salle"
#elif L==6 // gn #elif L==6 // gn
"Solicitar creación de sala" // Okoteve traducción "Crear sala" // Okoteve traducción
#elif L==7 // it #elif L==7 // it
"Request creation of room" // Bisogno di traduzione "Crea aula"
#elif L==8 // pl #elif L==8 // pl
"Request creation of room" // Potrzebujesz tlumaczenie "Utwórz klasa"
#elif L==9 // pt #elif L==9 // pt
"Request creation of room" // Precisa de tradução "Criar sala"
#elif L==10 // tr #elif L==10 // tr
"Request creation of room" // Çeviri lazim! "Create room" // Çeviri lazim!
#endif #endif
, ,
[ActRemRoo] = [ActRemRoo] =