diff --git a/swad_changelog.h b/swad_changelog.h index ce6053f2c..1d98d376b 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -135,13 +135,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.250.1 (2016-09-09)" +#define Log_PLATFORM_VERSION "SWAD 15.250.2 (2016-09-11)" #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.250.2: Sep 11, 2016 Record card replaced by raw user's data in user's usage report. (204100 lines) Version 15.250.1: Sep 09, 2016 Changes in layout of user's usage report. (204056 lines) Version 15.250: Sep 09, 2016 New option to print user's usage report. (204053 lines) Version 15.249.5: Sep 08, 2016 Changes in layout of user's usage report. (204019 lines) diff --git a/swad_report.c b/swad_report.c index 589fa51e8..6e0038c62 100644 --- a/swad_report.c +++ b/swad_report.c @@ -30,6 +30,7 @@ // #include // For string functions #include "swad_global.h" +#include "swad_ID.h" #include "swad_profile.h" /*****************************************************************************/ @@ -84,14 +85,61 @@ void Rep_PrintMyUsageReport (void) static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint) { extern const char *Txt_Report_of_use_of_the_platform; + extern const char *Txt_User[Usr_NUM_SEXS]; + extern const char *Txt_ID; + extern const char *Txt_Email; + extern const char *Txt_Country; + extern const char *Txt_Institution; + unsigned NumID; + char CtyName[Cty_MAX_BYTES_COUNTRY_NAME+1]; + struct Institution Ins; /***** Start frame and table *****/ Lay_StartRoundFrame ("100%",Txt_Report_of_use_of_the_platform, SeeOrPrint == Rep_SEE ? Rep_PutIconToPrintMyUsageReport : NULL); + fprintf (Gbl.F.Out,""); /***** Show details of user's profile *****/ Prf_ShowDetailsUserProfile (&Gbl.Usrs.Me.UsrDat);