mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-15 21:24:07 +02:00
Version18.66.3
This commit is contained in:
parent
d7b9857647
commit
57a7ebe54b
|
@ -3387,6 +3387,7 @@ a.PAG:hover, .PAG_CUR
|
||||||
}
|
}
|
||||||
.FOLLOW_USR_ICO
|
.FOLLOW_USR_ICO
|
||||||
{
|
{
|
||||||
|
text-align:left;
|
||||||
padding:4px;
|
padding:4px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -428,10 +428,11 @@ En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 18.66.2 (2019-03-06)"
|
#define Log_PLATFORM_VERSION "SWAD 18.66.3 (2019-03-06)"
|
||||||
#define CSS_FILE "swad18.66.css"
|
#define CSS_FILE "swad18.66.3.css"
|
||||||
#define JS_FILE "swad18.64.js"
|
#define JS_FILE "swad18.64.js"
|
||||||
/*
|
/*
|
||||||
|
Version 18.66.3: Mar 06, 2019 Changed order of figures in user's profile. (238674 lines)
|
||||||
Version 18.66.2: Mar 06, 2019 Fixed bug while sending a new password, reported by Rosa María Cantarero López. (238672 lines)
|
Version 18.66.2: Mar 06, 2019 Fixed bug while sending a new password, reported by Rosa María Cantarero López. (238672 lines)
|
||||||
Version 18.66.1: Mar 06, 2019 Changed order of figures in user's profile. (238671 lines)
|
Version 18.66.1: Mar 06, 2019 Changed order of figures in user's profile. (238671 lines)
|
||||||
Version 18.66: Mar 06, 2019 Number of social posts is added as a new column in users' ranking.
|
Version 18.66: Mar 06, 2019 Number of social posts is added as a new column in users' ranking.
|
||||||
|
|
|
@ -538,33 +538,6 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat)
|
||||||
Prf_PutLinkCalculateFigures (UsrDat->EncryptedUsrCod);
|
Prf_PutLinkCalculateFigures (UsrDat->EncryptedUsrCod);
|
||||||
fprintf (Gbl.F.Out,"</li>");
|
fprintf (Gbl.F.Out,"</li>");
|
||||||
|
|
||||||
/***** Number of social publications *****/
|
|
||||||
fprintf (Gbl.F.Out,"<li title=\"%s\" class=\"PRF_FIG_LI\""
|
|
||||||
" style=\"background-image:url('%s/comment-dots.svg');\">",
|
|
||||||
Txt_Timeline,
|
|
||||||
Gbl.Prefs.URLIcons);
|
|
||||||
if (UsrFigures.NumSocPub >= 0)
|
|
||||||
{
|
|
||||||
fprintf (Gbl.F.Out,"%ld %s ",
|
|
||||||
UsrFigures.NumSocPub,
|
|
||||||
(UsrFigures.NumSocPub == 1) ? Txt_SOCIAL_post :
|
|
||||||
Txt_SOCIAL_posts);
|
|
||||||
Prf_ShowRanking (Prf_GetRankingFigure (UsrDat->UsrCod,"NumSocPub"),
|
|
||||||
Prf_GetNumUsrsWithFigure ("NumSocPub"));
|
|
||||||
if (UsrFigures.NumDays > 0)
|
|
||||||
{
|
|
||||||
fprintf (Gbl.F.Out," (");
|
|
||||||
Str_WriteFloatNum (Gbl.F.Out,
|
|
||||||
(float) UsrFigures.NumSocPub /
|
|
||||||
(float) UsrFigures.NumDays);
|
|
||||||
fprintf (Gbl.F.Out,"/%s)",Txt_day);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else // Number of social publications is unknown
|
|
||||||
/***** Button to fetch and store user's figures *****/
|
|
||||||
Prf_PutLinkCalculateFigures (UsrDat->EncryptedUsrCod);
|
|
||||||
fprintf (Gbl.F.Out,"</li>");
|
|
||||||
|
|
||||||
/***** Number of file views *****/
|
/***** Number of file views *****/
|
||||||
fprintf (Gbl.F.Out,"<li title=\"%s\" class=\"PRF_FIG_LI\""
|
fprintf (Gbl.F.Out,"<li title=\"%s\" class=\"PRF_FIG_LI\""
|
||||||
" style=\"background-image:url('%s/download.svg');\">",
|
" style=\"background-image:url('%s/download.svg');\">",
|
||||||
|
@ -592,6 +565,33 @@ void Prf_ShowDetailsUserProfile (const struct UsrData *UsrDat)
|
||||||
Prf_PutLinkCalculateFigures (UsrDat->EncryptedUsrCod);
|
Prf_PutLinkCalculateFigures (UsrDat->EncryptedUsrCod);
|
||||||
fprintf (Gbl.F.Out,"</li>");
|
fprintf (Gbl.F.Out,"</li>");
|
||||||
|
|
||||||
|
/***** Number of social publications *****/
|
||||||
|
fprintf (Gbl.F.Out,"<li title=\"%s\" class=\"PRF_FIG_LI\""
|
||||||
|
" style=\"background-image:url('%s/comment-dots.svg');\">",
|
||||||
|
Txt_Timeline,
|
||||||
|
Gbl.Prefs.URLIcons);
|
||||||
|
if (UsrFigures.NumSocPub >= 0)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"%ld %s ",
|
||||||
|
UsrFigures.NumSocPub,
|
||||||
|
(UsrFigures.NumSocPub == 1) ? Txt_SOCIAL_post :
|
||||||
|
Txt_SOCIAL_posts);
|
||||||
|
Prf_ShowRanking (Prf_GetRankingFigure (UsrDat->UsrCod,"NumSocPub"),
|
||||||
|
Prf_GetNumUsrsWithFigure ("NumSocPub"));
|
||||||
|
if (UsrFigures.NumDays > 0)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out," (");
|
||||||
|
Str_WriteFloatNum (Gbl.F.Out,
|
||||||
|
(float) UsrFigures.NumSocPub /
|
||||||
|
(float) UsrFigures.NumDays);
|
||||||
|
fprintf (Gbl.F.Out,"/%s)",Txt_day);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else // Number of social publications is unknown
|
||||||
|
/***** Button to fetch and store user's figures *****/
|
||||||
|
Prf_PutLinkCalculateFigures (UsrDat->EncryptedUsrCod);
|
||||||
|
fprintf (Gbl.F.Out,"</li>");
|
||||||
|
|
||||||
/***** Number of posts in forums *****/
|
/***** Number of posts in forums *****/
|
||||||
fprintf (Gbl.F.Out,"<li title=\"%s\" class=\"PRF_FIG_LI\""
|
fprintf (Gbl.F.Out,"<li title=\"%s\" class=\"PRF_FIG_LI\""
|
||||||
" style=\"background-image:url('%s/comments.svg');\">",
|
" style=\"background-image:url('%s/comments.svg');\">",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user