Version 16.70.2

This commit is contained in:
Antonio Cañas Vargas 2016-11-24 21:02:04 +01:00
parent d80f6ae343
commit 5b013aa52c
2 changed files with 12 additions and 11 deletions

View File

@ -172,13 +172,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.70.1 (2016-11-24)"
#define Log_PLATFORM_VERSION "SWAD 16.70.2 (2016-11-24)"
#define CSS_FILE "swad16.69.css"
#define JS_FILE "swad16.46.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.70.2: Nov 24, 2016 Changes in layout of course stats. (207546 lines)
Version 16.70.1: Nov 24, 2016 Fixed minor bug in titles of frames. (207545 lines)
Version 16.70: Nov 24, 2016 Changes in permissions to view test results. (207545 lines)
Version 16.69.1: Nov 24, 2016 Contextual help on messages. (207484 lines)

View File

@ -419,6 +419,11 @@ void Sta_AskShowCrsHits (void)
and preference about view photos *****/
Usr_GetAndUpdatePrefsAboutUsrList ();
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Statistics_of_visits_to_the_course_X,
Gbl.CurrentCrs.Crs.ShrtName);
Lay_StartRoundFrame (NULL,Gbl.Title,NULL,NULL);
/***** Show form to select the grupos *****/
Grp_ShowFormToSelectSeveralGroups (ActReqAccCrs);
@ -435,11 +440,6 @@ void Sta_AskShowCrsHits (void)
/***** Get lists of selected users *****/
Usr_GetListsSelectedUsrsCods ();
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Statistics_of_visits_to_the_course_X,
Gbl.CurrentCrs.Crs.ShrtName);
Lay_StartRoundFrame (NULL,Gbl.Title,NULL,NULL);
/***** Form to select type of list used for select several users *****/
Usr_ShowFormsToSelectUsrListType (ActReqAccCrs);
@ -549,9 +549,6 @@ void Sta_AskShowCrsHits (void)
/***** End form *****/
Act_FormEnd ();
/***** End frame *****/
Lay_EndRoundFrame ();
/* Free memory used by list of selected users' codes */
Usr_FreeListsSelectedUsrsCods ();
}
@ -559,11 +556,14 @@ void Sta_AskShowCrsHits (void)
else // No teachers nor students found
Lay_ShowAlert (Lay_WARNING,Txt_No_teachers_or_students_found);
/* Free memory used by the lists */
/***** End frame *****/
Lay_EndRoundFrame ();
/***** Free memory used by the lists *****/
Usr_FreeUsrsList (Rol_TEACHER);
Usr_FreeUsrsList (Rol_STUDENT);
/* Free memory for list of selected groups */
/***** Free memory for list of selected groups *****/
Grp_FreeListCodSelectedGrps ();
}