diff --git a/swad_changelog.h b/swad_changelog.h index 11fc99869..e81638966 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,13 +156,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.56.7 (2016-11-13)" +#define Log_PLATFORM_VERSION "SWAD 16.56.8 (2016-11-13)" #define CSS_FILE "swad16.51.css" #define JS_FILE "swad16.46.1.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.56.8: Nov 13, 2016 Contextual help on notices. (207002 lines) Version 16.56.7: Nov 13, 2016 Contextual help on forums. (206996 lines) Version 16.56.6: Nov 13, 2016 Contextual help on who to follow. (206968 lines) Version 16.56.5: Nov 13, 2016 Contextual help on view public profile. (206963 lines) diff --git a/swad_help.c b/swad_help.c index 2621b6f48..0a5c5b67e 100644 --- a/swad_help.c +++ b/swad_help.c @@ -104,6 +104,10 @@ const char *Hlp_SOCIAL_Profiles_who_to_follow = WIKI "SOCIAL.Profiles#who- const char *Hlp_SOCIAL_Forums = WIKI "SOCIAL.Forums"; +/***** MESSAGES tab *****/ + +const char *Hlp_MESSAGES_Notices = WIKI "MESSAGES.Notices"; + /***** STATS tab *****/ const char *Hlp_STATS_Surveys = WIKI "STATS.Surveys"; diff --git a/swad_notice.c b/swad_notice.c index 086ea5570..a686c0b2c 100644 --- a/swad_notice.c +++ b/swad_notice.c @@ -87,6 +87,7 @@ static long Not_GetParamNotCod (void); void Not_ShowFormNotice (void) { + extern const char *Hlp_MESSAGES_Notices; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_The_notice_you_enter_here_will_appear_as_a_yellow_note_; extern const char *Txt_New_notice; @@ -102,7 +103,8 @@ void Not_ShowFormNotice (void) Act_FormStart (ActRcvNot); /***** Start frame *****/ - Lay_StartRoundFrameTable (NULL,2,Txt_New_notice); + Lay_StartRoundFrame (NULL,Txt_New_notice,NULL,Hlp_MESSAGES_Notices); + fprintf (Gbl.F.Out,""); /***** Message body *****/ fprintf (Gbl.F.Out,"" @@ -344,6 +346,7 @@ void Not_GetNotCodToHighlight (void) void Not_ShowNotices (Not_Listing_t TypeNoticesListing) { + extern const char *Hlp_MESSAGES_Notices; extern const char *Txt_All_notices; extern const char *Txt_Notices; extern const char *Txt_No_notices; @@ -393,7 +396,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing) Lay_StartRoundFrame (StrWidth, Gbl.CurrentCrs.Notices.HighlightNotCod > 0 ? Txt_All_notices : Txt_Notices, - Not_PutIconsListNotices,NULL); + Not_PutIconsListNotices,Hlp_MESSAGES_Notices); if (!NumNotices) Lay_ShowAlert (Lay_INFO,Txt_No_notices); }