Version 23.9.4: Sep 19, 2023 Code refactoring in calls for exams.

This commit is contained in:
acanas 2023-09-19 18:59:15 +02:00
parent e88df0719f
commit 3787dea60a
2 changed files with 6 additions and 10 deletions

View File

@ -877,7 +877,6 @@ static void Cfe_ShowCallForExam (struct Cfe_CallsForExams *CallsForExams,
extern const char *Txt_minute;
extern const char *Txt_minutes;
extern const char *Txt_Publish_call_FOR_EXAM;
struct Hie_Node Ins;
char StrExamDate[Cns_MAX_BYTES_DATE + 1];
unsigned CurrentYear = Dat_GetCurrentYear ();
unsigned Year;
@ -902,10 +901,6 @@ static void Cfe_ShowCallForExam (struct Cfe_CallsForExams *CallsForExams,
[Cfe_FORM_VIEW ][Cfe_DELETED_CALL_FOR_EXAM] = NULL, // Not applicable here
};
/***** Get data of institution of this degree *****/
Ins.Cod = Gbl.Hierarchy.Node[HieLvl_INS].Cod;
Ins_GetInstitDataByCod (&Ins);
/***** Build anchor string *****/
Frm_SetAnchorStr (ExaCod,&Anchor);
@ -955,13 +950,13 @@ static void Cfe_ShowCallForExam (struct Cfe_CallsForExams *CallsForExams,
The_GetSuffix ());
if (TypeViewCallForExam == Cfe_NORMAL_VIEW)
HTM_A_Begin ("href=\"%s\" target=\"_blank\" class=\"EXAM_TIT_%s\"",
Ins.WWW,The_GetSuffix ());
Gbl.Hierarchy.Node[HieLvl_INS].WWW,The_GetSuffix ());
Lgo_DrawLogo (HieLvl_INS,
Ins.Cod,
Ins.FullName,
Gbl.Hierarchy.Node[HieLvl_INS].Cod,
Gbl.Hierarchy.Node[HieLvl_INS].FullName,
64,NULL);
HTM_BR ();
HTM_Txt (Ins.FullName);
HTM_Txt (Gbl.Hierarchy.Node[HieLvl_INS].FullName);
if (TypeViewCallForExam == Cfe_NORMAL_VIEW)
HTM_A_End ();
HTM_TD_End ();

View File

@ -632,10 +632,11 @@ TODO: Francisco Javier Fern
Me sale este error, no si por no recordar yo la sintaxis apropiada para mandar a varios destinatarios. ¿No era así?
"can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod')
*/
#define Log_PLATFORM_VERSION "SWAD 23.9.3 (2023-09-19)"
#define Log_PLATFORM_VERSION "SWAD 23.9.4 (2023-09-19)"
#define CSS_FILE "swad22.120.4.css"
#define JS_FILE "swad22.49.js"
/*
Version 23.9.4: Sep 19, 2023 Code refactoring in calls for exams. (337504 lines)
Version 23.9.3: Sep 19, 2023 Changes and code refactoring related to class photo. (337507 lines)
Version 23.9.2: Sep 19, 2023 Code refactoring in hierarchy. (337600 lines)
Version 23.9.1: Sep 19, 2023 Code refactoring in hierarchy and admins. (337521 lines)