Version 16.64.3

This commit is contained in:
Antonio Cañas Vargas 2016-11-18 10:08:01 +01:00
parent 5765a5b7d3
commit 495a46dc2a
3 changed files with 12 additions and 6 deletions

View File

@ -166,15 +166,16 @@
/****************************** Public constants *****************************/ /****************************** 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 CSS_FILE "swad16.60.1.css"
#define JS_FILE "swad16.46.1.js" #define JS_FILE "swad16.46.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command: // 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 // 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.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. Version 16.64: Nov 17, 2016 Contextual help on students.
Code refactoring in record cards. (207231 lines) Code refactoring in record cards. (207231 lines)
Version 16.63.6: Nov 16, 2016 Contextual help on email unconfirmed. (207184 lines) Version 16.63.6: Nov 16, 2016 Contextual help on email unconfirmed. (207184 lines)

View File

@ -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_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_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"; const char *Hlp_USERS_Others_guests = WIKI "USERS.Others#guests";

View File

@ -1224,6 +1224,7 @@ void Rec_GetUsrAndShowRecordOneTchCrs (void)
static void Rec_ShowRecordOneTchCrs (void) static void Rec_ShowRecordOneTchCrs (void)
{ {
extern const char *Hlp_USERS_Teachers_timetable;
extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES]; extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES];
char Width[10+2+1]; char Width[10+2+1];
@ -1263,7 +1264,7 @@ static void Rec_ShowRecordOneTchCrs (void)
/* Office hours */ /* Office hours */
Gbl.TimeTable.Type = TT_TUTOR_TIMETABLE; Gbl.TimeTable.Type = TT_TUTOR_TIMETABLE;
Lay_StartRoundFrame (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type], Lay_StartRoundFrame (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],
NULL,NULL); NULL,Hlp_USERS_Teachers_timetable);
TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod); TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod);
Lay_EndRoundFrame (); Lay_EndRoundFrame ();
@ -1276,6 +1277,7 @@ static void Rec_ShowRecordOneTchCrs (void)
void Rec_ListRecordsTchs (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_You_must_select_one_ore_more_teachers;
extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES]; extern const char *Txt_TIMETABLE_TYPES[TT_NUM_TIMETABLE_TYPES];
unsigned NumUsrs = 0; unsigned NumUsrs = 0;
@ -1365,7 +1367,7 @@ void Rec_ListRecordsTchs (void)
{ {
Gbl.TimeTable.Type = TT_TUTOR_TIMETABLE; Gbl.TimeTable.Type = TT_TUTOR_TIMETABLE;
Lay_StartRoundFrame (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type], Lay_StartRoundFrame (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],
NULL,NULL); NULL,Hlp_USERS_Teachers_timetable);
TT_ShowTimeTable (UsrDat.UsrCod); TT_ShowTimeTable (UsrDat.UsrCod);
Lay_EndRoundFrame (); Lay_EndRoundFrame ();
} }
@ -2020,6 +2022,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS]; extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS];
extern const char *Hlp_PROFILE_Record; extern const char *Hlp_PROFILE_Record;
extern const char *Hlp_USERS_Students_shared_record_card; 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 *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_Save_changes; extern const char *Txt_Save_changes;
extern const char *Txt_Register; extern const char *Txt_Register;
@ -2045,7 +2048,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
NULL, // Rol__GUEST_ NULL, // Rol__GUEST_
NULL, // Rol_VISITOR NULL, // Rol_VISITOR
Hlp_USERS_Students_shared_record_card, // Rol_STUDENT 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_DEG_ADM
NULL, // Rol_CTR_ADM NULL, // Rol_CTR_ADM
NULL, // Rol_INS_ADM NULL, // Rol_INS_ADM