Version 16.194.18

This commit is contained in:
Antonio Cañas Vargas 2017-04-28 14:05:30 +02:00
parent 9b02f634ba
commit 6445ed8577
2 changed files with 8 additions and 8 deletions

View File

@ -221,13 +221,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.194.17 (2017-04-28)"
#define Log_PLATFORM_VERSION "SWAD 16.194.18 (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.18:Apr 28, 2017 Changed dialog to remove a survey. (218388 lines)
Version 16.194.17:Apr 28, 2017 Changed dialog to remove a test question. (218388 lines)
Version 16.194.16:Apr 28, 2017 Changed dialog to remove a survey question. (218370 lines)
Version 16.194.15:Apr 28, 2017 Changed dialog to remove another user's photo.

View File

@ -1490,17 +1490,16 @@ void Svy_AskRemSurvey (void)
if (!Svy.Status.ICanEdit)
Lay_ShowErrorAndExit ("You can not remove this survey.");
/***** Ask for confirmation of removing *****/
/***** Show question and button to remove survey *****/
/* Start alert */
sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_survey_X,
Svy.Title);
Lay_ShowAlert (Lay_WARNING,Gbl.Message);
Lay_ShowAlertAndButton1 (Lay_QUESTION,Gbl.Message);
/***** Button of confirmation of removing *****/
/* End alert */
Gbl.Svys.SvyCodToEdit = Svy.SvyCod;
Act_FormStart (ActRemSvy);
Svy_PutParams ();
Lay_PutRemoveButton (Txt_Remove_survey);
Act_FormEnd ();
Lay_ShowAlertAndButton2 (ActRemSvy,NULL,Svy_PutParams,
Lay_REMOVE_BUTTON,Txt_Remove_survey);
/***** Show surveys again *****/
Svy_ListAllSurveys (&SvyQst);