From b519a97703c81a8bbae4a302b6e5e780fa732fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 31 Jan 2017 09:42:54 +0100 Subject: [PATCH] Version 16.132.8 --- swad_changelog.h | 3 ++- swad_enrollment.c | 4 +++- swad_help.c | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index ef0f19334..19fbc6ec8 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -191,13 +191,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.132.7 (2017-01-31)" +#define Log_PLATFORM_VERSION "SWAD 16.132.8 (2017-01-31)" #define CSS_FILE "swad16.132.4.css" #define JS_FILE "swad16.123.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.132.8: Jan 31, 2017 Help on remove all students in a course. (211884 lines) Version 16.132.7: Jan 31, 2017 Changes in layout of removal of all students in a course. (211880 lines) Version 16.132.6: Jan 31, 2017 Help on administration of students. (211895 lines) Version 16.132.5: Jan 30, 2017 Fixed bug in checking consent on dangerous action. (211888 lines) diff --git a/swad_enrollment.c b/swad_enrollment.c index 64e9293a3..272462e6b 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -1720,13 +1720,15 @@ static void Enr_PutLinkToRemAllStdsThisCrs (void) void Enr_AskRemAllStdsThisCrs (void) { + extern const char *Hlp_USERS_Administration_remove_all_students; extern const char *Txt_Remove_all_students; extern const char *Txt_Do_you_really_want_to_remove_the_X_students_from_the_course_Y_; extern const char *Txt_No_users_found[Rol_NUM_ROLES]; unsigned NumStds; /***** Start frame *****/ - Lay_StartRoundFrame (NULL,Txt_Remove_all_students,NULL,NULL); + Lay_StartRoundFrame (NULL,Txt_Remove_all_students,NULL, + Hlp_USERS_Administration_remove_all_students); if ((NumStds = Usr_GetNumUsrsInCrs (Rol_STUDENT,Gbl.CurrentCrs.Crs.CrsCod))) { diff --git a/swad_help.c b/swad_help.c index 14f2f2c62..95c2ccfd1 100644 --- a/swad_help.c +++ b/swad_help.c @@ -160,6 +160,7 @@ const char *Hlp_USERS_Students_course_record_card = WIKI "USERS.Students#course- const char *Hlp_USERS_Administration_administer_one_user = WIKI "USERS.Administration#administer-one-user"; const char *Hlp_USERS_Administration_administer_multiple_users = WIKI "USERS.Administration#administer-multiple-users"; +const char *Hlp_USERS_Administration_remove_all_students = WIKI "USERS.Administration#remove-all-students"; const char *Hlp_USERS_Teachers = WIKI "USERS.Teachers"; const char *Hlp_USERS_Teachers_shared_record_card = WIKI "USERS.Teachers#shared-record-card";