From 8a8e5b060674a194bf71bd83ee4d90c3b463b7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 20 Mar 2017 11:30:19 +0100 Subject: [PATCH] Version 16.157.3 --- swad_changelog.h | 3 ++- swad_record.c | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 7a237dda5..83b49e93f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -210,13 +210,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.157.2 (2017-03-20)" +#define Log_PLATFORM_VERSION "SWAD 16.157.3 (2017-03-20)" #define CSS_FILE "swad16.157.css" #define JS_FILE "swad16.144.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.157.3: Mar 20, 2017 Contextual help in edition of custom record card fields. (217046 lines) Version 16.157.2: Mar 20, 2017 Some help URLs translated to spanish. (217041 lines) Version 16.157.1: Mar 20, 2017 Some help URLs translated to spanish. (217040 lines) Version 16.157: Mar 17, 2017 Changes in edition of institutions, centres, degrees and courses. (217046 lines) diff --git a/swad_record.c b/swad_record.c index dcbd4e4a7..318f54c7e 100644 --- a/swad_record.c +++ b/swad_record.c @@ -164,6 +164,7 @@ static void Rec_GetUsrCommentsFromForm (struct UsrData *UsrDat); void Rec_ReqEditRecordFields (void) { + extern const char *Hlp_USERS_Students_course_record_card; extern const char *Txt_There_are_no_record_fields_in_the_course_X; extern const char *Txt_Record_fields; @@ -173,7 +174,8 @@ void Rec_ReqEditRecordFields (void) /***** List the current fields of records for edit them *****/ if (Gbl.CurrentCrs.Records.LstFields.Num) // Fields found... { - Lay_StartRoundFrameTable (NULL,Txt_Record_fields,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_Record_fields,NULL, + Hlp_USERS_Students_course_record_card,2); Rec_ListFieldsRecordsForEdition (); Lay_EndRoundFrameTable (); } @@ -336,6 +338,7 @@ void Rec_ListFieldsRecordsForEdition (void) void Rec_ShowFormCreateRecordField (void) { + extern const char *Hlp_USERS_Students_course_record_card; extern const char *Txt_New_record_field; extern const char *Txt_RECORD_FIELD_VISIBILITY_MENU[Rec_NUM_TYPES_VISIBILITY]; extern const char *Txt_Create_record_field; @@ -345,7 +348,8 @@ void Rec_ShowFormCreateRecordField (void) Act_FormStart (ActNewFie); /***** Start of frame *****/ - Lay_StartRoundFrameTable (NULL,Txt_New_record_field,NULL,NULL,0); + Lay_StartRoundFrameTable (NULL,Txt_New_record_field,NULL, + Hlp_USERS_Students_course_record_card,2); /***** Write heading *****/ Rec_WriteHeadingRecordFields ();