From 56a84e533ffeb772c05100047171e37c35976ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 2 Oct 2016 23:38:40 +0200 Subject: [PATCH] Version 16.7.2 --- swad_changelog.h | 3 ++- swad_report.c | 14 +++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 7598064cb..bc5e8f2d6 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -143,13 +143,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.7.1 (2016-10-02)" +#define Log_PLATFORM_VERSION "SWAD 16.7.2 (2016-10-02)" #define CSS_FILE "swad15.229.css" #define JS_FILE "swad15.238.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.7.2: Oct 02, 2016 Change in order of hits in user's usage report. (205546 lines) Version 16.7.1: Oct 02, 2016 Fixed bugs in user's usage report. Removed unused code in user's usage report. (205545 lines) Version 16.7: Oct 02, 2016 Improvements user's usage report. (205645 lines) diff --git a/swad_report.c b/swad_report.c index c4226c085..7560e3338 100644 --- a/swad_report.c +++ b/swad_report.c @@ -392,6 +392,13 @@ static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint) fprintf (Gbl.F.Out,""); + /***** Global hits *****/ + fprintf (Gbl.F.Out,"

%s

",Txt_Hits); + Rep_ShowMyHitsPerYear (true,-1L,Rol_UNKNOWN, + UsrFigures.FirstClickTimeUTC, + &tm_FirstClickTime, + 0); + /***** Current courses *****/ fprintf (Gbl.F.Out,"

%s",Txt_Courses); if (StrCurrentDate[0]) @@ -427,13 +434,6 @@ static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint) fprintf (Gbl.F.Out,""); - /***** Global hits *****/ - fprintf (Gbl.F.Out,"

%s

",Txt_Hits); - Rep_ShowMyHitsPerYear (true,-1L,Rol_UNKNOWN, - UsrFigures.FirstClickTimeUTC, - &tm_FirstClickTime, - 0); - /***** End frame *****/ fprintf (Gbl.F.Out,""); if (SeeOrPrint == Rep_SEE)