Version 22.107.19:May 09, 2023 Changes in edition of institutions.

This commit is contained in:
acanas 2023-05-09 08:51:04 +02:00
parent fd7fcb0ebf
commit 0da61c63a9
4 changed files with 92 additions and 103 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.
*/
#define Log_PLATFORM_VERSION "SWAD 22.107.18 (2023-05-09)"
#define Log_PLATFORM_VERSION "SWAD 22.107.19 (2023-05-09)"
#define CSS_FILE "swad22.107.17.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.107.19:May 09, 2023 Changes in edition of institutions. (337858 lines)
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.16:May 08, 2023 Changes in edition of banners. (337899 lines)

View File

@ -1365,20 +1365,27 @@ static void Ins_ShowAlertAndButtonToGoToIns (void)
static void Ins_PutFormToCreateInstitution (void)
{
extern const char *Txt_Create_institution;
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Create;
Act_Action_t NextAction = ActUnk;
/***** Begin form *****/
/***** Set action depending on role *****/
if (Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM)
Frm_BeginForm (ActNewIns);
NextAction = ActNewIns;
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
Frm_BeginForm (ActReqIns);
NextAction = ActReqIns;
else
Err_NoPermissionExit ();
/***** Begin box and table *****/
Box_BoxTableBegin (NULL,NULL,
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Begin fieldset *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[NextAction]);
/***** Begin form *****/
Frm_BeginForm (NextAction);
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
/***** Write heading *****/
Ins_PutHeadInstitutionsForEdition ();
@ -1451,11 +1458,15 @@ static void Ins_PutFormToCreateInstitution (void)
HTM_TR_End ();
/***** End table, send button and end box *****/
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_institution);
/***** End table and send button *****/
HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
}
/*****************************************************************************/

View File

@ -6894,29 +6894,6 @@ const char *Txt_Create_holiday =
"Tatil oluştur";
#endif
const char *Txt_Create_institution =
#if L==1 // ca
"Crear institució";
#elif L==2 // de
"Hochschule eingeben";
#elif L==3 // en
"Create institution";
#elif L==4 // es
"Crear institución";
#elif L==5 // fr
"Créer établissement";
#elif L==6 // gn
"Crear institución"; // Okoteve traducción
#elif L==7 // it
"Crea istituzione";
#elif L==8 // pl
"Utwórz instytucji";
#elif L==9 // pt
"Criar institução";
#elif L==10 // tr
"Create institution"; // Çeviri lazim!
#endif
const char *Txt_Create_item =
#if L==1 // ca
"Crear ítem";

View File

@ -2753,25 +2753,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewIns] =
#if L==1 // ca
"Create an institution" // Necessita traducció
"Crear institució"
#elif L==2 // de
"Create an institution" // Need Übersetzung
"Hochschule eingeben"
#elif L==3 // en
"Create an institution"
"Create institution"
#elif L==4 // es
"Crear una institución"
"Crear institución"
#elif L==5 // fr
"Create an institution" // Besoin de traduction
"Créer établissement"
#elif L==6 // gn
"Crear una institución" // Okoteve traducción
"Crear institución" // Okoteve traducción
#elif L==7 // it
"Create an institution" // Bisogno di traduzione
"Crea istituzione"
#elif L==8 // pl
"Create an institution" // Potrzebujesz tlumaczenie
"Utwórz instytucji"
#elif L==9 // pt
"Create an institution" // Precisa de tradução
"Criar institução"
#elif L==10 // tr
"Create an institution" // Çeviri lazim!
"Create institution" // Çeviri lazim!
#endif
,
[ActRemIns] =