mirror of https://github.com/acanas/swad-core.git
Version 15.180.7
This commit is contained in:
parent
54c41129e1
commit
1402a4729c
|
@ -131,13 +131,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.180.6 (2016-04-05)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.180.7 (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.7: Apr 05, 2016 Changes in layout of editor of question. (198473 lines)
|
||||
Version 15.180.6: Apr 05, 2016 Changes in layout of editor of question. (198490 lines)
|
||||
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)
|
||||
|
|
16
swad_test.c
16
swad_test.c
|
@ -1053,7 +1053,8 @@ static void Tst_PutFormToEditQstImage (struct Image *Image,const char *ClassImg,
|
|||
extern const char *Txt_No_image;
|
||||
extern const char *Txt_Current_image;
|
||||
extern const char *Txt_Change_image;
|
||||
extern const char *Txt_New_image;
|
||||
extern const char *Txt_Image;
|
||||
extern const char *Txt_optional;
|
||||
static unsigned UniqueId = 0;
|
||||
|
||||
/***** No image *****/
|
||||
|
@ -1112,9 +1113,9 @@ static void Tst_PutFormToEditQstImage (struct Image *Image,const char *ClassImg,
|
|||
fprintf (Gbl.F.Out," disabled=\"disabled\"");
|
||||
fprintf (Gbl.F.Out," />"
|
||||
"<label class=\"%s\">"
|
||||
"%s: "
|
||||
"%s (%s): "
|
||||
"</label>",
|
||||
The_ClassForm[Gbl.Prefs.Theme],Txt_New_image);
|
||||
The_ClassForm[Gbl.Prefs.Theme],Txt_Image,Txt_optional);
|
||||
}
|
||||
fprintf (Gbl.F.Out,"<input type=\"file\" name=\"%s\""
|
||||
" size=\"40\" maxlength=\"100\" value=\"\"",
|
||||
|
@ -4281,6 +4282,7 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
|
|||
extern const char *Txt_new_tag;
|
||||
extern const char *Txt_Stem;
|
||||
extern const char *Txt_Feedback;
|
||||
extern const char *Txt_optional;
|
||||
extern const char *Txt_Type;
|
||||
extern const char *Txt_TST_STR_ANSWER_TYPES[Tst_NUM_ANS_TYPES];
|
||||
extern const char *Txt_Answers;
|
||||
|
@ -4429,13 +4431,13 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
|
|||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td class=\"RIGHT_TOP\">"
|
||||
"<label class=\"%s\">"
|
||||
"%s:"
|
||||
"%s (%s):"
|
||||
"</label>"
|
||||
"</td>"
|
||||
"<td class=\"LEFT_TOP\">"
|
||||
"<textarea name=\"Feedback\" class=\"STEM\" rows=\"3\">",
|
||||
The_ClassForm[Gbl.Prefs.Theme],
|
||||
Txt_Feedback);
|
||||
Txt_Feedback,Txt_optional);
|
||||
if (Feedback)
|
||||
if (Feedback[0])
|
||||
fprintf (Gbl.F.Out,"%s",Feedback);
|
||||
|
@ -4613,10 +4615,10 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
|
|||
/* Feedback */
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td class=\"LEFT_TOP COLOR%u\">"
|
||||
"<div class=\"%s\">%s:</div>"
|
||||
"<div class=\"%s\">%s (%s):</div>"
|
||||
"<textarea name=\"FbStr%u\" class=\"ANS_STR\" rows=\"2\"",
|
||||
Gbl.RowEvenOdd,
|
||||
The_ClassForm[Gbl.Prefs.Theme],Txt_Feedback,
|
||||
The_ClassForm[Gbl.Prefs.Theme],Txt_Feedback,Txt_optional,
|
||||
NumOpt);
|
||||
if (OptionsDisabled)
|
||||
fprintf (Gbl.F.Out," disabled=\"disabled\"");
|
||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -22987,27 +22987,6 @@ const char *Txt_New_holiday =
|
|||
"Nova féria";
|
||||
#endif
|
||||
|
||||
const char *Txt_New_image =
|
||||
#if L==1
|
||||
"Nova imatge";
|
||||
#elif L==2
|
||||
"Neue Abbild";
|
||||
#elif L==3
|
||||
"New image";
|
||||
#elif L==4
|
||||
"Nueva imagen";
|
||||
#elif L==5
|
||||
"Nouvelle image";
|
||||
#elif L==6
|
||||
"Pyahu ta'ãnga";
|
||||
#elif L==7
|
||||
"Nuova immagine";
|
||||
#elif L==8
|
||||
"Nowe obraz";
|
||||
#elif L==9
|
||||
"Nova imagem";
|
||||
#endif
|
||||
|
||||
const char *Txt_New_institution_of_COUNTRY_X = // Warning: it is very important to include %s in the following sentences
|
||||
#if L==1
|
||||
"Nova institución (universitat, institut, escola, acadèmia, organització, empresa...) de %s";
|
||||
|
|
Loading…
Reference in New Issue