Version 16.73.9

This commit is contained in:
Antonio Cañas Vargas 2016-11-28 10:57:34 +01:00
parent cc6df953d5
commit ad55f6b58f
3 changed files with 14 additions and 4 deletions

View File

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

View File

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

View File

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