diff --git a/swad_changelog.h b/swad_changelog.h index f2057713c..7375a8d65 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -172,13 +172,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.70.3 (2016-11-24)" +#define Log_PLATFORM_VERSION "SWAD 16.70.4 (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.4: Nov 24, 2016 Changes in layout of students' list. (? lines) Version 16.70.3: Nov 24, 2016 Changes in layout of selection of students to view homework. (207547 lines) 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) diff --git a/swad_user.c b/swad_user.c index 84aa274ad..04e185c72 100644 --- a/swad_user.c +++ b/swad_user.c @@ -6889,6 +6889,10 @@ void Usr_SeeStudents (void) Gbl.Usrs.Me.LoggedRole == Rol_DEG_ADM || Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM)); + /***** Start frame *****/ + Lay_StartRoundFrame (NULL,Txt_ROLES_PLURAL_Abc[Rol_STUDENT][Usr_SEX_UNKNOWN], + Usr_PutIconsListStds,Hlp_USERS_Students); + /***** Form to select groups *****/ if (Gbl.Scope.Current == Sco_SCOPE_CRS) Grp_ShowFormToSelectSeveralGroups (ActLstStd); @@ -6901,10 +6905,6 @@ void Usr_SeeStudents (void) /***** Get list of selected users *****/ Usr_GetListsSelectedUsrsCods (); - /***** Start frame *****/ - Lay_StartRoundFrame (NULL,Txt_ROLES_PLURAL_Abc[Rol_STUDENT][Usr_SEX_UNKNOWN], - Usr_PutIconsListStds,Hlp_USERS_Students); - /***** Form to select range of students *****/ switch (Gbl.Usrs.Me.LoggedRole) { @@ -6993,11 +6993,11 @@ void Usr_SeeStudents (void) Gbl.Usrs.Me.UsrDat.RoleInCurrentCrsDB == Rol_TEACHER) // I am a teacher in current course Enr_PutButtonToEnrollStudents (); } - - /***** End frame *****/ - Lay_EndRoundFrame (); } + /***** End frame *****/ + Lay_EndRoundFrame (); + /***** Free memory for students list *****/ Usr_FreeUsrsList (Rol_STUDENT);