From 268d9b70cd7d28cb5ddaefd89a7f6ce45fc8b3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 18 Oct 2018 11:29:02 +0200 Subject: [PATCH] Version 18.7.2 --- swad_attendance.c | 10 +++++++++- swad_changelog.h | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/swad_attendance.c b/swad_attendance.c index b65f9cdd4..8c7297c73 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -53,6 +53,8 @@ extern struct Globals Gbl; /****************************** Private constants ****************************/ /*****************************************************************************/ +#define Att_ATTENDANCE_TABLE_ID "att_table" + /*****************************************************************************/ /******************************** Private types ******************************/ /*****************************************************************************/ @@ -3171,7 +3173,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView) depending on the events selected *****/ if (NormalView) { - Act_StartForm (Gbl.Action.Act); + Act_StartFormAnchor (Gbl.Action.Act,Att_ATTENDANCE_TABLE_ID); Grp_PutParamsCodGrps (); Usr_PutHiddenParUsrCodAll (Gbl.Action.Act,Gbl.Usrs.Select[Rol_UNK]); } @@ -3300,6 +3302,9 @@ static void Att_ListStdsAttendanceTable (Att_TypeOfView_t TypeOfView, /***** Initialize structure with user's data *****/ Usr_UsrDataConstructor (&UsrDat); + /***** Start section with attendance table *****/ + Lay_StartSection (Att_ATTENDANCE_TABLE_ID); + /***** Start table *****/ Tbl_StartTableCenter (2); @@ -3355,6 +3360,9 @@ static void Att_ListStdsAttendanceTable (Att_TypeOfView_t TypeOfView, if (PutButtonShowDetails) Att_PutButtonToShowDetails (); + /***** End section with attendance table *****/ + Lay_EndSection (); + /***** Free memory used for user's data *****/ Usr_UsrDataDestructor (&UsrDat); } diff --git a/swad_changelog.h b/swad_changelog.h index 04f4f02d8..9bbbd806c 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -355,10 +355,11 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.7.1 (2018-10-18)" +#define Log_PLATFORM_VERSION "SWAD 18.7.2 (2018-10-18)" #define CSS_FILE "swad18.4.css" #define JS_FILE "swad17.17.1.js" /* + Version 18.7.2: Oct 18, 2018 Changes in layout of list of attendance. (236602 lines) Version 18.7.1: Oct 18, 2018 Changes in layout of list of attendance. (236596 lines) Version 18.7: Oct 18, 2018 Changes in layout of list of attendance. (236570 lines) Version 18.6.7: Oct 18, 2018 Changes related to QR codes. (236556 lines)