diff --git a/swad_changelog.h b/swad_changelog.h index 57033faca..b7bf2ce08 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -176,13 +176,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.73.4 (2016-11-28)" +#define Log_PLATFORM_VERSION "SWAD 16.73.5 (2016-11-28)" #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.73.5: Nov 28, 2016 Contextual help on types of degrees. (207757 lines) Version 16.73.4: Nov 28, 2016 Contextual help on old courses. (207749 lines) Version 16.73.3: Nov 27, 2016 Better contextual help on attendance. (207746 lines) Version 16.73.2: Nov 27, 2016 Contextual help on assignments. (207725 lines) diff --git a/swad_degree_type.c b/swad_degree_type.c index efeb655bf..5448a8509 100644 --- a/swad_degree_type.c +++ b/swad_degree_type.c @@ -190,6 +190,7 @@ static void DT_EditDegreeTypes (void) static void DT_ListDegreeTypesForSeeing (void) { + extern const char *Hlp_SYSTEM_Studies; extern const char *Txt_Types_of_degree; extern const char *Txt_TYPES_OF_DEGREE_With_degrees; extern const char *Txt_TYPES_OF_DEGREE_Without_degrees; @@ -200,7 +201,7 @@ static void DT_ListDegreeTypesForSeeing (void) Lay_StartRoundFrameTable (NULL,Txt_Types_of_degree, Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM ? DT_PutIconToEditDegTypes : NULL, - NULL,2); + Hlp_SYSTEM_Studies,2); DT_PutHeadDegreeTypesForSeeing (); /***** List degree types with forms for edition *****/ @@ -269,11 +270,13 @@ static void DT_PutIconToEditDegTypes (void) static void DT_ListDegreeTypesForEdition (void) { + extern const char *Hlp_SYSTEM_Studies_edit; extern const char *Txt_Types_of_degree; unsigned NumDegTyp; /***** Write heading *****/ - Lay_StartRoundFrameTable (NULL,Txt_Types_of_degree,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_Types_of_degree, + NULL,Hlp_SYSTEM_Studies_edit,2); DT_PutHeadDegreeTypesForEdition (); /***** List degree types with forms for edition *****/ @@ -331,6 +334,7 @@ static void DT_ListDegreeTypesForEdition (void) static void DT_PutFormToCreateDegreeType (void) { + extern const char *Hlp_SYSTEM_Studies_edit; extern const char *Txt_New_type_of_degree; extern const char *Txt_Type_of_degree; extern const char *Txt_Create_type_of_degree; @@ -339,7 +343,8 @@ static void DT_PutFormToCreateDegreeType (void) Act_FormStart (ActNewDegTyp); /***** Start of frame *****/ - Lay_StartRoundFrameTable (NULL,Txt_New_type_of_degree,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_New_type_of_degree, + NULL,Hlp_SYSTEM_Studies_edit,2); /***** Write heading *****/ fprintf (Gbl.F.Out,"" diff --git a/swad_help.c b/swad_help.c index be7685e7a..c6ca38fcf 100644 --- a/swad_help.c +++ b/swad_help.c @@ -49,6 +49,9 @@ const char *Hlp_SYSTEM_Pending = WIKI "SYSTEM.Pending"; const char *Hlp_SYSTEM_Old = WIKI "SYSTEM.Old"; +const char *Hlp_SYSTEM_Studies = WIKI "SYSTEM.Studies"; +const char *Hlp_SYSTEM_Studies_edit = WIKI "SYSTEM.Studies#edit"; + /***** COUNTRY tab *****/ const char *Hlp_COUNTRY_Information = WIKI "COUNTRY.Information";