From ad55f6b58f3bf90243ed6d97b42511ff68ee0265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 28 Nov 2016 10:57:34 +0100 Subject: [PATCH] Version 16.73.9 --- swad_changelog.h | 3 ++- swad_department.c | 11 ++++++++--- swad_help.c | 4 ++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index d6ed3bc02..eb08e5f87 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -176,13 +176,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.73.8 (2016-11-28)" +#define Log_PLATFORM_VERSION "SWAD 16.73.9 (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.9: Nov 28, 2016 Contextual help on departments. (207786 lines) Version 16.73.8: Nov 28, 2016 Contextual help on system links. (207778 lines) Version 16.73.7: Nov 28, 2016 Contextual help on banners. (207772 lines) Version 16.73.6: Nov 28, 2016 Contextual help on email domains. (207764 lines) diff --git a/swad_department.c b/swad_department.c index dac02f152..663ece584 100644 --- a/swad_department.c +++ b/swad_department.c @@ -77,6 +77,7 @@ static void Dpt_CreateDepartment (struct Department *Dpt); void Dpt_SeeDepts (void) { + extern const char *Hlp_INSTITUTION_Departments; extern const char *Txt_Departments; extern const char *Txt_DEPARTMENTS_HELP_ORDER[2]; extern const char *Txt_DEPARTMENTS_ORDER[2]; @@ -99,7 +100,7 @@ void Dpt_SeeDepts (void) Lay_StartRoundFrameTable (NULL,Txt_Departments, Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM ? Dpt_PutIconToEditDpts : NULL, - NULL,2); + Hlp_INSTITUTION_Departments,2); fprintf (Gbl.F.Out,""); for (Order = Dpt_ORDER_BY_DEPARTMENT; Order <= Dpt_ORDER_BY_NUM_TCHS; @@ -477,6 +478,7 @@ unsigned Dpt_GetNumDepartmentsInInstitution (long InsCod) static void Dpt_ListDepartmentsForEdition (void) { + extern const char *Hlp_INSTITUTION_Departments_edit; extern const char *Txt_Departments; extern const char *Txt_Another_institution; unsigned NumDpt; @@ -484,7 +486,8 @@ static void Dpt_ListDepartmentsForEdition (void) struct Instit Ins; unsigned NumIns; - Lay_StartRoundFrameTable (NULL,Txt_Departments,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_Departments, + NULL,Hlp_INSTITUTION_Departments_edit,2); /***** Table head *****/ Dpt_PutHeadDepartments (); @@ -857,6 +860,7 @@ void Dpt_ChangeDptWWW (void) static void Dpt_PutFormToCreateDepartment (void) { + extern const char *Hlp_INSTITUTION_Departments_edit; extern const char *Txt_New_department; extern const char *Txt_Institution; extern const char *Txt_Short_name; @@ -873,7 +877,8 @@ static void Dpt_PutFormToCreateDepartment (void) Act_FormStart (ActNewDpt); /***** Start of frame *****/ - Lay_StartRoundFrameTable (NULL,Txt_New_department,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_New_department, + NULL,Hlp_INSTITUTION_Departments_edit,2); /***** Write heading *****/ fprintf (Gbl.F.Out,"" diff --git a/swad_help.c b/swad_help.c index 08ec67d04..cbf2d6e82 100644 --- a/swad_help.c +++ b/swad_help.c @@ -69,8 +69,12 @@ const char *Hlp_COUNTRY_Institutions = WIKI "COUNTRY.Institutions"; /***** INSTITUTION tab *****/ const char *Hlp_INSTITUTION_Information = WIKI "INSTITUTION.Information"; + const char *Hlp_INSTITUTION_Centres = WIKI "INSTITUTION.Centres"; +const char *Hlp_INSTITUTION_Departments = WIKI "INSTITUTION.Departments"; +const char *Hlp_INSTITUTION_Departments_edit = WIKI "INSTITUTION.Departments#edit"; + const char *Hlp_INSTITUTION_Documents = WIKI "INSTITUTION.Documents"; const char *Hlp_INSTITUTION_Shared = WIKI "INSTITUTION.Shared";