Version 16.157.3

This commit is contained in:
Antonio Cañas Vargas 2017-03-20 11:30:19 +01:00
parent 7e002d5bb2
commit 8a8e5b0606
2 changed files with 8 additions and 3 deletions

View File

@ -210,13 +210,14 @@
/****************************** Public constants *****************************/ /****************************** 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 CSS_FILE "swad16.157.css"
#define JS_FILE "swad16.144.js" #define JS_FILE "swad16.144.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.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.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.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) Version 16.157: Mar 17, 2017 Changes in edition of institutions, centres, degrees and courses. (217046 lines)

View File

@ -164,6 +164,7 @@ static void Rec_GetUsrCommentsFromForm (struct UsrData *UsrDat);
void Rec_ReqEditRecordFields (void) 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_There_are_no_record_fields_in_the_course_X;
extern const char *Txt_Record_fields; extern const char *Txt_Record_fields;
@ -173,7 +174,8 @@ void Rec_ReqEditRecordFields (void)
/***** List the current fields of records for edit them *****/ /***** List the current fields of records for edit them *****/
if (Gbl.CurrentCrs.Records.LstFields.Num) // Fields found... 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 (); Rec_ListFieldsRecordsForEdition ();
Lay_EndRoundFrameTable (); Lay_EndRoundFrameTable ();
} }
@ -336,6 +338,7 @@ void Rec_ListFieldsRecordsForEdition (void)
void Rec_ShowFormCreateRecordField (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_New_record_field;
extern const char *Txt_RECORD_FIELD_VISIBILITY_MENU[Rec_NUM_TYPES_VISIBILITY]; extern const char *Txt_RECORD_FIELD_VISIBILITY_MENU[Rec_NUM_TYPES_VISIBILITY];
extern const char *Txt_Create_record_field; extern const char *Txt_Create_record_field;
@ -345,7 +348,8 @@ void Rec_ShowFormCreateRecordField (void)
Act_FormStart (ActNewFie); Act_FormStart (ActNewFie);
/***** Start of frame *****/ /***** 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 *****/ /***** Write heading *****/
Rec_WriteHeadingRecordFields (); Rec_WriteHeadingRecordFields ();