diff --git a/swad_changelog.h b/swad_changelog.h index 473a15d1a..3cb4aefe8 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -133,13 +133,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.190.3 (2016-04-09)" +#define Log_PLATFORM_VERSION "SWAD 15.190.4 (2016-04-09)" #define CSS_FILE "swad15.190.1.css" #define JS_FILE "swad15.190.1.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.191: Apr 09, 2016 Form to attach an image to a forum post. Not finished. (? lines) + Version 15.190.4: Apr 09, 2016 Changes in layout of form to write a new forum post. (199152 lines) Version 15.190.3: Apr 09, 2016 Change in format of image title/attribution. (199145 lines) Version 15.190.2: Apr 09, 2016 Fixed bug in test images. (199144 lines) Version 15.190.1: Apr 08, 2016 Removed unused JavaScript code. (199132 lines) diff --git a/swad_forum.c b/swad_forum.c index fd549bea6..0d17c4aed 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -3714,8 +3714,15 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) For_PutAllHiddenParamsForum (); /***** Start frame *****/ - Lay_StartRoundFrameTable (NULL,2,IsReply ? Txt_New_message : - Txt_New_thread); + Lay_StartRoundFrame (NULL, + IsReply ? Txt_New_message : + Txt_New_thread, + NULL); + + /***** Start table *****/ + fprintf (Gbl.F.Out,""); + + /***** Subject *****/ fprintf (Gbl.F.Out,"" "" - "" - "" + ""); + + /***** Post *****/ + fprintf (Gbl.F.Out,"" "" @@ -3741,15 +3750,14 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) The_ClassForm[Gbl.Prefs.Theme], Txt_MSG_Message); + /***** End table *****/ + fprintf (Gbl.F.Out,"
" "%s: " @@ -3728,8 +3735,10 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) fprintf (Gbl.F.Out,"%s",Subject); fprintf (Gbl.F.Out,"" "
" "%s: " "
"); + /***** Help for text editor *****/ - fprintf (Gbl.F.Out,"" - ""); Lay_HelpPlainEditor (); - fprintf (Gbl.F.Out,"" - ""); /***** Send button and end frame *****/ - Lay_EndRoundFrameTableWithButton (Lay_CREATE_BUTTON,Txt_Send_message); + Lay_EndRoundFrameWithButton (Lay_CREATE_BUTTON,Txt_Send_message); /***** End form *****/ Act_FormEnd ();