Version 16.194.10

This commit is contained in:
Antonio Cañas Vargas 2017-04-28 12:11:25 +02:00
parent 7eb2575721
commit 659d016089
2 changed files with 9 additions and 9 deletions

View File

@ -221,13 +221,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.194.9 (2017-04-28)"
#define Log_PLATFORM_VERSION "SWAD 16.194.10 (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.10:Apr 28, 2017 Changed dialog to remove and exam announcement. (218379 lines)
Version 16.194.9: Apr 28, 2017 Changed dialog to remove a non empty folder. (218379 lines)
Version 16.194.8: Apr 28, 2017 Changed dialog to remove a file/link. (218369 lines)
Version 16.194.7: Apr 28, 2017 Changed dialog to remove a record field. (218359 lines)

View File

@ -362,20 +362,19 @@ void Exa_ReqRemoveExamAnnouncement (void)
if ((Gbl.ExamAnns.ExaDat.ExaCod = Exa_GetParamExaCod ()) <= 0)
Lay_ShowErrorAndExit ("Code of exam announcement is missing.");
/***** Message *****/
Lay_ShowAlert (Lay_WARNING,Txt_Do_you_really_want_to_remove_the_following_announcement_of_exam);
/***** Show question and button to remove exam announcement *****/
/* Start alert */
Lay_ShowAlertAndButton1 (Lay_QUESTION,Txt_Do_you_really_want_to_remove_the_following_announcement_of_exam);
/***** View announcement *****/
/* Show announcement */
Exa_AllocMemExamAnnouncement ();
Exa_GetDataExamAnnouncementFromDB ();
Exa_ShowExamAnnouncement (Exa_NORMAL_VIEW);
Exa_FreeMemExamAnnouncement ();
/***** Button of confirmation of removing *****/
Act_FormStart (ActRemExaAnn);
Exa_PutParamExaCodToEdit ();
Lay_PutRemoveButton (Txt_Remove);
Act_FormEnd ();
/* End alert */
Lay_ShowAlertAndButton2 (ActRemExaAnn,NULL,Exa_PutParamExaCodToEdit,
Lay_REMOVE_BUTTON,Txt_Remove);
}
/*****************************************************************************/