Version 15.184.6

This commit is contained in:
Antonio Cañas Vargas 2016-04-07 09:25:50 +02:00
parent 5434c74ff1
commit 2facb12a1d
2 changed files with 5 additions and 14 deletions

View File

@ -132,13 +132,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.184.5 (2016-04-07)"
#define Log_PLATFORM_VERSION "SWAD 15.184.6 (2016-04-07)"
#define CSS_FILE "swad15.178.2.css"
#define JS_FILE "swad15.178.2.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.184.6: Apr 07, 2016 Change in layout of edition of a test question. (198670 lines)
Version 15.184.5: Apr 07, 2016 Fixed bugs exporting/importing test questions. (198679 lines)
Version 15.184.4: Apr 06, 2016 Fixed minor bug in layout of test exam. (198676 lines)
Version 15.184.3: Apr 06, 2016 Fixed minor bug in layout of test exam. (198677 lines)

View File

@ -4632,7 +4632,7 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
/* Selectors and label with the letter of the answer */
fprintf (Gbl.F.Out,"<tr>"
"<td rowspan=\"3\" class=\"%s LEFT_TOP COLOR%u\">"
"<td class=\"%s LEFT_TOP COLOR%u\">"
"<input type=\"radio\" name=\"AnsUni\" value=\"%u\"",
The_ClassForm[Gbl.Prefs.Theme],Gbl.RowEvenOdd,
NumOpt);
@ -4660,14 +4660,9 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
fprintf (Gbl.F.Out,">");
if (Gbl.Test.Answer.Options[NumOpt].Text)
fprintf (Gbl.F.Out,"%s",Gbl.Test.Answer.Options[NumOpt].Text);
fprintf (Gbl.F.Out,"</textarea>"
"</td>"
"</tr>");
fprintf (Gbl.F.Out,"</textarea>");
/* Image */
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"LEFT_TOP COLOR%u\">",
Gbl.RowEvenOdd);
sprintf (ParamAction,"ImgAct%u",NumOpt);
sprintf (ParamFile ,"FilImg%u",NumOpt);
sprintf (ParamTitle ,"TitImg%u",NumOpt);
@ -4676,15 +4671,10 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
"ANS_STR", // Title / attribution
ParamAction,ParamFile,ParamTitle,
OptionsDisabled);
fprintf (Gbl.F.Out,"</td>"
"</tr>");
/* Feedback */
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"LEFT_TOP COLOR%u\">"
"<div class=\"%s\">%s (%s):</div>"
fprintf (Gbl.F.Out,"<div class=\"%s\">%s (%s):</div>"
"<textarea name=\"FbStr%u\" class=\"ANS_STR\" rows=\"2\"",
Gbl.RowEvenOdd,
The_ClassForm[Gbl.Prefs.Theme],Txt_Feedback,Txt_optional,
NumOpt);
if (OptionsDisabled)