Version 15.83.1

This commit is contained in:
Antonio Cañas Vargas 2015-12-30 09:56:06 +01:00
parent fcd271d963
commit 84dd545bec
2 changed files with 6 additions and 5 deletions

View File

@ -116,14 +116,15 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.83 (2015-12-30)"
#define Log_PLATFORM_VERSION "SWAD 15.83.1 (2015-12-30)"
#define CSS_FILE "swad15.80.css"
#define JS_FILE "swad15.77.7.js"
// 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 15.83: Dec 30, 2015 Form to remove a social post. (? lines)
Version 15.83.1: Dec 30, 2015 Fixed bug in user's public profile. (189210 lines)
Version 15.83: Dec 30, 2015 Form to remove a social post. (189209 lines)
Version 15.82.4: Dec 30, 2015 Action to write a new social post is removed form menu. (189159 lines)
Version 15.82.3: Dec 30, 2015 Contextual link to write a new social post. (189199 lines)
Version 15.82.2: Dec 30, 2015 Current timeline is displayed below the form to write a new social post. (189183 lines)

View File

@ -165,9 +165,9 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat,
/* I follow user? */
fprintf (Gbl.F.Out,"<div id=\"follow_usr\">");
if (!ItsMe)
if (Gbl.Usrs.Me.Logged && !ItsMe) // It's another logged user
{
if (IFollowUsr)
if (IFollowUsr) // I follow this user
{
Act_FormStart (ActUnfUsr);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);
@ -183,7 +183,7 @@ void Fol_ShowFollowingAndFollowers (const struct UsrData *UsrDat,
Txt_Unfollow,Txt_Following_unfollow);
Act_FormEnd ();
}
else // I do not follow user
else // I do not follow this user
{
Act_FormStart (ActFolUsr);
Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod);