diff --git a/swad_changelog.h b/swad_changelog.h index 7a6591860..8dada3e21 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -135,13 +135,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.250.7 (2016-09-11)" +#define Log_PLATFORM_VERSION "SWAD 15.250.8 (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.8: Sep 11, 2016 Number of messages sent in user's usage report. (204278 lines) Version 15.250.7: Sep 11, 2016 Number of posts in forums in user's usage report. (204235 lines) Version 15.250.6: Sep 11, 2016 Number of downloads in user's usage report. (204207 lines) Version 15.250.5: Sep 11, 2016 Number of clicks in user's usage report. (204189 lines) diff --git a/swad_profile.c b/swad_profile.c index 7d7e6e097..c2b7006d3 100644 --- a/swad_profile.c +++ b/swad_profile.c @@ -568,7 +568,7 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat) fprintf (Gbl.F.Out,"/%s)",Txt_day); } } - else // Number of clicks is unknown + else // Number of messages sent is unknown /***** Button to fetch and store number of messages sent *****/ Prf_PutLinkToUpdateAction (ActCalNumMsgSnt,UsrDat->EncryptedUsrCod); fprintf (Gbl.F.Out,""); diff --git a/swad_report.c b/swad_report.c index 11ccf3004..43e016133 100644 --- a/swad_report.c +++ b/swad_report.c @@ -104,6 +104,9 @@ static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint) extern const char *Txt_Forum_posts; extern const char *Txt_post; extern const char *Txt_posts; + extern const char *Txt_Messages_sent; + extern const char *Txt_message; + extern const char *Txt_messages; unsigned NumID; char CtyName[Cty_MAX_BYTES_COUNTRY_NAME+1]; struct Institution Ins; @@ -255,6 +258,26 @@ static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint) fprintf (Gbl.F.Out,"?"); fprintf (Gbl.F.Out,""); + /***** Number of messages sent *****/ + fprintf (Gbl.F.Out,"