Version 14.90.2

This commit is contained in:
Antonio Cañas Vargas 2015-03-13 14:40:41 +01:00
parent 4976e3927c
commit 1e846a9a4e
3 changed files with 13 additions and 9 deletions

View File

@ -103,11 +103,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.90.1 (2015/03/13)"
#define Log_PLATFORM_VERSION "SWAD 14.90.2 (2015/03/13)"
// 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 14.90.2: Mar 13, 2015 Fixed minor bug in layout of user's figures. (181831 lines)
Version 14.90.1: Mar 13, 2015 Fixed bug in form used to upload files. (181827 lines)
Version 14.90: Mar 13, 2015 Animated gif icon when calculating user's figures.
Changes in all submit links. (181826 lines)

View File

@ -28,8 +28,8 @@
/** Uncomment one of the following installations of SWAD or create your own **/
/*****************************************************************************/
//#define LOCALHOST_UBUNTU // Comment this line if not applicable
#define OPENSWAD_ORG // Comment this line if not applicable
#define LOCALHOST_UBUNTU // Comment this line if not applicable
//#define OPENSWAD_ORG // Comment this line if not applicable
//#define SWAD_UGR_ES // Comment this line if not applicable
//#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable

View File

@ -7729,21 +7729,24 @@ void Usr_ShowDetailsUserProfile (const struct UsrData *UsrDat)
Txt_Clicks);
if (UsrFigures.NumClicks >= 0)
{
fprintf (Gbl.F.Out,"%ld&nbsp;%s<br />"
"<span class=\"RANK\">#%ld</span>"
"&nbsp;%s&nbsp;%ld",
fprintf (Gbl.F.Out,"%ld&nbsp;%s"
"<div style=\"vertical-align:middle;\">"
"<span class=\"RANK\">#%ld</span>"
"&nbsp;%s&nbsp;%ld"
"</div>",
UsrFigures.NumClicks,Txt_clicks,
Usr_GetRankingNumClicks (UsrDat->UsrCod),
Txt_of_PART_OF_A_TOTAL,
Usr_GetNumUsrsWithNumClicks ());
if (UsrFigures.NumDays >= 0)
{
fprintf (Gbl.F.Out,"<br />");
Str_WriteFloatNum ((float) UsrFigures.NumClicks /
(float) (UsrFigures.NumDays + 1));
fprintf (Gbl.F.Out,"&nbsp;/&nbsp;%s<br />"
fprintf (Gbl.F.Out,"&nbsp;/&nbsp;%s"
"<div style=\"vertical-align:middle;\">"
"<span class=\"RANK\">#%ld</span>"
"&nbsp;%s&nbsp;%ld",
"&nbsp;%s&nbsp;%ld"
"</div>",
Txt_day,
Usr_GetRankingNumClicksPerDay (UsrDat->UsrCod),
Txt_of_PART_OF_A_TOTAL,