mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-20 00:02:42 +02:00
Version 16.194.18
This commit is contained in:
parent
9b02f634ba
commit
6445ed8577
|
@ -221,13 +221,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** 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 CSS_FILE "swad16.193.4.css"
|
||||||
#define JS_FILE "swad16.181.js"
|
#define JS_FILE "swad16.181.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// 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.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.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.
|
Version 16.194.15:Apr 28, 2017 Changed dialog to remove another user's photo.
|
||||||
|
|
|
@ -1490,17 +1490,16 @@ void Svy_AskRemSurvey (void)
|
||||||
if (!Svy.Status.ICanEdit)
|
if (!Svy.Status.ICanEdit)
|
||||||
Lay_ShowErrorAndExit ("You can not remove this survey.");
|
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,
|
sprintf (Gbl.Message,Txt_Do_you_really_want_to_remove_the_survey_X,
|
||||||
Svy.Title);
|
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;
|
Gbl.Svys.SvyCodToEdit = Svy.SvyCod;
|
||||||
Act_FormStart (ActRemSvy);
|
Lay_ShowAlertAndButton2 (ActRemSvy,NULL,Svy_PutParams,
|
||||||
Svy_PutParams ();
|
Lay_REMOVE_BUTTON,Txt_Remove_survey);
|
||||||
Lay_PutRemoveButton (Txt_Remove_survey);
|
|
||||||
Act_FormEnd ();
|
|
||||||
|
|
||||||
/***** Show surveys again *****/
|
/***** Show surveys again *****/
|
||||||
Svy_ListAllSurveys (&SvyQst);
|
Svy_ListAllSurveys (&SvyQst);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user