diff --git a/swad_changelog.h b/swad_changelog.h index e18dd005a..6d7949f2f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -214,13 +214,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.181.5 (2017-04-18)" +#define Log_PLATFORM_VERSION "SWAD 16.181.6 (2017-04-18)" #define CSS_FILE "swad16.181.css" #define JS_FILE "swad16.181.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 16.181.6: Apr 18, 2017 Code refactoring in forums. (217648 lines) Version 16.181.5: Apr 18, 2017 Code refactoring in forums. (217646 lines) Version 16.181.4: Apr 18, 2017 Changes in layout of forums. (217621 lines) Version 16.181.3: Apr 18, 2017 Code refactoring in forums. (217604 lines) diff --git a/swad_forum.c b/swad_forum.c index 746d07f87..ea1ed184a 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -2666,10 +2666,11 @@ static void For_PutIconNewThread (void) { extern const char *Txt_New_thread; - fprintf (Gbl.F.Out,"", - For_ID_NEW_THREAD_SECTION,Txt_New_thread); - Lay_PutIconWithText ("plus64x64.png",Txt_New_thread,NULL); - fprintf (Gbl.F.Out,""); + Lay_PutContextualLink (For_ActionsSeeFor[Gbl.Forum.ForumSelected.Type], + For_ID_NEW_THREAD_SECTION,For_PutAllHiddenParamsSelectedForum, + "plus64x64.png", + Txt_New_thread,NULL, + NULL); } /*****************************************************************************/