mirror of https://github.com/acanas/swad-core.git
Version 14.94.1
This commit is contained in:
parent
cf191ade79
commit
a5baf663c5
|
@ -103,11 +103,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 14.94 (2015/03/17)"
|
#define Log_PLATFORM_VERSION "SWAD 14.94.1 (2015/03/17)"
|
||||||
|
|
||||||
// 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.94.1: Mar 17, 2015 Fixed bug in user's profile. (182667 lines)
|
||||||
Version 14.94: Mar 17, 2015 Ranking for downloads, forum posts and messages in user's profile. (182666 lines)
|
Version 14.94: Mar 17, 2015 Ranking for downloads, forum posts and messages in user's profile. (182666 lines)
|
||||||
Version 14.93.4: Mar 17, 2015 Links in user's figures to ranking. (182661 lines)
|
Version 14.93.4: Mar 17, 2015 Links in user's figures to ranking. (182661 lines)
|
||||||
Version 14.93.3: Mar 16, 2015 Changes in rankings. (182630 lines)
|
Version 14.93.3: Mar 16, 2015 Changes in rankings. (182630 lines)
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
/** 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
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -674,7 +674,7 @@ static void Prf_GetUsrFigures (long UsrCod,struct UsrFigures *UsrFigures)
|
||||||
|
|
||||||
static unsigned long Prf_GetRankingFigure (long UsrCod,const char *FieldName)
|
static unsigned long Prf_GetRankingFigure (long UsrCod,const char *FieldName)
|
||||||
{
|
{
|
||||||
char Query[128];
|
char Query[256];
|
||||||
|
|
||||||
/***** Select number of rows with figure
|
/***** Select number of rows with figure
|
||||||
greater than the figure of this user *****/
|
greater than the figure of this user *****/
|
||||||
|
@ -757,11 +757,11 @@ static void Prf_ShowRanking (unsigned long Rank,unsigned long NumUsrs)
|
||||||
Sco_PutParamScope (Sco_SCOPE_SYS);
|
Sco_PutParamScope (Sco_SCOPE_SYS);
|
||||||
Par_PutHiddenParamUnsigned ("UseStatType",(unsigned) Sta_USRS_RANKING);
|
Par_PutHiddenParamUnsigned ("UseStatType",(unsigned) Sta_USRS_RANKING);
|
||||||
Act_LinkFormSubmit (Txt_Ranking,"RANK");
|
Act_LinkFormSubmit (Txt_Ranking,"RANK");
|
||||||
fprintf (Gbl.F.Out,"#%ld</a>",Rank);
|
fprintf (Gbl.F.Out,"#%lu</a>",Rank);
|
||||||
Act_FormEnd ();
|
Act_FormEnd ();
|
||||||
|
|
||||||
/***** Part of a total and end container *****/
|
/***** Part of a total and end container *****/
|
||||||
fprintf (Gbl.F.Out," %s %ld"
|
fprintf (Gbl.F.Out," %s %lu"
|
||||||
"</div>",
|
"</div>",
|
||||||
Txt_of_PART_OF_A_TOTAL,NumUsrs);
|
Txt_of_PART_OF_A_TOTAL,NumUsrs);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue