Version 16.71.8

This commit is contained in:
Antonio Cañas Vargas 2016-11-26 23:42:12 +01:00
parent 14f9d88502
commit b456232494
4 changed files with 14 additions and 4 deletions

View File

@ -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,"<tr>"

View File

@ -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)

View File

@ -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";

View File

@ -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);