Version 15.190.5

This commit is contained in:
Antonio Cañas Vargas 2016-04-09 18:23:15 +02:00
parent 7f8f0f5788
commit c4961c740a
2 changed files with 15 additions and 9 deletions

View File

@ -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)

View File

@ -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,"<table class=\"CELLS_PAD_2\">");
@ -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 ();
}
/*****************************************************************************/