mirror of https://github.com/acanas/swad-core.git
Version 16.17.10
This commit is contained in:
parent
9ccd900740
commit
1832f00f63
|
@ -148,13 +148,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.17.9 (2016-10-08)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.17.10 (2016-10-09)"
|
||||
#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.17.10: Oct 09, 2016 Code refactoring in user's usage report. (206285 lines)
|
||||
Version 16.17.9: Oct 08, 2016 Code refactoring in user's usage report. (206286 lines)
|
||||
Version 16.17.8: Oct 08, 2016 Code refactoring in user's usage report. (206289 lines)
|
||||
Version 16.17.7: Oct 08, 2016 Code refactoring in user's usage report. (206290 lines)
|
||||
|
|
|
@ -110,8 +110,7 @@ static void Rep_GetCurrentDateTimeUTC (struct Rep_Report *Report);
|
|||
|
||||
static void Rep_CreateNewReportFile (struct Rep_Report *Report);
|
||||
static void Rep_CreateNewReportEntryIntoDB (const struct Rep_Report *Report);
|
||||
static void Rep_WriteHeader (const struct Rep_CurrentTimeUTC *CurrentTimeUTC,
|
||||
const char *Permalink);
|
||||
static void Rep_WriteHeader (const struct Rep_Report *Report);
|
||||
static void Rep_WriteSectionPlatform (void);
|
||||
static void Rep_WriteSectionUsrInfo (void);
|
||||
static void Rep_WriteSectionUsrFigures (const struct UsrFigures *UsrFigures,
|
||||
|
@ -225,7 +224,7 @@ static void Rep_CreateMyUsageReport (struct Rep_Report *Report)
|
|||
" font-family:Helvetica,Arial,sans-serif;\">\n");
|
||||
|
||||
/***** Header *****/
|
||||
Rep_WriteHeader (&Report->CurrentTimeUTC,Report->Permalink);
|
||||
Rep_WriteHeader (Report);
|
||||
|
||||
/***** Platform *****/
|
||||
Rep_WriteSectionPlatform ();
|
||||
|
@ -449,8 +448,7 @@ static void Rep_CreateNewReportEntryIntoDB (const struct Rep_Report *Report)
|
|||
/******************** Write header of user's usage report ********************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Rep_WriteHeader (const struct Rep_CurrentTimeUTC *CurrentTimeUTC,
|
||||
const char *Permalink)
|
||||
static void Rep_WriteHeader (const struct Rep_Report *Report)
|
||||
{
|
||||
extern const char *Txt_Report_of_use_of_PLATFORM;
|
||||
extern const char *Txt_User[Usr_NUM_SEXS];
|
||||
|
@ -474,8 +472,8 @@ static void Rep_WriteHeader (const struct Rep_CurrentTimeUTC *CurrentTimeUTC,
|
|||
/***** Date-time *****/
|
||||
fprintf (Gbl.F.Rep,"<li>%s: %s %s UTC</li>",
|
||||
Txt_Date,
|
||||
CurrentTimeUTC->StrDate,
|
||||
CurrentTimeUTC->StrTime);
|
||||
Report->CurrentTimeUTC.StrDate,
|
||||
Report->CurrentTimeUTC.StrTime);
|
||||
|
||||
/***** Permalink *****/
|
||||
fprintf (Gbl.F.Rep,"<li>%s: "
|
||||
|
@ -485,7 +483,7 @@ static void Rep_WriteHeader (const struct Rep_CurrentTimeUTC *CurrentTimeUTC,
|
|||
"</a>"
|
||||
"</li>",
|
||||
Txt_Permalink,
|
||||
Permalink,Permalink);
|
||||
Report->Permalink,Report->Permalink);
|
||||
|
||||
/***** End of header *****/
|
||||
fprintf (Gbl.F.Rep,"</ul>"
|
||||
|
|
Loading…
Reference in New Issue