mirror of https://github.com/acanas/swad-core.git
Version 22.107.8: May 07, 2023 Changes in edition of exam set.
This commit is contained in:
parent
6e5a3456e3
commit
7af9b8bc58
|
@ -629,10 +629,11 @@ TODO: Emilce Barrera Mesa: Podr
|
||||||
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
|
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 22.107.7 (2023-05-06)"
|
#define Log_PLATFORM_VERSION "SWAD 22.107.8 (2023-05-07)"
|
||||||
#define CSS_FILE "swad22.107.css"
|
#define CSS_FILE "swad22.107.css"
|
||||||
#define JS_FILE "swad22.49.js"
|
#define JS_FILE "swad22.49.js"
|
||||||
/*
|
/*
|
||||||
|
Version 22.107.8: May 07, 2023 Changes in edition of exam set. (338031 lines)
|
||||||
Version 22.107.7: May 06, 2023 Changes in edition of game. (338025 lines)
|
Version 22.107.7: May 06, 2023 Changes in edition of game. (338025 lines)
|
||||||
Version 22.107.6: May 06, 2023 Code refactoring in edition of exam. (338023 lines)
|
Version 22.107.6: May 06, 2023 Code refactoring in edition of exam. (338023 lines)
|
||||||
Version 22.107.5: May 06, 2023 Changes in edition of rubric. (338027 lines)
|
Version 22.107.5: May 06, 2023 Changes in edition of rubric. (338027 lines)
|
||||||
|
|
|
@ -180,62 +180,69 @@ static void ExaSet_PutFormNewSet (struct Exa_Exams *Exams,
|
||||||
struct ExaSet_Set *Set,
|
struct ExaSet_Set *Set,
|
||||||
unsigned MaxSetInd)
|
unsigned MaxSetInd)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Create_set_of_questions;
|
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||||
|
extern const char *Txt_Create;
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin fieldset *****/
|
||||||
Frm_BeginForm (ActNewExaSet);
|
HTM_FIELDSET_Begin (NULL);
|
||||||
Exa_PutPars (Exams);
|
HTM_LEGEND (Txt_Actions[ActNewExaSet]);
|
||||||
|
|
||||||
/***** Begin box and table *****/
|
/***** Begin form *****/
|
||||||
Box_BoxTableBegin (NULL,NULL,
|
Frm_BeginForm (ActNewExaSet);
|
||||||
NULL,NULL,
|
Exa_PutPars (Exams);
|
||||||
NULL,Box_NOT_CLOSABLE,2);
|
|
||||||
|
|
||||||
/***** Table heading *****/
|
/***** Begin table *****/
|
||||||
ExaSet_PutTableHeadingForSets ();
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
|
||||||
/***** Begin row *****/
|
/***** Table heading *****/
|
||||||
HTM_TR_Begin (NULL);
|
ExaSet_PutTableHeadingForSets ();
|
||||||
|
|
||||||
/***** Empty column for buttons *****/
|
/***** Begin row *****/
|
||||||
HTM_TD_Begin ("class=\"BM\"");
|
HTM_TR_Begin (NULL);
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** Index *****/
|
/***** Empty column for buttons *****/
|
||||||
HTM_TD_Begin ("class=\"RM\"");
|
HTM_TD_Begin ("class=\"BM\"");
|
||||||
Lay_WriteIndex (MaxSetInd + 1,"BIG_INDEX");
|
HTM_TD_End ();
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Index *****/
|
||||||
HTM_TD_Begin ("class=\"LM\"");
|
HTM_TD_Begin ("class=\"RM\"");
|
||||||
HTM_INPUT_TEXT ("Title",ExaSet_MAX_CHARS_TITLE,Set->Title,
|
Lay_WriteIndex (MaxSetInd + 1,"BIG_INDEX");
|
||||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
HTM_TD_End ();
|
||||||
"id=\"Title\""
|
|
||||||
" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\""
|
|
||||||
" required=\"required\"",
|
|
||||||
The_GetSuffix ());
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** Current number of questions in set *****/
|
/***** Title *****/
|
||||||
HTM_TD_Begin ("class=\"RM\"");
|
HTM_TD_Begin ("class=\"LM\"");
|
||||||
HTM_Unsigned (0); // New set ==> no questions yet
|
HTM_INPUT_TEXT ("Title",ExaSet_MAX_CHARS_TITLE,Set->Title,
|
||||||
HTM_TD_End ();
|
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||||
|
"id=\"Title\""
|
||||||
|
" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\""
|
||||||
|
" required=\"required\"",
|
||||||
|
The_GetSuffix ());
|
||||||
|
HTM_TD_End ();
|
||||||
|
|
||||||
/***** Number of questions to appear in the exam *****/
|
/***** Current number of questions in set *****/
|
||||||
HTM_TD_Begin ("class=\"RM\"");
|
HTM_TD_Begin ("class=\"RM\"");
|
||||||
HTM_INPUT_LONG ("NumQstsToPrint",0,UINT_MAX,(long) Set->NumQstsToPrint,
|
HTM_Unsigned (0); // New set ==> no questions yet
|
||||||
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
HTM_TD_End ();
|
||||||
"class=\"INPUT_LONG\" required=\"required\"");
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** End row *****/
|
/***** Number of questions to appear in the exam *****/
|
||||||
HTM_TR_End ();
|
HTM_TD_Begin ("class=\"RM\"");
|
||||||
|
HTM_INPUT_LONG ("NumQstsToPrint",0,UINT_MAX,(long) Set->NumQstsToPrint,
|
||||||
|
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
||||||
|
"class=\"INPUT_LONG\" required=\"required\"");
|
||||||
|
HTM_TD_End ();
|
||||||
|
|
||||||
/***** End table, send button and end box *****/
|
/***** End row *****/
|
||||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_set_of_questions);
|
HTM_TR_End ();
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End table and send button *****/
|
||||||
Frm_EndForm ();
|
HTM_TABLE_End ();
|
||||||
|
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
|
||||||
|
|
||||||
|
/***** End form *****/
|
||||||
|
Frm_EndForm ();
|
||||||
|
|
||||||
|
/***** End fieldset *****/
|
||||||
|
HTM_FIELDSET_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
46
swad_text.c
46
swad_text.c
|
@ -6549,6 +6549,29 @@ const char *Txt_Courses_of_DEGREE_X = // Warning: it is very important to includ
|
||||||
"Courses of %s"; // Çeviri lazim!
|
"Courses of %s"; // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Create =
|
||||||
|
#if L==1 // ca
|
||||||
|
"Crear";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Erstellen";
|
||||||
|
#elif L==3 // en
|
||||||
|
"Create";
|
||||||
|
#elif L==4 // es
|
||||||
|
"Crear";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"Créer";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"Omoheñói haguã";
|
||||||
|
#elif L==7 // it
|
||||||
|
"Crea";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Utwórz";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"Criar";
|
||||||
|
#elif L==10 // tr
|
||||||
|
"Yaratmak";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_Create_account =
|
const char *Txt_Create_account =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Crea compte";
|
"Crea compte";
|
||||||
|
@ -7308,29 +7331,6 @@ const char *Txt_Create_rubric =
|
||||||
"Değerlendirme listesi oluşturun";
|
"Değerlendirme listesi oluşturun";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_Create_set_of_questions =
|
|
||||||
#if L==1 // ca
|
|
||||||
"Crear conjunt de preguntes";
|
|
||||||
#elif L==2 // de
|
|
||||||
"Satz von Fragen erstellen";
|
|
||||||
#elif L==3 // en
|
|
||||||
"Create set of questions";
|
|
||||||
#elif L==4 // es
|
|
||||||
"Crear conjunto de preguntas";
|
|
||||||
#elif L==5 // fr
|
|
||||||
"Créer ensemble de questions";
|
|
||||||
#elif L==6 // gn
|
|
||||||
"Crear conjunto de preguntas"; // Okoteve traducción
|
|
||||||
#elif L==7 // it
|
|
||||||
"Crea set di domande";
|
|
||||||
#elif L==8 // pl
|
|
||||||
"Utwórz zestaw pytań";
|
|
||||||
#elif L==9 // pt
|
|
||||||
"Criar conjunto de perguntas";
|
|
||||||
#elif L==10 // tr
|
|
||||||
"Create set of questions"; // Çeviri lazim!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const char *Txt_Create_session =
|
const char *Txt_Create_session =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Crear sessió";
|
"Crear sessió";
|
||||||
|
|
|
@ -12070,25 +12070,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
||||||
,
|
,
|
||||||
[ActNewExaSet] =
|
[ActNewExaSet] =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Create new exam set" // Necessita traducció
|
"Crear conjunt de preguntes"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Create new exam set" // Need Übersetzung
|
"Satz von Fragen erstellen"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Create new exam set"
|
"Create set of questions"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Crear nuevo conjunto de preguntas"
|
"Crear conjunto de preguntas"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Create new exam set" // Besoin de traduction
|
"Créer ensemble de questions"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Crear nuevo conjunto de preguntas" // Okoteve traducción
|
"Ojapo porandu ñemohenda"
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Create new exam set" // Bisogno di traduzione
|
"Crea set di domande"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Create new exam set" // Potrzebujesz tlumaczenie
|
"Utwórz zestaw pytań"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Create new exam set" // Precisa de traduçăo
|
"Criar conjunto de perguntas"
|
||||||
#elif L==10 // tr
|
#elif L==10 // tr
|
||||||
"Create new exam set" // Çeviri lazim!
|
"Soru grubu oluştur"
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
[ActReqRemExaSet] =
|
[ActReqRemExaSet] =
|
||||||
|
|
Loading…
Reference in New Issue