diff --git a/swad_announcement.c b/swad_announcement.c index 12d1995f0..1aee842ad 100644 --- a/swad_announcement.c +++ b/swad_announcement.c @@ -75,6 +75,7 @@ static void Ann_CreateAnnouncement (unsigned Roles,const char *Subject,const cha void Ann_ShowAllAnnouncements (void) { + extern const char *Hlp_MESSAGES_Announcements; extern const char *Txt_Announcements; extern const char *Txt_No_announcements; char Query[256]; @@ -117,7 +118,7 @@ void Ann_ShowAllAnnouncements (void) Lay_StartRoundFrame ("550px",Txt_Announcements, ICanEdit ? Ann_PutIconToAddNewAnnouncement : NULL, - NULL); + Hlp_MESSAGES_Announcements); if (!NumAnnouncements) Lay_ShowAlert (Lay_INFO,Txt_No_announcements); @@ -431,6 +432,7 @@ static long Ann_GetParamAnnCod (void) void Ann_ShowFormAnnouncement (void) { + extern const char *Hlp_MESSAGES_Announcements; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_New_announcement; extern const char *Txt_MSG_Subject; @@ -442,7 +444,8 @@ void Ann_ShowFormAnnouncement (void) Act_FormStart (ActRcvAnn); /***** Start frame *****/ - Lay_StartRoundFrameTable (NULL,Txt_New_announcement,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_New_announcement, + NULL,Hlp_MESSAGES_Announcements,2); /***** Message subject and body *****/ fprintf (Gbl.F.Out,"" diff --git a/swad_changelog.h b/swad_changelog.h index 84f5acb59..c9b13a159 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -178,13 +178,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.71.7 (2016-11-26)" +#define Log_PLATFORM_VERSION "SWAD 16.71.8 (2016-11-26)" #define CSS_FILE "swad16.69.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.71.8: Nov 26, 2016 Contextual help on email to students. + Contextual help on global announcements. (207634 lines) Version 16.71.7: Nov 26, 2016 Code refactoring in timetable. (207626 lines) Version 16.71.6: Nov 26, 2016 Selector "Only my groups"/"All groups" only of the course has groups. Code refactoring in timetable. (207619 lines) diff --git a/swad_help.c b/swad_help.c index 66c7bfde1..07fd315ae 100644 --- a/swad_help.c +++ b/swad_help.c @@ -132,6 +132,8 @@ const char *Hlp_SOCIAL_Forums = WIKI "SOCIAL.Forums"; const char *Hlp_MESSAGES_Notifications = WIKI "MESSAGES.Notifications"; +const char *Hlp_MESSAGES_Announcements = WIKI "MESSAGES.Announcements"; + const char *Hlp_MESSAGES_Notices = WIKI "MESSAGES.Notices"; const char *Hlp_MESSAGES_Write = WIKI "MESSAGES.Write"; @@ -140,6 +142,8 @@ const char *Hlp_MESSAGES_Received_filter = WIKI "MESSAGES.Received#filter"; const char *Hlp_MESSAGES_Sent = WIKI "MESSAGES.Sent"; const char *Hlp_MESSAGES_Sent_filter = WIKI "MESSAGES.Sent#filter"; +const char *Hlp_MESSAGES_Email = WIKI "MESSAGES.Email"; + /***** STATS tab *****/ const char *Hlp_STATS_Surveys = WIKI "STATS.Surveys"; diff --git a/swad_mail.c b/swad_mail.c index cde4cd4b4..e5ce9e30f 100644 --- a/swad_mail.c +++ b/swad_mail.c @@ -825,6 +825,7 @@ static void Mai_CreateMailDomain (struct Mail *Mai) void Mai_ListEmails (void) { + extern const char *Hlp_MESSAGES_Email; extern const char *The_ClassFormBold[The_NUM_THEMES]; extern const char *Txt_Students_who_have_accepted_and_who_have_email; extern const char *Txt_X_students_who_have_email; @@ -846,7 +847,7 @@ void Mai_ListEmails (void) /***** Start of the frame used to list the emails *****/ Lay_StartRoundFrame (NULL, Txt_Students_who_have_accepted_and_who_have_email, - NULL,NULL); + NULL,Hlp_MESSAGES_Email); /***** Form to select groups *****/ Grp_ShowFormToSelectSeveralGroups (ActMaiStd);