Version 22.107.34:May 10, 2023 Changes in edition of groups.

This commit is contained in:
acanas 2023-05-10 00:30:24 +02:00
parent 8e7541d531
commit 065b45c057
4 changed files with 236 additions and 286 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.33 (2023-05-09)"
#define Log_PLATFORM_VERSION "SWAD 22.107.34 (2023-05-10)"
#define CSS_FILE "swad22.107.17.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.107.34:May 10, 2023 Changes in edition of groups. (337543 lines)
Version 22.107.33:May 09, 2023 Changes in edition of degree types. (337591 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)

View File

@ -101,7 +101,6 @@ static void Grp_ReqEditGroupsInternal2 (Ale_AlertType_t AlertTypeGroups,
static void Grp_EditGroupTypes (void);
static void Grp_EditGroups (const struct Roo_Rooms *Rooms);
static void Grp_PutIconsEditingGroups (__attribute__((unused)) void *Args);
static void Grp_PutIconToCreateNewGroup (void);
static void Grp_PutCheckboxAllGrps (Grp_WhichGroups_t GroupsSelectableByStdsOrNETs);
@ -112,7 +111,6 @@ static void Grp_RemoveUsrFromGroup (long UsrCod,long GrpCod);
static void Grp_ListGroupTypesForEdition (void);
static void Grp_PutIconsEditingGroupTypes (__attribute__((unused)) void *Args);
static void Grp_PutIconToViewGroups (void);
static void Grp_PutIconToCreateNewGroupType (void);
static void Grp_WriteHeadingGroupTypes (void);
static void Grp_ListGroupsForEdition (const struct Roo_Rooms *Rooms);
@ -335,14 +333,6 @@ static void Grp_PutIconsEditingGroups (__attribute__((unused)) void *Args)
{
/***** Put icon to view groups *****/
Grp_PutIconToViewGroups ();
/***** Put icon to create a new group *****/
Grp_PutIconToCreateNewGroup ();
}
static void Grp_PutIconToCreateNewGroup (void)
{
Ico_PutContextualIconToAdd (ActReqEdiGrp,Grp_NEW_GROUP_SECTION_ID,NULL,NULL);
}
/*****************************************************************************/
@ -1350,9 +1340,6 @@ static void Grp_PutIconsEditingGroupTypes (__attribute__((unused)) void *Args)
{
/***** Put icon to view groups *****/
Grp_PutIconToViewGroups ();
/***** Put icon to create a new type of group *****/
Grp_PutIconToCreateNewGroupType ();
}
static void Grp_PutIconToViewGroups (void)
@ -1361,12 +1348,6 @@ static void Grp_PutIconToViewGroups (void)
NULL,NULL);
}
static void Grp_PutIconToCreateNewGroupType (void)
{
Ico_PutContextualIconToAdd (ActReqEdiGrp,Grp_NEW_GROUP_TYPE_SECTION_ID,
NULL,NULL);
}
/*****************************************************************************/
/*********************** Write heading of group types ************************/
/*****************************************************************************/
@ -2392,6 +2373,7 @@ static void Grp_WriteRowGrp (struct Group *Grp,bool Highlight)
static void Grp_PutFormToCreateGroupType (void)
{
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Type_of_group;
extern const char *Txt_It_is_optional_to_choose_a_group;
extern const char *Txt_It_is_mandatory_to_choose_a_group;
@ -2399,19 +2381,21 @@ static void Grp_PutFormToCreateGroupType (void)
extern const char *Txt_A_student_can_only_belong_to_one_group;
extern const char *Txt_The_groups_will_automatically_open;
extern const char *Txt_The_groups_will_not_automatically_open;
extern const char *Txt_Create_type_of_group;
extern const char *Txt_Create;
unsigned CurrentYear = Dat_GetCurrentYear ();
/***** Begin section *****/
HTM_SECTION_Begin (Grp_NEW_GROUP_TYPE_SECTION_ID);
/***** Begin form *****/
Frm_BeginFormAnchor (ActNewGrpTyp,Grp_GROUP_TYPES_SECTION_ID);
/***** Begin fieldset *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewGrpTyp]);
/***** Begin box *****/
Box_BoxTableBegin (NULL,Txt_Type_of_group,
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Begin form *****/
Frm_BeginFormAnchor (ActNewGrpTyp,Grp_NEW_GROUP_TYPE_SECTION_ID);
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
/***** Write heading *****/
Grp_WriteHeadingGroupTypes ();
@ -2502,12 +2486,16 @@ static void Grp_PutFormToCreateGroupType (void)
HTM_TR_End ();
/***** End table, send button and end box *****/
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_type_of_group);
/***** End table and send button *****/
HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
/***** End section *****/
HTM_SECTION_End ();
}
@ -2518,12 +2506,13 @@ static void Grp_PutFormToCreateGroupType (void)
static void Grp_PutFormToCreateGroup (const struct Roo_Rooms *Rooms)
{
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Group;
extern const char *Txt_Group_closed;
extern const char *Txt_File_zones_disabled;
extern const char *Txt_No_assigned_room;
extern const char *Txt_Another_room;
extern const char *Txt_Create_group;
extern const char *Txt_Create;
unsigned NumGrpTyp;
const struct GroupType *GrpTypInLst;
unsigned NumRoo;
@ -2534,13 +2523,15 @@ static void Grp_PutFormToCreateGroup (const struct Roo_Rooms *Rooms)
/***** Begin section *****/
HTM_SECTION_Begin (Grp_NEW_GROUP_SECTION_ID);
/***** Begin fieldset *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewGrp]);
/***** Begin form *****/
Frm_BeginFormAnchor (ActNewGrp,Grp_GROUPS_SECTION_ID);
/***** Begin box and table *****/
Box_BoxTableBegin (NULL,Txt_Group,
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
/***** Write heading *****/
Grp_WriteHeadingGroups ();
@ -2652,12 +2643,16 @@ static void Grp_PutFormToCreateGroup (const struct Roo_Rooms *Rooms)
HTM_TR_End ();
/***** End table, send button and end box *****/
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_group);
/***** End table and send button *****/
HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
/***** End section *****/
HTM_SECTION_End ();
}

