From 7a55c7958a6af26a2fbe685f1bd1120f76bf72ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 13 Nov 2016 23:01:11 +0100 Subject: [PATCH] Version 16.57.2 --- swad_changelog.h | 3 ++- swad_help.c | 2 ++ swad_report.c | 7 ++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 36c02e18c..cef2873ce 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -156,13 +156,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.57.1 (2016-11-13)" +#define Log_PLATFORM_VERSION "SWAD 16.57.2 (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.57.2: Nov 13, 2016 Contextual help on usage report. (207102 lines) Version 16.57.1: Nov 13, 2016 Contextual help on frequent actions. (207099 lines) Version 16.57: Nov 13, 2016 Contextual help on figures. (207096 lines) Version 16.56.8: Nov 13, 2016 Contextual help on notices. (207002 lines) diff --git a/swad_help.c b/swad_help.c index 353e5102d..3a95f67e3 100644 --- a/swad_help.c +++ b/swad_help.c @@ -140,6 +140,8 @@ const char *Hlp_STATS_Figures_menu = WIKI "STATS.Figur const char *Hlp_STATS_Figures_columns = WIKI "STATS.Figures#columns"; const char *Hlp_STATS_Figures_privacy = WIKI "STATS.Figures#privacy"; +const char *Hlp_STATS_Report = WIKI "STATS.Report"; + const char *Hlp_STATS_Frequent = WIKI "STATS.Frequent"; /***** PROFILE tab *****/ diff --git a/swad_report.c b/swad_report.c index 3f68560db..b079d22d6 100644 --- a/swad_report.c +++ b/swad_report.c @@ -146,6 +146,7 @@ static void Rep_RemoveUsrReportsFromDB (long UsrCod); void Rep_ReqMyUsageReport (void) { + extern const char *Hlp_STATS_Report; extern const char *Txt_Report_of_use_of_PLATFORM; extern const char *Txt_Generate_report; @@ -154,7 +155,7 @@ void Rep_ReqMyUsageReport (void) /***** Start frame *****/ sprintf (Gbl.Title,Txt_Report_of_use_of_PLATFORM,Cfg_PLATFORM_SHORT_NAME); - Lay_StartRoundFrame (NULL,Gbl.Title,NULL,NULL); + Lay_StartRoundFrame (NULL,Gbl.Title,NULL,Hlp_STATS_Report); /***** Header *****/ Req_TitleReport (NULL); // NULL means do not write date @@ -187,7 +188,6 @@ void Rep_ShowMyUsageReport (void) static void Rep_CreateMyUsageReport (struct Rep_Report *Report) { - extern const char *Txt_Report_of_use_of_PLATFORM; bool GetUsrFiguresAgain; /***** Get current date-time *****/ @@ -252,13 +252,14 @@ static void Rep_CreateMyUsageReport (struct Rep_Report *Report) static void Rep_PutLinkToMyUsageReport (struct Rep_Report *Report) { + extern const char *Hlp_STATS_Report; extern const char *Txt_Report_of_use_of_PLATFORM; extern const char *Txt_Report; extern const char *Txt_This_link_will_remain_active_as_long_as_your_user_s_account_exists; /***** Start frame *****/ sprintf (Gbl.Title,Txt_Report_of_use_of_PLATFORM,Cfg_PLATFORM_SHORT_NAME); - Lay_StartRoundFrame (NULL,Gbl.Title,NULL,NULL); + Lay_StartRoundFrame (NULL,Gbl.Title,NULL,Hlp_STATS_Report); /***** Header *****/ Req_TitleReport (&Report->CurrentTimeUTC);