Version 16.56.4

This commit is contained in:
Antonio Cañas Vargas 2016-11-13 21:13:28 +01:00
parent 91c204d606
commit ff4efbe8d0
3 changed files with 9 additions and 2 deletions

View File

@ -156,13 +156,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.56.3 (2016-11-13)"
#define Log_PLATFORM_VERSION "SWAD 16.56.4 (2016-11-13)"
#define CSS_FILE "swad16.51.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.56.4: Nov 13, 2016 Contextual help on public activity. (206960 lines)
Version 16.56.3: Nov 13, 2016 Contextual help on attendance. (206955 lines)
Version 16.56.2: Nov 13, 2016 Contextual help on groups. (206938 lines)
Version 16.56.1: Nov 13, 2016 Code refactoring and changes in layout related with titles. (206923 lines)

View File

@ -95,6 +95,10 @@ const char *Hlp_USERS_Groups = WIKI "USERS.Groups";
const char *Hlp_USERS_Attendance = WIKI "USERS.Attendance";
/***** SOCIAL tab *****/
const char *Hlp_SOCIAL_Activity = WIKI "SOCIAL.Activity";
/***** STATS tab *****/
const char *Hlp_STATS_Surveys = WIKI "STATS.Surveys";

View File

@ -841,6 +841,7 @@ static void Soc_DropTemporaryTablesUsedToQueryTimeline (void)
static void Soc_ShowTimeline (const char *Query,const char *Title,
long NotCodToHighlight)
{
extern const char *Hlp_SOCIAL_Activity;
MYSQL_RES *mysql_res;
MYSQL_ROW row;
unsigned long NumPubsGot;
@ -852,7 +853,8 @@ static void Soc_ShowTimeline (const char *Query,const char *Title,
NumPubsGot = DB_QuerySELECT (Query,&mysql_res,"can not get timeline");
/***** Start frame *****/
Lay_StartRoundFrame (Soc_WIDTH_TIMELINE,Title,Soc_PutIconsTimeline,NULL);
Lay_StartRoundFrame (Soc_WIDTH_TIMELINE,Title,
Soc_PutIconsTimeline,Hlp_SOCIAL_Activity);
/***** Form to write a new post *****/
if (Gbl.Usrs.Other.UsrDat.UsrCod <= 0 || // Global timeline