mirror of https://github.com/acanas/swad-core.git
Version 16.194.3
This commit is contained in:
parent
dc577e7fca
commit
ef623ac8e3
|
@ -221,13 +221,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.194.2 (2017-04-28)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.194.3 (2017-04-28)"
|
||||
#define CSS_FILE "swad16.193.4.css"
|
||||
#define JS_FILE "swad16.181.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.194.3: Apr 28, 2017 Changed dialog to remove all students in course. (218340 lines)
|
||||
Version 16.194.2: Apr 28, 2017 Changed dialog to reject user's enrolment request. (218336 lines)
|
||||
Version 16.194.1: Apr 28, 2017 Changed dialog to register user as administrator. (218335 lines)
|
||||
Version 16.194: Apr 28, 2017 Fixed bugs in filtering sent and received messages. (218332 lines)
|
||||
|
|
|
@ -1759,17 +1759,21 @@ void Enr_AskRemAllStdsThisCrs (void)
|
|||
|
||||
if ((NumStds = Usr_GetNumUsrsInCrs (Rol_STUDENT,Gbl.CurrentCrs.Crs.CrsCod)))
|
||||
{
|
||||
/***** Write message to confirm the removing *****/
|
||||
/***** Show question and button to remove students *****/
|
||||
/* Start alert */
|
||||
sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_X_students_from_the_course_Y_,
|
||||
NumStds,Gbl.CurrentCrs.Crs.FullName);
|
||||
Lay_ShowAlert (Lay_WARNING,Gbl.Message);
|
||||
Lay_ShowAlertAndButton1 (Lay_QUESTION,Gbl.Message);
|
||||
|
||||
/***** Form to remove all the students in current course *****/
|
||||
/* Show form to request confirmation */
|
||||
Act_FormStart (ActRemAllStdCrs);
|
||||
Grp_PutParamAllGroups ();
|
||||
Pwd_AskForConfirmationOnDangerousAction ();
|
||||
Lay_PutRemoveButton (Txt_Remove_all_students);
|
||||
Act_FormEnd ();
|
||||
|
||||
/* End alert */
|
||||
Lay_ShowAlertAndButton2 (ActUnk,NULL,Lay_NO_BUTTON,NULL);
|
||||
}
|
||||
else
|
||||
/***** Show warning indicating no students found *****/
|
||||
|
|
Loading…
Reference in New Issue