mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-13 04:04:35 +02:00
Version 15.250.5
This commit is contained in:
parent
95764c5db3
commit
18e4c3bb05
|
@ -135,13 +135,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.250.4 (2016-09-11)"
|
#define Log_PLATFORM_VERSION "SWAD 15.250.5 (2016-09-11)"
|
||||||
#define CSS_FILE "swad15.229.css"
|
#define CSS_FILE "swad15.229.css"
|
||||||
#define JS_FILE "swad15.238.1.js"
|
#define JS_FILE "swad15.238.1.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// 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.5: Sep 11, 2016 Number of clicks in user's usage report. (204189 lines)
|
||||||
Version 15.250.4: Sep 11, 2016 Time of first click in user's usage report. (204171 lines)
|
Version 15.250.4: Sep 11, 2016 Time of first click in user's usage report. (204171 lines)
|
||||||
Version 15.250.3: Sep 11, 2016 Number of puslished files in user's usage report. (? lines)
|
Version 15.250.3: Sep 11, 2016 Number of puslished files in user's usage report. (? lines)
|
||||||
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.2: Sep 11, 2016 Record card replaced by raw user's data in user's usage report. (204100 lines)
|
||||||
|
|
|
@ -455,11 +455,11 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat)
|
||||||
Prf_PutLinkToUpdateAction (ActCal1stClkTim,UsrDat->EncryptedUsrCod);
|
Prf_PutLinkToUpdateAction (ActCal1stClkTim,UsrDat->EncryptedUsrCod);
|
||||||
fprintf (Gbl.F.Out,"</li>");
|
fprintf (Gbl.F.Out,"</li>");
|
||||||
|
|
||||||
/***** End of right list *****/
|
/***** End of left list *****/
|
||||||
fprintf (Gbl.F.Out,"</ul>"
|
fprintf (Gbl.F.Out,"</ul>"
|
||||||
"</div>");
|
"</div>");
|
||||||
|
|
||||||
/***** Start left list *****/
|
/***** Start right list *****/
|
||||||
fprintf (Gbl.F.Out,"<div class=\"PRF_FIG_RIGHT_CONTAINER\">"
|
fprintf (Gbl.F.Out,"<div class=\"PRF_FIG_RIGHT_CONTAINER\">"
|
||||||
"<ul class=\"PRF_FIG_UL DAT_NOBR_N\">");
|
"<ul class=\"PRF_FIG_UL DAT_NOBR_N\">");
|
||||||
|
|
||||||
|
|
|
@ -93,6 +93,7 @@ static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint)
|
||||||
extern const char *Txt_From_TIME;
|
extern const char *Txt_From_TIME;
|
||||||
extern const char *Txt_day;
|
extern const char *Txt_day;
|
||||||
extern const char *Txt_days;
|
extern const char *Txt_days;
|
||||||
|
extern const char *Txt_Clicks;
|
||||||
extern const char *Txt_Files_uploaded;
|
extern const char *Txt_Files_uploaded;
|
||||||
extern const char *Txt_file;
|
extern const char *Txt_file;
|
||||||
extern const char *Txt_files;
|
extern const char *Txt_files;
|
||||||
|
@ -173,7 +174,24 @@ static void Rep_ShowOrPrintMyUsageReport (Rep_SeeOrPrint_t SeeOrPrint)
|
||||||
Txt_days);
|
Txt_days);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else // Time of first click is unknown
|
||||||
|
fprintf (Gbl.F.Out,"?");
|
||||||
|
fprintf (Gbl.F.Out,"</li>");
|
||||||
|
|
||||||
|
/***** Number of clicks *****/
|
||||||
|
fprintf (Gbl.F.Out,"<li>%s: ",Txt_Clicks);
|
||||||
|
if (UsrFigures.NumClicks >= 0)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"%ld",UsrFigures.NumClicks);
|
||||||
|
if (UsrFigures.NumDays > 0)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out," (");
|
||||||
|
Str_WriteFloatNum ((float) UsrFigures.NumClicks /
|
||||||
|
(float) UsrFigures.NumDays);
|
||||||
|
fprintf (Gbl.F.Out,"/%s)",Txt_day);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else // Number of clicks is unknown
|
||||||
fprintf (Gbl.F.Out,"?");
|
fprintf (Gbl.F.Out,"?");
|
||||||
fprintf (Gbl.F.Out,"</li>");
|
fprintf (Gbl.F.Out,"</li>");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user