mirror of https://github.com/acanas/swad-core.git
Version 16.194.11
This commit is contained in:
parent
659d016089
commit
1edeb6a4b6
|
@ -221,14 +221,15 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.194.10 (2017-04-28)"
|
#define Log_PLATFORM_VERSION "SWAD 16.194.11 (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.10:Apr 28, 2017 Changed dialog to remove and exam announcement. (218379 lines)
|
Version 16.194.11:Apr 28, 2017 Changed dialog to remove a notice. (218379 lines)
|
||||||
|
Version 16.194.10:Apr 28, 2017 Changed dialog to remove an exam announcement. (218379 lines)
|
||||||
Version 16.194.9: Apr 28, 2017 Changed dialog to remove a non empty folder. (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.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)
|
Version 16.194.7: Apr 28, 2017 Changed dialog to remove a record field. (218359 lines)
|
||||||
|
|
|
@ -481,7 +481,7 @@ struct Globals
|
||||||
} Records;
|
} Records;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
long NotCod;
|
long NotCod; // Notice to be edited, removed...
|
||||||
long HighlightNotCod; // Notice code of a notice to be highlighted
|
long HighlightNotCod; // Notice code of a notice to be highlighted
|
||||||
} Notices;
|
} Notices;
|
||||||
} CurrentCrs;
|
} CurrentCrs;
|
||||||
|
|
|
@ -269,20 +269,20 @@ void Not_RequestRemNotice (void)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Do_you_really_want_to_remove_the_following_notice;
|
extern const char *Txt_Do_you_really_want_to_remove_the_following_notice;
|
||||||
extern const char *Txt_Remove;
|
extern const char *Txt_Remove;
|
||||||
long NotCod;
|
|
||||||
|
|
||||||
/***** Get the code of the notice to remove *****/
|
/***** Get the code of the notice to remove *****/
|
||||||
NotCod = Not_GetParamNotCod ();
|
Gbl.CurrentCrs.Notices.NotCod = Not_GetParamNotCod ();
|
||||||
|
|
||||||
/***** Ask for confirmation to remove this notice *****/
|
/***** Show question and button to remove this notice *****/
|
||||||
Lay_ShowAlert (Lay_WARNING,Txt_Do_you_really_want_to_remove_the_following_notice);
|
/* Start alert */
|
||||||
Not_GetDataAndShowNotice (NotCod);
|
Lay_ShowAlertAndButton1 (Lay_QUESTION,Txt_Do_you_really_want_to_remove_the_following_notice);
|
||||||
|
|
||||||
/***** Form to remove this notice *****/
|
/* Show notice */
|
||||||
Act_FormStart (ActRemNot);
|
Not_GetDataAndShowNotice (Gbl.CurrentCrs.Notices.NotCod);
|
||||||
Not_PutHiddenParamNotCod (NotCod);
|
|
||||||
Lay_PutRemoveButton (Txt_Remove);
|
/* End alert */
|
||||||
Act_FormEnd ();
|
Lay_ShowAlertAndButton2 (ActRemNot,NULL,Not_PutParams,
|
||||||
|
Lay_REMOVE_BUTTON,Txt_Remove);
|
||||||
|
|
||||||
/***** Show all notices *****/
|
/***** Show all notices *****/
|
||||||
Not_ShowNotices (Not_LIST_FULL_NOTICES);
|
Not_ShowNotices (Not_LIST_FULL_NOTICES);
|
||||||
|
|
Loading…
Reference in New Issue