diff --git a/css/swad15.178.2.css b/css/swad15.178.2.css index 0e4e36b47..85479350c 100644 --- a/css/swad15.178.2.css +++ b/css/swad15.178.2.css @@ -1728,7 +1728,7 @@ a:hover img.CENTRE_PHOTO_SHOW .ANS {color:#404040; font-size:13pt; font-weight:bold;} .ANS_OK {color:#008000; font-size:13pt; font-weight:bold;} .ANS_BAD {color:red; font-size:13pt; font-weight:bold;} -.ANS_STR {width:308px;} +.ANS_STR {width:630px;} .TEST_SUBTITLE { margin:10px; diff --git a/swad_changelog.h b/swad_changelog.h index 7d7b9ea30..9b2132a72 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -131,13 +131,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.180.4 (2016-04-05)" +#define Log_PLATFORM_VERSION "SWAD 15.180.5 (2016-04-05)" #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.180.5: Apr 05, 2016 Changes in layout of editor of question. (198512 lines) Version 15.180.4: Apr 05, 2016 Fixed bug in images in test questions. (198512 lines) Version 15.180.3: Apr 05, 2016 Changed layout of confirm / reject registration. (198482 lines) Version 15.180.2: Apr 05, 2016 Contextual link to remove one survey question. (198459 lines) diff --git a/swad_test.c b/swad_test.c index 2cd685148..55b524f0d 100644 --- a/swad_test.c +++ b/swad_test.c @@ -4555,18 +4555,7 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback) fprintf (Gbl.F.Out,"" "" "" - "" - "" - "" - "" - "" - "", - The_ClassForm[Gbl.Prefs.Theme],Txt_Answer, - The_ClassForm[Gbl.Prefs.Theme],Txt_Feedback); + "
" - "%s" - "" - "%s" - "
"); OptionsDisabled = Gbl.Test.AnswerType != Tst_ANS_UNIQUE_CHOICE && Gbl.Test.AnswerType != Tst_ANS_MULTIPLE_CHOICE && Gbl.Test.AnswerType != Tst_ANS_TEXT; @@ -4574,11 +4563,13 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback) NumOpt < Tst_MAX_OPTIONS_PER_QUESTION; NumOpt++) { + Gbl.RowEvenOdd = NumOpt % 2; + /* Selectors and label with the letter of the answer */ fprintf (Gbl.F.Out,"" - "" ""); - - /* Image */ - fprintf (Gbl.F.Out,"" - "" - ""); } fprintf (Gbl.F.Out,"
" + "" "" + fprintf (Gbl.F.Out,"" + "
%s:
" "" "
"); - sprintf (ParamAction,"ImgAct%u",NumOpt); - sprintf (ParamFile,"FileImg%u",NumOpt); - Tst_PutFormToEditQstImage (&Gbl.Test.Answer.Options[NumOpt].Image, - "TEST_IMG_EDIT_ONE_ANS", - ParamAction,ParamFile,OptionsDisabled); - fprintf (Gbl.F.Out,"
" ""