mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 14:25:27 +02:00
Version 16.47.18
This commit is contained in:
parent
3f08508651
commit
9255a634f0
|
@ -156,13 +156,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.47.17 (2016-11-07)"
|
#define Log_PLATFORM_VERSION "SWAD 16.47.18 (2016-11-07)"
|
||||||
#define CSS_FILE "swad16.32.1.css"
|
#define CSS_FILE "swad16.32.1.css"
|
||||||
#define JS_FILE "swad16.46.1.js"
|
#define JS_FILE "swad16.46.1.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 16.47.18: Nov 07, 2016 Icon in "who to follow" to show figure (statistics). (206350 lines)
|
||||||
Version 16.47.17: Nov 07, 2016 Icon in public activity to show figure (statistics). (206337 lines)
|
Version 16.47.17: Nov 07, 2016 Icon in public activity to show figure (statistics). (206337 lines)
|
||||||
Version 16.47.16: Nov 07, 2016 Icon in file browser to show figure (statistics). (206326 lines)
|
Version 16.47.16: Nov 07, 2016 Icon in file browser to show figure (statistics). (206326 lines)
|
||||||
Version 16.47.15: Nov 07, 2016 Icon in file browser to show figure (statistics). (206313 lines)
|
Version 16.47.15: Nov 07, 2016 Icon in file browser to show figure (statistics). (206313 lines)
|
||||||
|
|
|
@ -66,6 +66,7 @@ extern struct Globals Gbl;
|
||||||
/***************************** Private prototypes ****************************/
|
/***************************** Private prototypes ****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Fol_PutIconsWhoToFollow (void);
|
||||||
static void Fol_PutIconToUpdateWhoToFollow (void);
|
static void Fol_PutIconToUpdateWhoToFollow (void);
|
||||||
|
|
||||||
static void Fol_ShowNumberOfFollowingOrFollowers (const struct UsrData *UsrDat,
|
static void Fol_ShowNumberOfFollowingOrFollowers (const struct UsrData *UsrDat,
|
||||||
|
@ -223,7 +224,7 @@ void Fol_SuggestWhoToFollow (void)
|
||||||
if (NumUsrs)
|
if (NumUsrs)
|
||||||
{
|
{
|
||||||
/***** Start frame *****/
|
/***** Start frame *****/
|
||||||
Lay_StartRoundFrame ("560px",Txt_Who_to_follow,Fol_PutIconToUpdateWhoToFollow);
|
Lay_StartRoundFrame ("560px",Txt_Who_to_follow,Fol_PutIconsWhoToFollow);
|
||||||
|
|
||||||
/***** Initialize structure with user's data *****/
|
/***** Initialize structure with user's data *****/
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
@ -267,6 +268,20 @@ void Fol_SuggestWhoToFollow (void)
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/****************** Put contextual icons in "who to follow" ******************/
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Fol_PutIconsWhoToFollow (void)
|
||||||
|
{
|
||||||
|
/***** Put icon to update who to follow *****/
|
||||||
|
Fol_PutIconToUpdateWhoToFollow ();
|
||||||
|
|
||||||
|
/***** Put icon to show a figure *****/
|
||||||
|
Gbl.Stat.FigureType = Sta_FOLLOW;
|
||||||
|
Sta_PutIconToShowFigure ();
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/********************* Put icon to update who to follow **********************/
|
/********************* Put icon to update who to follow **********************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user