Version 22.107.18:May 09, 2023 Changes in edition of centers.

This commit is contained in:
acanas 2023-05-09 08:46:04 +02:00
parent 41a82f1b40
commit fd7fcb0ebf
5 changed files with 112 additions and 123 deletions

View File

@ -3067,7 +3067,7 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
/***************** Text decoration of fieldset and legend ********************/ /***************** Text decoration of fieldset and legend ********************/
fieldset fieldset
{ {
margin:2px 0; margin:2px 0 4px 0;
padding:2px; padding:2px;
border-style:solid; border-style:solid;
border-width:1px; border-width:1px;

View File

@ -1237,23 +1237,30 @@ static void Ctr_ShowAlertAndButtonToGoToCtr (void)
static void Ctr_PutFormToCreateCenter (const struct Plc_Places *Places) static void Ctr_PutFormToCreateCenter (const struct Plc_Places *Places)
{ {
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Another_place; extern const char *Txt_Another_place;
extern const char *Txt_Create_center; extern const char *Txt_Create;
Act_Action_t NextAction = ActUnk;
unsigned NumPlc; unsigned NumPlc;
const struct Plc_Place *PlcInLst; const struct Plc_Place *PlcInLst;
/***** Begin form *****/ /***** Set action depending on role *****/
if (Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM) if (Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM)
Frm_BeginForm (ActNewCtr); NextAction = ActNewCtr;
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST) else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
Frm_BeginForm (ActReqCtr); NextAction = ActReqCtr;
else else
Err_NoPermissionExit (); Err_NoPermissionExit ();
/***** Begin box and table *****/ /***** Begin fieldset *****/
Box_BoxTableBegin (NULL,NULL, HTM_FIELDSET_Begin (NULL);
NULL,NULL, HTM_LEGEND (Txt_Actions[NextAction]);
NULL,Box_NOT_CLOSABLE,2);
/***** Begin form *****/
Frm_BeginForm (NextAction);
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
/***** Write heading *****/ /***** Write heading *****/
Ctr_PutHeadCentersForEdition (); Ctr_PutHeadCentersForEdition ();
@ -1348,11 +1355,15 @@ static void Ctr_PutFormToCreateCenter (const struct Plc_Places *Places)
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_center); 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

@ -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.17 (2023-05-09)" #define Log_PLATFORM_VERSION "SWAD 22.107.18 (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.18:May 09, 2023 Changes in edition of centers. (337871 lines)
Version 22.107.17:May 09, 2023 Changes in edition of buildings. (337884 lines) Version 22.107.17:May 09, 2023 Changes in edition of buildings. (337884 lines)
Version 22.107.16:May 08, 2023 Changes in edition of banners. (337899 lines) Version 22.107.16:May 08, 2023 Changes in edition of banners. (337899 lines)
Version 22.107.15:May 08, 2023 Changes in edition of assignments. (337915 lines) Version 22.107.15:May 08, 2023 Changes in edition of assignments. (337915 lines)

View File

@ -6618,29 +6618,6 @@ const char *Txt_Create_another_type_of_degree =
"Create another type of degree"; // Çeviri lazim! "Create another type of degree"; // Çeviri lazim!
#endif #endif
const char *Txt_Create_center =
#if L==1 // ca
"Crear center";
#elif L==2 // de
"Lehrinstitut eingeben";
#elif L==3 // en
"Create center";
#elif L==4 // es
"Crear centro";
#elif L==5 // fr
"Créer center";
#elif L==6 // gn
"Crear centro"; // Okoteve traducción
#elif L==7 // it
"Crea centro";
#elif L==8 // pl
"Utwórz centrum";
#elif L==9 // pt
"Criar centro";
#elif L==10 // tr
"Create center"; // Çeviri lazim!
#endif
const char *Txt_Create_country = const char *Txt_Create_country =
#if L==1 // ca #if L==1 // ca
"Crear país"; "Crear país";

View File

@ -3236,23 +3236,23 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
, ,
[ActNewCtr] = [ActNewCtr] =
#if L==1 // ca #if L==1 // ca
"Create center" // Necessita traducció "Crear center"
#elif L==2 // de #elif L==2 // de
"Create center" // Need Übersetzung "Lehrinstitut eingeben"
#elif L==3 // en #elif L==3 // en
"Create center" "Create center"
#elif L==4 // es #elif L==4 // es
"Crear centro" "Crear centro"
#elif L==5 // fr #elif L==5 // fr
"Create center" // Besoin de traduction "Créer center"
#elif L==6 // gn #elif L==6 // gn
"Crear centro" // Okoteve traducción "Crear centro" // Okoteve traducción
#elif L==7 // it #elif L==7 // it
"Create center" // Bisogno di traduzione "Crea centro"
#elif L==8 // pl #elif L==8 // pl
"Create center" // Potrzebujesz tlumaczenie "Utwórz centrum"
#elif L==9 // pt #elif L==9 // pt
"Create center" // Precisa de tradução "Criar centro"
#elif L==10 // tr #elif L==10 // tr
"Create center" // Çeviri lazim! "Create center" // Çeviri lazim!
#endif #endif