diff --git a/css/swad15.115.css b/css/swad15.117.css
similarity index 99%
rename from css/swad15.115.css
rename to css/swad15.117.css
index d5c66d6d9..01dae6cdd 100644
--- a/css/swad15.115.css
+++ b/css/swad15.117.css
@@ -1840,25 +1840,23 @@ a:hover img.CENTRE_PHOTO_SHOW
text-align:left;
vertical-align:middle;
}
-
-.MSG_TXT {font-family:"Courier New","DejaVu LGC Sans Mono","Bitstream Vera Sans Mono",monospace; color:#404040; font-size:12pt;}
-
-.MSG_TIT {color:#4D88A1; font-size:12pt;}
-.MSG_TIT_NEW {color:#4D88A1; font-size:12pt; font-weight:bold;}
-.MSG_TIT_REM {color:#AFC4CC; font-size:12pt;}
+.MSG_TXT {color:#404040; font-size:13pt;}
+.MSG_TIT {color:#4D88A1; font-size:13pt;}
+.MSG_TIT_NEW {color:#4D88A1; font-size:13pt; font-weight:bold;}
+.MSG_TIT_REM {color:#AFC4CC; font-size:13pt;}
.MSG_TIT_BG
{
background-image:linear-gradient(#eaf3f6 0,#eaf3f6 80%,white 100%);
background-repeat:no-repeat;
color:#4D88A1;
- font-size:12pt;
+ font-size:13pt;
}
.MSG_TIT_BG_NEW
{
background-image:linear-gradient(#f5ffd7 0,#f5ffd7 80%,white 100%);
background-repeat:no-repeat;
color:#4D88A1;
- font-size:12pt;
+ font-size:13pt;
font-weight:bold;
}
.MSG_TIT_BG_REM
@@ -1866,7 +1864,7 @@ a:hover img.CENTRE_PHOTO_SHOW
background-image:linear-gradient(#f3fcff 0,#f3fcff 80%,white 100%);
background-repeat:no-repeat;
color:#AFC4CC;
- font-size:12pt;
+ font-size:13pt;
}
.MSG_AUT {color:#4D88A1; font-size:11pt;}
.MSG_AUT_LIGHT {color:#AFC4CC; font-size:11pt;}
diff --git a/js/swad15.115.js b/js/swad15.117.js
similarity index 100%
rename from js/swad15.115.js
rename to js/swad15.117.js
diff --git a/swad_changelog.h b/swad_changelog.h
index 12cd08d9c..71d0ba50a 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -122,13 +122,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 15.116.1 (2016-01-17)"
-#define CSS_FILE "swad15.115.css"
-#define JS_FILE "swad15.115.js"
+#define Log_PLATFORM_VERSION "SWAD 15.117 (2016-01-17)"
+#define CSS_FILE "swad15.117.css"
+#define JS_FILE "swad15.117.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.117: Jan 17, 2016 Change in styles of messages, forums, surveys and tests. (192872 lines)
Version 15.116.1: Jan 17, 2016 Help when writing social posts or comments. (192877 lines)
Version 15.116: Jan 17, 2016 Optimization in the query to get timeline. (192878 lines)
Version 15.115.2: Jan 17, 2016 Code refactoring in timeline. (192860 lines)
diff --git a/swad_forum.c b/swad_forum.c
index 8a23c3b42..b952807b0 100644
--- a/swad_forum.c
+++ b/swad_forum.c
@@ -1213,8 +1213,7 @@ static void For_ShowAForumPost (struct ForumThread *Thr,unsigned PstNum,long Pst
/***** Write post content *****/
fprintf (Gbl.F.Out,""
""
- "
"
- "");
+ "");
if (Enabled)
{
strncpy (Content,OriginalContent,Cns_MAX_BYTES_LONG_TEXT);
@@ -1223,8 +1222,7 @@ static void For_ShowAForumPost (struct ForumThread *Thr,unsigned PstNum,long Pst
}
else
fprintf (Gbl.F.Out,"%s",Txt_This_post_has_been_banned_probably_for_not_satisfy_the_rules_of_the_forums);
- fprintf (Gbl.F.Out,""
- " "
+ fprintf (Gbl.F.Out," "
" | "
"");
diff --git a/swad_message.c b/swad_message.c
index 614747732..5d01c807b 100644
--- a/swad_message.c
+++ b/swad_message.c
@@ -2831,9 +2831,8 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages,
Msg_GetMsgContent (MsgCod,Content);
if (Content[0])
{
- fprintf (Gbl.F.Out,"");
Msg_WriteMsgContent (Content,Cns_MAX_BYTES_LONG_TEXT,true,false);
- fprintf (Gbl.F.Out," ");
+ fprintf (Gbl.F.Out," ");
}
fprintf (Gbl.F.Out," | "
"");
diff --git a/swad_survey.c b/swad_survey.c
index 0abb4fa8b..5f67a3863 100644
--- a/swad_survey.c
+++ b/swad_survey.c
@@ -2960,7 +2960,7 @@ static void Svy_WriteQstStem (const char *Stem)
HeadingRigorousHTML,LengthHeading,false);
/* Write the stem */
- fprintf (Gbl.F.Out,"%s",HeadingRigorousHTML);
+ fprintf (Gbl.F.Out,"%s",HeadingRigorousHTML);
/* Free memory allocated for the stem */
free ((void *) HeadingRigorousHTML);
@@ -3027,9 +3027,7 @@ static void Svy_WriteAnswersOfAQst (struct Survey *Svy,struct SurveyQuestion *Sv
NumAns + 1);
/* Write the text of the answer */
- fprintf (Gbl.F.Out,""
- "%s"
- " | ",
+ fprintf (Gbl.F.Out,"%s | ",
Answer);
/* Show stats of this answer */
diff --git a/swad_test.c b/swad_test.c
index 143f2fc8d..54024daa6 100644
--- a/swad_test.c
+++ b/swad_test.c
@@ -2719,7 +2719,7 @@ static void Tst_WriteAnswersOfAQstEdit (long QstCod)
case Tst_ANS_INT:
Tst_CheckIfNumberOfAnswersIsOne ();
row = mysql_fetch_row (mysql_res);
- fprintf (Gbl.F.Out,"(%ld)",
+ fprintf (Gbl.F.Out,"(%ld)",
Tst_GetIntAnsFromStr (row[1]));
break;
case Tst_ANS_FLOAT:
@@ -2733,17 +2733,15 @@ static void Tst_WriteAnswersOfAQstEdit (long QstCod)
row = mysql_fetch_row (mysql_res);
FloatNum[i] = Tst_GetFloatAnsFromStr (row[1]);
}
- fprintf (Gbl.F.Out,"([%lg; %lg])",
+ fprintf (Gbl.F.Out,"([%lg; %lg])",
FloatNum[0],FloatNum[1]);
break;
case Tst_ANS_TRUE_FALSE:
Tst_CheckIfNumberOfAnswersIsOne ();
row = mysql_fetch_row (mysql_res);
- fprintf (Gbl.F.Out,""
- "(");
+ fprintf (Gbl.F.Out,"(");
Tst_WriteAnsTF (row[1][0]);
- fprintf (Gbl.F.Out,")"
- "");
+ fprintf (Gbl.F.Out,")");
break;
case Tst_ANS_UNIQUE_CHOICE:
case Tst_ANS_MULTIPLE_CHOICE:
diff --git a/swad_test_import.c b/swad_test_import.c
index 33355f885..daf4a755e 100644
--- a/swad_test_import.c
+++ b/swad_test_import.c
@@ -500,7 +500,8 @@ static void TsI_ImportQuestionsFromXMLBuffer (const char *XMLBuffer)
/***** Print XML tree *****/
Lay_WriteTitle (Txt_XML_file_content);
fprintf (Gbl.F.Out,""
- "
");
@@ -1104,17 +1105,17 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem,
switch (Gbl.Test.AnswerType)
{
case Tst_ANS_INT:
- fprintf (Gbl.F.Out,"(%ld)",
+ fprintf (Gbl.F.Out,"(%ld)",
ClassStem,Gbl.Test.Answer.Integer);
break;
case Tst_ANS_FLOAT:
- fprintf (Gbl.F.Out,"([%lg; %lg])",
+ fprintf (Gbl.F.Out,"([%lg; %lg])",
ClassStem,Gbl.Test.Answer.FloatingPoint[0],Gbl.Test.Answer.FloatingPoint[1]);
break;
case Tst_ANS_TRUE_FALSE:
- fprintf (Gbl.F.Out,"(",ClassStem);
+ fprintf (Gbl.F.Out,"(",ClassStem);
Tst_WriteAnsTF (Gbl.Test.Answer.TF);
- fprintf (Gbl.F.Out,")");
+ fprintf (Gbl.F.Out,")");
break;
case Tst_ANS_UNIQUE_CHOICE:
case Tst_ANS_MULTIPLE_CHOICE:
@@ -1172,14 +1173,14 @@ static void TsI_WriteRowImportedQst (struct XMLElement *StemElem,
/* Write the text and the feedback of the answer */
fprintf (Gbl.F.Out,""
- " "
- "%s"
- " ",
+ ""
+ "%s"
+ " ",
ClassStem,AnswerText);
if (AnswerFeedbackLength)
- fprintf (Gbl.F.Out,""
- "%s"
- " ",
+ fprintf (Gbl.F.Out,""
+ "%s"
+ " ",
AnswerFeedback);
fprintf (Gbl.F.Out," | "
"");