Version 22.107.29:May 09, 2023 Changes in edition of places.

This commit is contained in:
acanas 2023-05-09 18:28:04 +02:00
parent 778289e8a6
commit 9fc03f583e
2 changed files with 50 additions and 42 deletions

View File

@ -629,10 +629,11 @@ 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.28 (2023-05-09)" #define Log_PLATFORM_VERSION "SWAD 22.107.29 (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.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)
Version 22.107.27:May 09, 2023 Changes in edition of links. (337750 lines) Version 22.107.27:May 09, 2023 Changes in edition of links. (337750 lines)
Version 22.107.26:May 09, 2023 Changes in edition of holidays. (337740 lines) Version 22.107.26:May 09, 2023 Changes in edition of holidays. (337740 lines)

View File

@ -471,7 +471,7 @@ static void Plc_ListPlacesForEdition (const struct Plc_Places *Places)
HTM_TD_End (); HTM_TD_End ();
/* Place code */ /* Place code */
HTM_TD_Begin ("class=\"RM DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
HTM_Long (Plc->PlcCod); HTM_Long (Plc->PlcCod);
HTM_TD_End (); HTM_TD_End ();
@ -676,59 +676,66 @@ void Plc_ContEditAfterChgPlc (void)
static void Plc_PutFormToCreatePlace (void) static void Plc_PutFormToCreatePlace (void)
{ {
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Create; extern const char *Txt_Create;
/***** Begin form *****/ /***** Begin fieldset *****/
Frm_BeginForm (ActNewPlc); HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewPlc]);
/***** Begin box and table *****/ /***** Begin form *****/
Box_BoxTableBegin (NULL,NULL, Frm_BeginForm (ActNewPlc);
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Write heading *****/ /***** Begin table *****/
Plc_PutHeadPlaces (); HTM_TABLE_BeginWidePadding (2);
HTM_TR_Begin (NULL); /***** Write heading *****/
Plc_PutHeadPlaces ();
/***** Column to remove place, disabled here *****/ HTM_TR_Begin (NULL);
HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End ();
/***** Place code *****/ /***** Column to remove place, disabled here *****/
HTM_TD_Begin ("class=\"CODE\""); HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End (); HTM_TD_End ();
/***** Place short name *****/ /***** Place code *****/
HTM_TD_Begin ("class=\"CM\""); HTM_TD_Begin ("class=\"CODE\"");
HTM_INPUT_TEXT ("ShortName",Plc_MAX_CHARS_PLACE_SHRT_NAME,Plc_EditingPlc->ShrtName, HTM_TD_End ();
HTM_DONT_SUBMIT_ON_CHANGE,
"class=\"INPUT_SHORT_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
/***** Place full name *****/ /***** Place short name *****/
HTM_TD_Begin ("class=\"CM\""); HTM_TD_Begin ("class=\"CM\"");
HTM_INPUT_TEXT ("FullName",Plc_MAX_CHARS_PLACE_FULL_NAME,Plc_EditingPlc->FullName, HTM_INPUT_TEXT ("ShortName",Plc_MAX_CHARS_PLACE_SHRT_NAME,Plc_EditingPlc->ShrtName,
HTM_DONT_SUBMIT_ON_CHANGE, HTM_DONT_SUBMIT_ON_CHANGE,
"class=\"INPUT_FULL_NAME INPUT_%s\"" "class=\"INPUT_SHORT_NAME INPUT_%s\""
" required=\"required\"", " required=\"required\"",
The_GetSuffix ()); The_GetSuffix ());
HTM_TD_End (); HTM_TD_End ();
/***** Number of centers *****/ /***** Place full name *****/
HTM_TD_Begin ("class=\"RM DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"CM\"");
HTM_Unsigned (0); HTM_INPUT_TEXT ("FullName",Plc_MAX_CHARS_PLACE_FULL_NAME,Plc_EditingPlc->FullName,
HTM_TD_End (); HTM_DONT_SUBMIT_ON_CHANGE,
"class=\"INPUT_FULL_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
HTM_TR_End (); /***** Number of centers *****/
HTM_TD_Begin ("class=\"RM DAT_%s\"",The_GetSuffix ());
HTM_Unsigned (0);
HTM_TD_End ();
/***** End table, send button and end box *****/ HTM_TR_End ();
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/ /***** End table and send button *****/
Frm_EndForm (); HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
} }
/*****************************************************************************/ /*****************************************************************************/