Version 15.133.7

This commit is contained in:
Antonio Cañas Vargas 2016-01-28 21:38:24 +01:00
parent cfe270e3ff
commit 4b5898a219
2 changed files with 9 additions and 8 deletions

View File

@ -121,14 +121,15 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.133.6 (2016-01-28)"
#define Log_PLATFORM_VERSION "SWAD 15.133.7 (2016-01-28)"
#define CSS_FILE "swad15.131.2.css"
#define JS_FILE "swad15.131.3.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.133.6: Jan 28, 2016 Changes in layour of "Who to follow". (195287 lines)
Version 15.133.7: Jan 28, 2016 Changes in layout of followed/followers. (195288 lines)
Version 15.133.6: Jan 28, 2016 Changes in layout of "Who to follow". (195287 lines)
Version 15.133.5: Jan 28, 2016 Unlogged users can not view "Who to follow". (195276 lines)
Version 15.133.4: Jan 28, 2016 Fixed bug in notifications about timeline events. Reported by Juan Miguel Boyero Corral. (195272 lines)
Version 15.133.3: Jan 28, 2016 Changes in query to get users to follow. (195256 lines)

View File

@ -468,6 +468,7 @@ static void Fol_ShowNumberOfFollowingOrFollowers (const struct UsrData *UsrDat,
void Fol_ListFollowing (void)
{
extern const char *Txt_Following;
extern const char *Txt_User_not_found_or_you_do_not_have_permission_;
char Query[256];
MYSQL_RES *mysql_res;
@ -493,8 +494,7 @@ void Fol_ListFollowing (void)
Usr_UsrDataConstructor (&UsrDat);
/***** Start listing *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\""
" style=\"margin:12px auto;\">");
Lay_StartRoundFrameTable (NULL,2,Txt_Following);
for (NumUsr = 0;
NumUsr < NumUsrs;
@ -517,7 +517,7 @@ void Fol_ListFollowing (void)
}
/***** End listing *****/
fprintf (Gbl.F.Out,"</table>");
Lay_EndRoundFrameTable ();
/***** Free memory used for user's data *****/
Usr_UsrDataDestructor (&UsrDat);
@ -539,6 +539,7 @@ void Fol_ListFollowing (void)
void Fol_ListFollowers (void)
{
extern const char *Txt_Followers;
extern const char *Txt_User_not_found_or_you_do_not_have_permission_;
char Query[256];
MYSQL_RES *mysql_res;
@ -569,8 +570,7 @@ void Fol_ListFollowers (void)
Usr_UsrDataConstructor (&UsrDat);
/***** Start listing *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\""
" style=\"margin:12px auto;\">");
Lay_StartRoundFrameTable (NULL,2,Txt_Followers);
for (NumUsr = 0;
NumUsr < NumUsrs;
@ -593,7 +593,7 @@ void Fol_ListFollowers (void)
}
/***** End listing *****/
fprintf (Gbl.F.Out,"</table>");
Lay_EndRoundFrameTable ();
/***** Free memory used for user's data *****/
Usr_UsrDataDestructor (&UsrDat);