Version 16.73.10

This commit is contained in:
Antonio Cañas Vargas 2016-11-28 12:11:44 +01:00
parent ad55f6b58f
commit 6b8d5353b0
3 changed files with 13 additions and 4 deletions

View File

@ -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)

View File

@ -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";

View File

@ -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,"<tr>");
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,"<tr>"