diff --git a/swad_changelog.h b/swad_changelog.h index ab0eb22f9..84b431907 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_test_import.c b/swad_test_import.c index 182b6d6d2..e6c0590a1 100644 --- a/swad_test_import.c +++ b/swad_test_import.c @@ -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,"
"); + /***** 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,"" - "" - "" - "" - "" - "" - "" - "" - "
" + fprintf (Gbl.F.Out,"" - "" - "
", + "" + "", The_ClassForm[Gbl.Prefs.Theme], Txt_XML_file, Fil_NAME_OF_PARAM_FILENAME_ORG); Lay_PutCreateButton (Txt_Upload_file); - fprintf (Gbl.F.Out,"
"); Act_FormEnd (); - fprintf (Gbl.F.Out,"
"); + + /***** End frame *****/ + Lay_EndRoundFrame (); } /*****************************************************************************/ diff --git a/swad_text.c b/swad_text.c index a60c4f4ce..5d04bbd64 100644 --- a/swad_text.c +++ b/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