diff --git a/swad_announcement.c b/swad_announcement.c
index 2bd03a901..c6aef8c91 100644
--- a/swad_announcement.c
+++ b/swad_announcement.c
@@ -419,22 +419,24 @@ void Ann_ShowFormAnnouncement (void)
Lay_StartRoundFrameTable (NULL,Txt_New_announcement,
NULL,Hlp_MESSAGES_Announcements,2);
- /***** Message subject and body *****/
+ /***** Announcement subject and body *****/
fprintf (Gbl.F.Out,"
"
- "
"
- "%s: "
+ "
"
+ ""
"
"
"
"
- "
"
"
"
"
"
- "
"
- "%s: "
+ "
"
+ ""
"
"
"
"
- "
"
+ "
"
"
"
"
"
"
",
diff --git a/swad_changelog.h b/swad_changelog.h
index f18e62f03..760f75c2a 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -188,13 +188,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 16.106.9 (2016-12-24)"
+#define Log_PLATFORM_VERSION "SWAD 16.106.10 (2016-12-24)"
#define CSS_FILE "swad16.106.5.css"
#define JS_FILE "swad16.101.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.106.10:Dec 24, 2016 Changes in behaviour of labels in forms. (211412 lines)
Version 16.106.9: Dec 24, 2016 Changes in layout of preferences. (211400 lines)
Version 16.106.8: Dec 24, 2016 Changes in behaviour of labels in forms. (211404 lines)
Version 16.106.7: Dec 24, 2016 Changes in behaviour of labels in forms. (211401 lines)
diff --git a/swad_forum.c b/swad_forum.c
index 9d20574c0..6bf85b332 100644
--- a/swad_forum.c
+++ b/swad_forum.c
@@ -3830,13 +3830,14 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject)
/***** Start table *****/
fprintf (Gbl.F.Out,"
",
The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Subject);
if (IsReply) // If writing a reply to a message of an existing thread
@@ -3845,13 +3846,14 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject)
"
"
"
");
- /***** Post *****/
+ /***** Post content *****/
fprintf (Gbl.F.Out,"
"
- "
"
- "%s: "
+ "
"
+ ""
"
"
"
"
- "
"
+ "
"
"
"
"
"
"
",
diff --git a/swad_message.c b/swad_message.c
index 2cb89a5cd..9d9c9681e 100644
--- a/swad_message.c
+++ b/swad_message.c
@@ -484,10 +484,12 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
/***** Get possible code (of original message if it's a reply) *****/
MsgCod = Msg_GetParamMsgCod ();
- /***** Subject of new message *****/
+ /***** Message subject *****/
fprintf (Gbl.F.Out,"
"
- "
"
- "%s: "
+ "
"
+ ""
"
"
"
"
"
get original message *****/
+ /* If message is a reply ==> get original message */
if (MsgCod > 0) // It's a reply
{
if (!SubjectAndContentComeFromForm)
{
- /***** Get subject and content of message from database *****/
+ /* Get subject and content of message from database */
sprintf (Query,"SELECT Subject,Content FROM msg_content"
" WHERE MsgCod='%ld'",MsgCod);
NumRows = DB_QuerySELECT (Query,&mysql_res,"can not get message content");
- /***** Result should have a unique row *****/
+ /* Result should have a unique row */
if (NumRows != 1)
Lay_ShowErrorAndExit ("Error when getting message.");
@@ -519,11 +521,11 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
strncpy (Content,row[1],Cns_MAX_BYTES_LONG_TEXT);
Content[Cns_MAX_BYTES_LONG_TEXT] = '\0';
- /***** Free structure that stores the query result *****/
+ /* Free structure that stores the query result */
DB_FreeMySQLResult (&mysql_res);
}
- /***** Write subject *****/
+ /* Write subject */
if (!SubjectAndContentComeFromForm)
fprintf (Gbl.F.Out,"Re: ");
fprintf (Gbl.F.Out,"%s"
@@ -532,10 +534,12 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
"