Version 15.190.4

This commit is contained in:
Antonio Cañas Vargas 2016-04-09 18:15:54 +02:00
parent 0ebaa16587
commit 7f8f0f5788
2 changed files with 20 additions and 10 deletions

View File

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

View File

@ -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,"<table class=\"CELLS_PAD_2\">");
/***** Subject *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_TOP\">"
"%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,"</textarea>"
"</td>"
"</tr>"
"<tr>"
"</tr>");
/***** Post *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_TOP\">"
"%s: "
"</td>"
@ -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,"</table>");
/***** Help for text editor *****/
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"2\">");
Lay_HelpPlainEditor ();
fprintf (Gbl.F.Out,"</td>"
"</tr>");
/***** 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 ();