From 495a46dc2a82de916463b9d34a373b1d5cdfd95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Fri, 18 Nov 2016 10:08:01 +0100 Subject: [PATCH] Version 16.64.3 --- swad_changelog.h | 5 +++-- swad_help.c | 4 +++- swad_record.c | 9 ++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 22627e2b5..1963385e3 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -166,15 +166,16 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.64.2 (2016-11-17)" +#define Log_PLATFORM_VERSION "SWAD 16.64.3 (2016-11-17)" #define CSS_FILE "swad16.60.1.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.64.3: Nov 17, 2016 Contextual help on teachers. (207259 lines) Version 16.64.2: Nov 17, 2016 Code refactoring in record cards. (207253 lines) - Version 16.64.1: Nov 17, 2016 Changes in texts related to recor cards. (207252 lines) + Version 16.64.1: Nov 17, 2016 Changes in texts related to record cards. (207252 lines) Version 16.64: Nov 17, 2016 Contextual help on students. Code refactoring in record cards. (207231 lines) Version 16.63.6: Nov 16, 2016 Contextual help on email unconfirmed. (207184 lines) diff --git a/swad_help.c b/swad_help.c index fc59a6e80..29e87b194 100644 --- a/swad_help.c +++ b/swad_help.c @@ -97,7 +97,9 @@ const char *Hlp_USERS_Students = WIKI "USERS.Students"; const char *Hlp_USERS_Students_shared_record_card = WIKI "USERS.Students#shared-record-card"; const char *Hlp_USERS_Students_course_record_card = WIKI "USERS.Students#course-record-card"; -const char *Hlp_USERS_Teachers = WIKI "USERS.Teachers"; +const char *Hlp_USERS_Teachers = WIKI "USERS.Teachers"; +const char *Hlp_USERS_Teachers_shared_record_card = WIKI "USERS.Teachers#shared-record-card"; +const char *Hlp_USERS_Teachers_timetable = WIKI "USERS.Teachers#timetable"; const char *Hlp_USERS_Others_guests = WIKI "USERS.Others#guests"; diff --git a/swad_record.c b/swad_record.c index 1df20d1d4..48d876cd4 100644 --- a/swad_record.c +++ b/swad_record.c @@ -1224,6 +1224,7 @@ void Rec_GetUsrAndShowRecordOneTchCrs (void) static void Rec_ShowRecordOneTchCrs (void) { + extern const char *Hlp_USERS_Teachers_timetable; extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES]; char Width[10+2+1]; @@ -1263,7 +1264,7 @@ static void Rec_ShowRecordOneTchCrs (void) /* Office hours */ Gbl.TimeTable.Type = TT_TUTOR_TIMETABLE; Lay_StartRoundFrame (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type], - NULL,NULL); + NULL,Hlp_USERS_Teachers_timetable); TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod); Lay_EndRoundFrame (); @@ -1276,6 +1277,7 @@ static void Rec_ShowRecordOneTchCrs (void) void Rec_ListRecordsTchs (void) { + extern const char *Hlp_USERS_Teachers_timetable; extern const char *Txt_You_must_select_one_ore_more_teachers; extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES]; unsigned NumUsrs = 0; @@ -1365,7 +1367,7 @@ void Rec_ListRecordsTchs (void) { Gbl.TimeTable.Type = TT_TUTOR_TIMETABLE; Lay_StartRoundFrame (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type], - NULL,NULL); + NULL,Hlp_USERS_Teachers_timetable); TT_ShowTimeTable (UsrDat.UsrCod); Lay_EndRoundFrame (); } @@ -2020,6 +2022,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView, extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS]; extern const char *Hlp_PROFILE_Record; extern const char *Hlp_USERS_Students_shared_record_card; + extern const char *Hlp_USERS_Teachers_shared_record_card; extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *Txt_Save_changes; extern const char *Txt_Register; @@ -2045,7 +2048,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView, NULL, // Rol__GUEST_ NULL, // Rol_VISITOR Hlp_USERS_Students_shared_record_card, // Rol_STUDENT - NULL, // Rol_TEACHER + Hlp_USERS_Teachers_shared_record_card, // Rol_TEACHER NULL, // Rol_DEG_ADM NULL, // Rol_CTR_ADM NULL, // Rol_INS_ADM