mirror of https://github.com/acanas/swad-core.git
Version 15.158.3
This commit is contained in:
parent
7a9c697bcb
commit
5a241bf599
|
@ -134,13 +134,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.158.2 (2016-03-21)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.158.3 (2016-03-21)"
|
||||
#define CSS_FILE "swad15.157.css"
|
||||
#define JS_FILE "swad15.131.3.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.158.3: Mar 21, 2016 Change in layout of form to import test questions. (? lines)
|
||||
Version 15.158.2: Mar 21, 2016 Icon to add new test question integrated in frame. (196283 lines)
|
||||
Version 15.158.1: Mar 21, 2016 Button to add new test question. (196284 lines)
|
||||
Version 15.158: Mar 21, 2016 Changes in layout of tests. (196274 lines)
|
||||
|
|
|
@ -128,38 +128,32 @@ void TsI_PutFormToImportQuestions (void)
|
|||
void TsI_ShowFormImportQstsFromXML (void)
|
||||
{
|
||||
extern const char *The_ClassForm[The_NUM_THEMES];
|
||||
extern const char *Txt_You_need_an_XML_file_containing_a_list_of_questions_to_import;
|
||||
extern const char *Txt_Import_questions;
|
||||
extern const char *Txt_You_need_an_XML_file_containing_a_list_of_questions;
|
||||
extern const char *Txt_Upload_file;
|
||||
extern const char *Txt_XML_file;
|
||||
|
||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
||||
/***** Start frame *****/
|
||||
Lay_StartRoundFrame (NULL,Txt_Import_questions,NULL);
|
||||
|
||||
/***** Write help message *****/
|
||||
Lay_ShowAlert (Lay_INFO,Txt_You_need_an_XML_file_containing_a_list_of_questions_to_import);
|
||||
Lay_ShowAlert (Lay_INFO,Txt_You_need_an_XML_file_containing_a_list_of_questions);
|
||||
|
||||
/***** Write a form to import questions *****/
|
||||
Act_FormStart (ActImpTstQst);
|
||||
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"
|
||||
"<tr>"
|
||||
"<td class=\"%s RIGHT_MIDDLE\">"
|
||||
fprintf (Gbl.F.Out,"<label class=\"%s\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"file\" name=\"%s\""
|
||||
" size=\"40\" maxlength=\"100\" value=\"\" />"
|
||||
"</td>"
|
||||
"</tr>"
|
||||
"<tr>"
|
||||
"<td colspan=\"2\" class=\"CENTER_MIDDLE\">",
|
||||
"</label>"
|
||||
"<input type=\"file\" name=\"%s\""
|
||||
" size=\"40\" maxlength=\"100\" value=\"\" />",
|
||||
The_ClassForm[Gbl.Prefs.Theme],
|
||||
Txt_XML_file,
|
||||
Fil_NAME_OF_PARAM_FILENAME_ORG);
|
||||
Lay_PutCreateButton (Txt_Upload_file);
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
"</tr>"
|
||||
"</table>");
|
||||
Act_FormEnd ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/***** End frame *****/
|
||||
Lay_EndRoundFrame ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
20
swad_text.c
20
swad_text.c
|
@ -53123,34 +53123,34 @@ const char *Txt_You_must_type_the_stem_of_the_question =
|
|||
"You must type the stem of the question."; // Necessita de tradução
|
||||
#endif
|
||||
|
||||
const char *Txt_You_need_an_XML_file_containing_a_list_of_questions_to_import =
|
||||
const char *Txt_You_need_an_XML_file_containing_a_list_of_questions =
|
||||
#if L==1
|
||||
"Es necesario un archivo XML"
|
||||
" que contenga una lista de preguntas a importar."; // Necessita traduccio
|
||||
" que contenga una lista de preguntas."; // Necessita traduccio
|
||||
#elif L==2
|
||||
"You need an XML file"
|
||||
" containing a list of questions to import."; // Need Übersetzung
|
||||
" containing a list of questions."; // Need Übersetzung
|
||||
#elif L==3
|
||||
"You need an XML file"
|
||||
" containing a list of questions to import.";
|
||||
" containing a list of questions.";
|
||||
#elif L==4
|
||||
"Es necesario un archivo XML"
|
||||
" que contenga una lista de preguntas a importar.";
|
||||
" que contenga una lista de preguntas.";
|
||||
#elif L==5
|
||||
"You need an XML file"
|
||||
" containing a list of questions to import."; // Besoin de traduction
|
||||
" containing a list of questions."; // Besoin de traduction
|
||||
#elif L==6
|
||||
"Es necesario un archivo XML"
|
||||
" que contenga una lista de preguntas a importar."; // Okoteve traducción
|
||||
" que contenga una lista de preguntas."; // Okoteve traducción
|
||||
#elif L==7
|
||||
"You need an XML file"
|
||||
" containing a list of questions to import."; // Bisogno di traduzione
|
||||
" containing a list of questions."; // Bisogno di traduzione
|
||||
#elif L==8
|
||||
"You need an XML file"
|
||||
" containing a list of questions to import."; // Potrzebujesz tlumaczenie
|
||||
" containing a list of questions."; // Potrzebujesz tlumaczenie
|
||||
#elif L==9
|
||||
"You need an XML file"
|
||||
" containing a list of questions to import."; // Necessita de tradução
|
||||
" containing a list of questions."; // Necessita de tradução
|
||||
#endif
|
||||
|
||||
const char *Txt_You_should_read_the_following_information_on_the_course_X = // Warning: it is very important to include %s in the following sentences
|
||||
|
|
Loading…
Reference in New Issue