Version 14.94.1

This commit is contained in:
Antonio Cañas Vargas 2015-03-17 02:01:30 +01:00
parent cf191ade79
commit a5baf663c5
3 changed files with 7 additions and 6 deletions

View File

@ -103,11 +103,12 @@
/****************************** 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:
// 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.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)

View File

@ -28,9 +28,9 @@
/** 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 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
/*****************************************************************************/

View File

@ -674,7 +674,7 @@ static void Prf_GetUsrFigures (long UsrCod,struct UsrFigures *UsrFigures)
static unsigned long Prf_GetRankingFigure (long UsrCod,const char *FieldName)
{
char Query[128];
char Query[256];
/***** Select number of rows with figure
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);
Par_PutHiddenParamUnsigned ("UseStatType",(unsigned) Sta_USRS_RANKING);
Act_LinkFormSubmit (Txt_Ranking,"RANK");
fprintf (Gbl.F.Out,"#%ld</a>",Rank);
fprintf (Gbl.F.Out,"#%lu</a>",Rank);
Act_FormEnd ();
/***** Part of a total and end container *****/
fprintf (Gbl.F.Out,"&nbsp;%s&nbsp;%ld"
fprintf (Gbl.F.Out,"&nbsp;%s&nbsp;%lu"
"</div>",
Txt_of_PART_OF_A_TOTAL,NumUsrs);
}