From 4b5898a21916dfa537de1d41d49b37ce22652a38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 28 Jan 2016 21:38:24 +0100 Subject: [PATCH] Version 15.133.7 --- swad_changelog.h | 5 +++-- swad_follow.c | 12 ++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index cb56fc107..3e4a9a0d6 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_follow.c b/swad_follow.c index f9a8a767a..ed85b43fe 100644 --- a/swad_follow.c +++ b/swad_follow.c @@ -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,""); + 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,"
"); + 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,""); + 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,"
"); + Lay_EndRoundFrameTable (); /***** Free memory used for user's data *****/ Usr_UsrDataDestructor (&UsrDat);