diff --git a/swad_changelog.h b/swad_changelog.h index 3cb4aefe8..d53df5954 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -133,7 +133,7 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.190.4 (2016-04-09)" +#define Log_PLATFORM_VERSION "SWAD 15.190.5 (2016-04-09)" #define CSS_FILE "swad15.190.1.css" #define JS_FILE "swad15.190.1.js" @@ -141,6 +141,8 @@ // 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.6: Apr 09, 2016 Changes in layout of form to write a new message. (? lines) + Version 15.190.5: Apr 09, 2016 Changes in layout of form to write a new forum post. (199156 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) diff --git a/swad_forum.c b/swad_forum.c index 0d17c4aed..1c5ca4687 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -3703,6 +3703,13 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) extern const char *Txt_MSG_Message; extern const char *Txt_Send_message; + /***** Start frame *****/ + Lay_StartRoundFrame (NULL, + IsReply ? Txt_New_message : + Txt_New_thread, + NULL); + + /***** Start form *****/ if (IsReply) // Form to write a reply to a message of an existing thread { Act_FormStart (For_ActionsRecRepFor[Gbl.Forum.ForumType]); @@ -3713,12 +3720,6 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) Act_FormStart (For_ActionsRecThrFor[Gbl.Forum.ForumType]); For_PutAllHiddenParamsForum (); - /***** Start frame *****/ - Lay_StartRoundFrame (NULL, - IsReply ? Txt_New_message : - Txt_New_thread, - NULL); - /***** Start table *****/ fprintf (Gbl.F.Out,""); @@ -3756,11 +3757,14 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject) /***** Help for text editor *****/ Lay_HelpPlainEditor (); - /***** Send button and end frame *****/ - Lay_EndRoundFrameWithButton (Lay_CREATE_BUTTON,Txt_Send_message); + /***** Send button *****/ + Lay_PutCreateButton (Txt_Send_message); /***** End form *****/ Act_FormEnd (); + + /***** End frame *****/ + Lay_EndRoundFrame (); } /*****************************************************************************/