From 797c89e71aa1998cca65873f92dc893e21acb635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 26 Nov 2016 21:12:23 +0100 Subject: [PATCH] Version 16.71.5 --- swad_changelog.h | 3 ++- swad_help.c | 2 ++ swad_timetable.c | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 4e454b32..73e8013e 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -178,13 +178,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.71.4 (2016-11-26)" +#define Log_PLATFORM_VERSION "SWAD 16.71.5 (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.5: Nov 26, 2016 Contextual help on course timetable. (207611 lines) Version 16.71.4: Nov 26, 2016 Contextual help on user's timetable. (207607 lines) Version 16.71.3: Nov 26, 2016 Change in layout of notifications. (207597 lines) Version 16.71.2: Nov 25, 2016 Fix bug in shared record card. (207569 lines) diff --git a/swad_help.c b/swad_help.c index 53a1d372..66c7bfde 100644 --- a/swad_help.c +++ b/swad_help.c @@ -81,6 +81,8 @@ const char *Hlp_COURSE_Documents = WIKI "COURSE.Documents"; const char *Hlp_COURSE_Private = WIKI "COURSE.Private"; const char *Hlp_COURSE_Shared = WIKI "COURSE.Shared"; +const char *Hlp_COURSE_Timetable = WIKI "COURSE.Timetable"; + /***** ASSESSMENT tab *****/ const char *Hlp_ASSESSMENT_Works = WIKI "ASSESSMENT.Works"; diff --git a/swad_timetable.c b/swad_timetable.c index bf5ecf4e..d8670cae 100644 --- a/swad_timetable.c +++ b/swad_timetable.c @@ -222,11 +222,12 @@ static void TT_GetParamsTimeTable (void) void TT_ShowClassTimeTable (void) { + extern const char *Hlp_COURSE_Timetable; extern const char *Hlp_PROFILE_Timetable; extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES]; const char *Help[TT_NUM_TIMETABLE_TYPES] = { - NULL, // TT_COURSE_TIMETABLE + Hlp_COURSE_Timetable, // TT_COURSE_TIMETABLE Hlp_PROFILE_Timetable, // TT_MY_TIMETABLE NULL, // TT_TUTOR_TIMETABLE }; @@ -343,12 +344,13 @@ static void TT_ShowSelectorWhichGrps (Act_Action_t Action) void TT_EditCrsTimeTable (void) { + extern const char *Hlp_COURSE_Timetable; extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES]; /***** Editable time table *****/ Gbl.TimeTable.Type = TT_COURSE_TIMETABLE; Lay_StartRoundFrame ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type], - TT_PutIconToViewCrsTT,NULL); + TT_PutIconToViewCrsTT,Hlp_COURSE_Timetable); TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod); Lay_EndRoundFrame (); }