From b630d06d718889569bd59a16cd765a3f6032ce71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 8 Sep 2016 19:21:25 +0200 Subject: [PATCH] Version 15.249.2 --- swad_changelog.h | 3 ++- swad_report.c | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 8262df776..3d7771749 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -135,13 +135,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.249.1 (2016-09-08)" +#define Log_PLATFORM_VERSION "SWAD 15.249.2 (2016-09-08)" #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 15.249.2: Sep 08, 2016 Shared record card and details of user's profile are shown in uswer's usage report. (203978 lines) Version 15.249.1: Sep 08, 2016 Removed lines with NULL values in swad_text.c. (203977 lines) Version 15.249: Sep 08, 2016 New option Statistics > Report. Not implemented. (204341 lines) Version 15.248.3: Sep 07, 2016 Fixed bug related to attendance events in web service, reported by Rubén Martín Hidalgo. (? lines) diff --git a/swad_report.c b/swad_report.c index b4568ea2f..0b09bc0f2 100644 --- a/swad_report.c +++ b/swad_report.c @@ -29,12 +29,8 @@ // #include // For sprintf // #include // For string functions -// #include "swad_database.h" -// #include "swad_follow.h" -// #include "swad_global.h" -// #include "swad_notification.h" -// #include "swad_profile.h" -// #include "swad_user.h" +#include "swad_global.h" +#include "swad_profile.h" /*****************************************************************************/ /****************************** Public constants *****************************/ @@ -52,7 +48,7 @@ /************** External global variables from others modules ****************/ /*****************************************************************************/ -// extern struct Globals Gbl; +extern struct Globals Gbl; /*****************************************************************************/ /************************* Internal global variables *************************/ @@ -68,4 +64,9 @@ void Rep_ShowMyUsageReport (void) { + /***** Common record *****/ + Rec_ShowSharedUsrRecord (Rec_RECORD_PUBLIC,&Gbl.Usrs.Me.UsrDat); + + /***** Show details of user's profile *****/ + Prf_ShowDetailsUserProfile (&Gbl.Usrs.Me.UsrDat); }