From 6b8d5353b0f8951916b200db465e4d974bfae64b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 28 Nov 2016 12:11:44 +0100 Subject: [PATCH] Version 16.73.10 --- swad_changelog.h | 3 ++- swad_help.c | 3 +++ swad_place.c | 11 ++++++++--- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index eb08e5f87..3baa3ef46 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -176,13 +176,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.73.9 (2016-11-28)" +#define Log_PLATFORM_VERSION "SWAD 16.73.10 (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.10: Nov 28, 2016 Contextual help on places. (207794 lines) 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) diff --git a/swad_help.c b/swad_help.c index cbf2d6e82..e79817ff4 100644 --- a/swad_help.c +++ b/swad_help.c @@ -75,6 +75,9 @@ 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_Places = WIKI "INSTITUTION.Places"; +const char *Hlp_INSTITUTION_Places_edit = WIKI "INSTITUTION.Places#edit"; + const char *Hlp_INSTITUTION_Documents = WIKI "INSTITUTION.Documents"; const char *Hlp_INSTITUTION_Shared = WIKI "INSTITUTION.Shared"; diff --git a/swad_place.c b/swad_place.c index a2efad2d7..b35eb7c60 100644 --- a/swad_place.c +++ b/swad_place.c @@ -74,6 +74,7 @@ static void Plc_CreatePlace (struct Place *Plc); void Plc_SeePlaces (void) { + extern const char *Hlp_INSTITUTION_Places; extern const char *Txt_Places; extern const char *Txt_PLACES_HELP_ORDER[2]; extern const char *Txt_PLACES_ORDER[2]; @@ -96,7 +97,7 @@ void Plc_SeePlaces (void) Lay_StartRoundFrameTable (NULL,Txt_Places, Gbl.Usrs.Me.LoggedRole >= Rol_INS_ADM ? Plc_PutIconToEditPlaces : NULL, - NULL,2); + Hlp_INSTITUTION_Places,2); fprintf (Gbl.F.Out,""); for (Order = Plc_ORDER_BY_PLACE; Order <= Plc_ORDER_BY_NUM_CTRS; @@ -416,11 +417,13 @@ void Plc_FreeListPlaces (void) static void Plc_ListPlacesForEdition (void) { + extern const char *Hlp_INSTITUTION_Places_edit; extern const char *Txt_Places; unsigned NumPlc; struct Place *Plc; - Lay_StartRoundFrameTable (NULL,Txt_Places,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_Places, + NULL,Hlp_INSTITUTION_Places_edit,2); /***** Table head *****/ Plc_PutHeadPlaces (); @@ -677,6 +680,7 @@ static bool Plc_CheckIfPlaceNameExists (const char *FieldName,const char *Name,l static void Plc_PutFormToCreatePlace (void) { + extern const char *Hlp_INSTITUTION_Places_edit; extern const char *Txt_New_place; extern const char *Txt_Short_name; extern const char *Txt_Full_name; @@ -689,7 +693,8 @@ static void Plc_PutFormToCreatePlace (void) Act_FormStart (ActNewPlc); /***** Start of frame *****/ - Lay_StartRoundFrameTable (NULL,Txt_New_place,NULL,NULL,2); + Lay_StartRoundFrameTable (NULL,Txt_New_place, + NULL,Hlp_INSTITUTION_Places_edit,2); /***** Write heading *****/ fprintf (Gbl.F.Out,""