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 *****************************/
|
/****************************** 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 CSS_FILE "swad15.157.css"
|
||||||
#define JS_FILE "swad15.131.3.js"
|
#define JS_FILE "swad15.131.3.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// 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.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.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)
|
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)
|
void TsI_ShowFormImportQstsFromXML (void)
|
||||||
{
|
{
|
||||||
extern const char *The_ClassForm[The_NUM_THEMES];
|
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_Upload_file;
|
||||||
extern const char *Txt_XML_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 *****/
|
/***** 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 *****/
|
/***** Write a form to import questions *****/
|
||||||
Act_FormStart (ActImpTstQst);
|
Act_FormStart (ActImpTstQst);
|
||||||
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"
|
fprintf (Gbl.F.Out,"<label class=\"%s\">"
|
||||||
"<tr>"
|
|
||||||
"<td class=\"%s RIGHT_MIDDLE\">"
|
|
||||||
"%s:"
|
"%s:"
|
||||||
"</td>"
|
"</label>"
|
||||||
"<td class=\"LEFT_MIDDLE\">"
|
"<input type=\"file\" name=\"%s\""
|
||||||
"<input type=\"file\" name=\"%s\""
|
" size=\"40\" maxlength=\"100\" value=\"\" />",
|
||||||
" size=\"40\" maxlength=\"100\" value=\"\" />"
|
|
||||||
"</td>"
|
|
||||||
"</tr>"
|
|
||||||
"<tr>"
|
|
||||||
"<td colspan=\"2\" class=\"CENTER_MIDDLE\">",
|
|
||||||
The_ClassForm[Gbl.Prefs.Theme],
|
The_ClassForm[Gbl.Prefs.Theme],
|
||||||
Txt_XML_file,
|
Txt_XML_file,
|
||||||
Fil_NAME_OF_PARAM_FILENAME_ORG);
|
Fil_NAME_OF_PARAM_FILENAME_ORG);
|
||||||
Lay_PutCreateButton (Txt_Upload_file);
|
Lay_PutCreateButton (Txt_Upload_file);
|
||||||
fprintf (Gbl.F.Out,"</td>"
|
|
||||||
"</tr>"
|
|
||||||
"</table>");
|
|
||||||
Act_FormEnd ();
|
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
|
"You must type the stem of the question."; // Necessita de tradução
|
||||||
#endif
|
#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
|
#if L==1
|
||||||
"Es necesario un archivo XML"
|
"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
|
#elif L==2
|
||||||
"You need an XML file"
|
"You need an XML file"
|
||||||
" containing a list of questions to import."; // Need Übersetzung
|
" containing a list of questions."; // Need Übersetzung
|
||||||
#elif L==3
|
#elif L==3
|
||||||
"You need an XML file"
|
"You need an XML file"
|
||||||
" containing a list of questions to import.";
|
" containing a list of questions.";
|
||||||
#elif L==4
|
#elif L==4
|
||||||
"Es necesario un archivo XML"
|
"Es necesario un archivo XML"
|
||||||
" que contenga una lista de preguntas a importar.";
|
" que contenga una lista de preguntas.";
|
||||||
#elif L==5
|
#elif L==5
|
||||||
"You need an XML file"
|
"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
|
#elif L==6
|
||||||
"Es necesario un archivo XML"
|
"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
|
#elif L==7
|
||||||
"You need an XML file"
|
"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
|
#elif L==8
|
||||||
"You need an XML file"
|
"You need an XML file"
|
||||||
" containing a list of questions to import."; // Potrzebujesz tlumaczenie
|
" containing a list of questions."; // Potrzebujesz tlumaczenie
|
||||||
#elif L==9
|
#elif L==9
|
||||||
"You need an XML file"
|
"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
|
#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
|
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