mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 22:35:28 +02:00
Version 14.90.2
This commit is contained in:
parent
4976e3927c
commit
1e846a9a4e
|
@ -103,11 +103,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** 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:
|
// 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 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.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.
|
Version 14.90: Mar 13, 2015 Animated gif icon when calculating user's figures.
|
||||||
Changes in all submit links. (181826 lines)
|
Changes in all submit links. (181826 lines)
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
/** Uncomment one of the following installations of SWAD or create your own **/
|
/** Uncomment one of the following installations of SWAD or create your own **/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
//#define LOCALHOST_UBUNTU // 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 OPENSWAD_ORG // Comment this line if not applicable
|
||||||
//#define SWAD_UGR_ES // 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
|
//#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable
|
||||||
|
|
||||||
|
|
15
swad_user.c
15
swad_user.c
|
@ -7729,21 +7729,24 @@ void Usr_ShowDetailsUserProfile (const struct UsrData *UsrDat)
|
||||||
Txt_Clicks);
|
Txt_Clicks);
|
||||||
if (UsrFigures.NumClicks >= 0)
|
if (UsrFigures.NumClicks >= 0)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"%ld %s<br />"
|
fprintf (Gbl.F.Out,"%ld %s"
|
||||||
"<span class=\"RANK\">#%ld</span>"
|
"<div style=\"vertical-align:middle;\">"
|
||||||
" %s %ld",
|
"<span class=\"RANK\">#%ld</span>"
|
||||||
|
" %s %ld"
|
||||||
|
"</div>",
|
||||||
UsrFigures.NumClicks,Txt_clicks,
|
UsrFigures.NumClicks,Txt_clicks,
|
||||||
Usr_GetRankingNumClicks (UsrDat->UsrCod),
|
Usr_GetRankingNumClicks (UsrDat->UsrCod),
|
||||||
Txt_of_PART_OF_A_TOTAL,
|
Txt_of_PART_OF_A_TOTAL,
|
||||||
Usr_GetNumUsrsWithNumClicks ());
|
Usr_GetNumUsrsWithNumClicks ());
|
||||||
if (UsrFigures.NumDays >= 0)
|
if (UsrFigures.NumDays >= 0)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<br />");
|
|
||||||
Str_WriteFloatNum ((float) UsrFigures.NumClicks /
|
Str_WriteFloatNum ((float) UsrFigures.NumClicks /
|
||||||
(float) (UsrFigures.NumDays + 1));
|
(float) (UsrFigures.NumDays + 1));
|
||||||
fprintf (Gbl.F.Out," / %s<br />"
|
fprintf (Gbl.F.Out," / %s"
|
||||||
|
"<div style=\"vertical-align:middle;\">"
|
||||||
"<span class=\"RANK\">#%ld</span>"
|
"<span class=\"RANK\">#%ld</span>"
|
||||||
" %s %ld",
|
" %s %ld"
|
||||||
|
"</div>",
|
||||||
Txt_day,
|
Txt_day,
|
||||||
Usr_GetRankingNumClicksPerDay (UsrDat->UsrCod),
|
Usr_GetRankingNumClicksPerDay (UsrDat->UsrCod),
|
||||||
Txt_of_PART_OF_A_TOTAL,
|
Txt_of_PART_OF_A_TOTAL,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user