View File

@ -6687,29 +6687,6 @@ const char *Txt_Create_folder =
"Create folder"; // Çeviri lazim!
#endif
const char *Txt_Create_group =
#if L==1 // ca
"Crear grup";
#elif L==2 // de
"Gruppe erstellen";
#elif L==3 // en
"Create group";
#elif L==4 // es
"Crear grupo";
#elif L==5 // fr
"Créer groupe";
#elif L==6 // gn
"Crear grupo"; // Okoteve traducción
#elif L==7 // it
"Crea gruppo";
#elif L==8 // pl
"Utwórz grupę";
#elif L==9 // pt
"Criar grupo";
#elif L==10 // tr
"Create group"; // Çeviri lazim!
#endif
const char *Txt_Create_item =
#if L==1 // ca
"Crear ítem";
@ -6825,29 +6802,6 @@ const char *Txt_Create_question =
"Create question"; // Çeviri lazim!
#endif
const char *Txt_Create_type_of_group =
#if L==1 // ca
"Crear tipus de grup";
#elif L==2 // de
"Gruppen-Typ definieren";
#elif L==3 // en
"Create type of group";
#elif L==4 // es
"Crear tipo de grupo";
#elif L==5 // fr
"Créer type de groupe";
#elif L==6 // gn
"Crear tipo de grupo"; // Okoteve traducción
#elif L==7 // it
"Crea tipo di gruppo";
#elif L==8 // pl
"Utwórz typu grupy";
#elif L==9 // pt
"Criar tipo de grupo";
#elif L==10 // tr
"Create type of group"; // Çeviri lazim!
#endif
const char *Txt_Create_ZIP_file =
#if L==1 // ca
"Crear arxiu ZIP";

View File

@ -24766,25 +24766,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewGrpTyp] =
#if L==1 // ca
"Request creation of a type of group" // Necessita traducció
"Crear tipus de grup"
#elif L==2 // de
"Request creation of a type of group" // Need Übersetzung
"Gruppen-Typ definieren"
#elif L==3 // en
"Request creation of a type of group"
"Create type of group"
#elif L==4 // es
"Solicitar creación de un tipo de grupo"
"Crear tipo de grupo"
#elif L==5 // fr
"Request creation of a type of group" // Besoin de traduction
"Créer type de groupe"
#elif L==6 // gn
"Solicitar creación de un tipo de grupo" // Okoteve traducción
"Crear tipo de grupo" // Okoteve traducción
#elif L==7 // it
"Request creation of a type of group" // Bisogno di traduzione
"Crea tipo di gruppo"
#elif L==8 // pl
"Request creation of a type of group" // Potrzebujesz tlumaczenie
"Utwórz typu grupy"
#elif L==9 // pt
"Request creation of a type of group" // Precisa de tradução
"Criar tipo de grupo"
#elif L==10 // tr
"Request creation of a type of group" // Çeviri lazim!
"Create type of group" // Çeviri lazim!
#endif
,
[ActReqRemGrpTyp] =
@ -24927,23 +24927,23 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewGrp] =
#if L==1 // ca
"Create group" // Necessita traducció
"Crear grup"
#elif L==2 // de
"Create group" // Need Übersetzung
"Gruppe erstellen"
#elif L==3 // en
"Create group"
#elif L==4 // es
"Crear grupo"
#elif L==5 // fr
"Create group" // Besoin de traduction
"Créer groupe"
#elif L==6 // gn
"Crear grupo" // Okoteve traducción
#elif L==7 // it
"Create group" // Bisogno di traduzione
"Crea gruppo"
#elif L==8 // pl
"Create group" // Potrzebujesz tlumaczenie
"Utwórz grupę"
#elif L==9 // pt
"Create group" // Precisa de tradução
"Criar grupo"
#elif L==10 // tr
"Create group" // Çeviri lazim!
#endif