mirror of https://github.com/acanas/swad-core.git
Version 22.107.13:May 07, 2023 Changes in edition of exam sessions.
This commit is contained in:
parent
0530aa5ac7
commit
d084861e52
|
@ -629,10 +629,12 @@ 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.11 (2023-05-07)"
|
#define Log_PLATFORM_VERSION "SWAD 22.107.13 (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.13:May 07, 2023 Changes in edition of exam sessions. (337957 lines)
|
||||||
|
Version 22.107.12:May 07, 2023 Changes in edition of rubrics. (337930 lines)
|
||||||
Version 22.107.11:May 07, 2023 Changes in edition of surveys. (337952 lines)
|
Version 22.107.11:May 07, 2023 Changes in edition of surveys. (337952 lines)
|
||||||
Version 22.107.10:May 07, 2023 Changes in edition of projects. (337973 lines)
|
Version 22.107.10:May 07, 2023 Changes in edition of projects. (337973 lines)
|
||||||
Version 22.107.9: May 07, 2023 Changes in edition of rubric criterions. (338015 lines)
|
Version 22.107.9: May 07, 2023 Changes in edition of rubric criterions. (338015 lines)
|
||||||
|
|
|
@ -959,10 +959,9 @@ void ExaSes_GetAndCheckPars (struct Exa_Exams *Exams,
|
||||||
|
|
||||||
static void ExaSes_PutFormSession (const struct ExaSes_Session *Session)
|
static void ExaSes_PutFormSession (const struct ExaSes_Session *Session)
|
||||||
{
|
{
|
||||||
extern const char *Hlp_ASSESSMENT_Exams_sessions;
|
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||||
extern const char *Txt_Session;
|
|
||||||
extern const char *Txt_Title;
|
extern const char *Txt_Title;
|
||||||
extern const char *Txt_Create_session;
|
extern const char *Txt_Create;
|
||||||
extern const char *Txt_Save_changes;
|
extern const char *Txt_Save_changes;
|
||||||
static const Dat_SetHMS SetHMS[Dat_NUM_START_END_TIME] =
|
static const Dat_SetHMS SetHMS[Dat_NUM_START_END_TIME] =
|
||||||
{
|
{
|
||||||
|
@ -970,56 +969,62 @@ static void ExaSes_PutFormSession (const struct ExaSes_Session *Session)
|
||||||
[Dat_END_TIME] = Dat_HMS_DO_NOT_SET
|
[Dat_END_TIME] = Dat_HMS_DO_NOT_SET
|
||||||
};
|
};
|
||||||
bool ItsANewSession = Session->SesCod <= 0;
|
bool ItsANewSession = Session->SesCod <= 0;
|
||||||
|
Act_Action_t NextAction = ItsANewSession ? ActNewExaSes :
|
||||||
|
ActChgExaSes;
|
||||||
|
|
||||||
/***** Begin section for a new exam session *****/
|
/***** Begin section for a new exam session *****/
|
||||||
HTM_SECTION_Begin (ExaSes_NEW_SESSION_SECTION_ID);
|
HTM_SECTION_Begin (ExaSes_NEW_SESSION_SECTION_ID);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin fieldset *****/
|
||||||
Frm_BeginForm (ItsANewSession ? ActNewExaSes : // New session
|
HTM_FIELDSET_Begin (NULL);
|
||||||
ActChgExaSes); // Existing session
|
HTM_LEGEND (Txt_Actions[NextAction]);
|
||||||
ParCod_PutPar (ParCod_Exa,Session->ExaCod);
|
|
||||||
if (!ItsANewSession) // Existing session
|
|
||||||
ParCod_PutPar (ParCod_Ses,Session->SesCod);
|
|
||||||
|
|
||||||
/***** Begin box and table *****/
|
/***** Begin form *****/
|
||||||
Box_BoxTableBegin (NULL,ItsANewSession ? Txt_Session :
|
Frm_BeginForm (NextAction);
|
||||||
Session->Title,
|
ParCod_PutPar (ParCod_Exa,Session->ExaCod);
|
||||||
NULL,NULL,
|
if (!ItsANewSession) // Existing session
|
||||||
Hlp_ASSESSMENT_Exams_sessions,Box_NOT_CLOSABLE,2);
|
ParCod_PutPar (ParCod_Ses,Session->SesCod);
|
||||||
|
|
||||||
/***** Session title *****/
|
/***** Begin table *****/
|
||||||
HTM_TR_Begin (NULL);
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
|
||||||
/* Label */
|
/***** Session title *****/
|
||||||
Frm_LabelColumn ("RT","Title",Txt_Title);
|
HTM_TR_Begin (NULL);
|
||||||
|
|
||||||
/* Data */
|
/* Label */
|
||||||
HTM_TD_Begin ("class=\"LT\"");
|
Frm_LabelColumn ("RT","Title",Txt_Title);
|
||||||
HTM_INPUT_TEXT ("Title",ExaSes_MAX_CHARS_TITLE,Session->Title,
|
|
||||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
|
||||||
"id=\"Title\" size=\"45\" class=\"INPUT_%s\""
|
|
||||||
" required=\"required\"",
|
|
||||||
The_GetSuffix ());
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
HTM_TR_End ();
|
/* Data */
|
||||||
|
HTM_TD_Begin ("class=\"LT\"");
|
||||||
|
HTM_INPUT_TEXT ("Title",ExaSes_MAX_CHARS_TITLE,Session->Title,
|
||||||
|
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||||
|
"id=\"Title\" size=\"45\" class=\"INPUT_%s\""
|
||||||
|
" required=\"required\"",
|
||||||
|
The_GetSuffix ());
|
||||||
|
HTM_TD_End ();
|
||||||
|
|
||||||
/***** Start and end dates *****/
|
HTM_TR_End ();
|
||||||
Dat_PutFormStartEndClientLocalDateTimes (Session->TimeUTC,
|
|
||||||
Dat_FORM_SECONDS_OFF,
|
|
||||||
SetHMS);
|
|
||||||
|
|
||||||
/***** Groups *****/
|
/***** Start and end dates *****/
|
||||||
ExaSes_ShowLstGrpsToCreateSession (Session->SesCod);
|
Dat_PutFormStartEndClientLocalDateTimes (Session->TimeUTC,
|
||||||
|
Dat_FORM_SECONDS_OFF,
|
||||||
|
SetHMS);
|
||||||
|
|
||||||
/***** End table, send button and end box *****/
|
/***** Groups *****/
|
||||||
if (ItsANewSession)
|
ExaSes_ShowLstGrpsToCreateSession (Session->SesCod);
|
||||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_session);
|
|
||||||
else
|
|
||||||
Box_BoxTableWithButtonEnd (Btn_CONFIRM_BUTTON,Txt_Save_changes);
|
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End table and send button *****/
|
||||||
Frm_EndForm ();
|
HTM_TABLE_End ();
|
||||||
|
if (ItsANewSession)
|
||||||
|
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
|
||||||
|
else
|
||||||
|
Btn_PutButton (Btn_CONFIRM_BUTTON,Txt_Save_changes);
|
||||||
|
|
||||||
|
/***** End form *****/
|
||||||
|
Frm_EndForm ();
|
||||||
|
|
||||||
|
/***** End fieldset *****/
|
||||||
|
HTM_FIELDSET_End ();
|
||||||
|
|
||||||
/***** End section for a new exam session *****/
|
/***** End section for a new exam session *****/
|
||||||
HTM_SECTION_End ();
|
HTM_SECTION_End ();
|
||||||
|
@ -1139,8 +1144,8 @@ void ExaSes_ReqCreatOrEditSes (void)
|
||||||
|
|
||||||
void ExaSes_ReceiveFormSession (void)
|
void ExaSes_ReceiveFormSession (void)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Created_new_event_X;
|
extern const char *Txt_Created_new_session_X;
|
||||||
extern const char *Txt_The_event_has_been_modified;
|
extern const char *Txt_The_session_has_been_modified;
|
||||||
struct Exa_Exams Exams;
|
struct Exa_Exams Exams;
|
||||||
struct ExaSes_Session Session;
|
struct ExaSes_Session Session;
|
||||||
bool ItsANewSession;
|
bool ItsANewSession;
|
||||||
|
@ -1203,10 +1208,10 @@ void ExaSes_ReceiveFormSession (void)
|
||||||
|
|
||||||
/***** Write success message *****/
|
/***** Write success message *****/
|
||||||
if (ItsANewSession)
|
if (ItsANewSession)
|
||||||
Ale_ShowAlert (Ale_SUCCESS,Txt_Created_new_event_X,
|
Ale_ShowAlert (Ale_SUCCESS,Txt_Created_new_session_X,
|
||||||
Session.Title);
|
Session.Title);
|
||||||
else
|
else
|
||||||
Ale_ShowAlert (Ale_SUCCESS,Txt_The_event_has_been_modified);
|
Ale_ShowAlert (Ale_SUCCESS,Txt_The_session_has_been_modified);
|
||||||
|
|
||||||
/***** Get exam data again to update it after changes in session *****/
|
/***** Get exam data again to update it after changes in session *****/
|
||||||
Exa_GetExamDataByCod (&Exams.Exam);
|
Exa_GetExamDataByCod (&Exams.Exam);
|
||||||
|
|
75
swad_text.c
75
swad_text.c
|
@ -7262,29 +7262,6 @@ const char *Txt_Create_room =
|
||||||
"Create room"; // Çeviri lazim!
|
"Create room"; // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_Create_session =
|
|
||||||
#if L==1 // ca
|
|
||||||
"Crear sessió";
|
|
||||||
#elif L==2 // de
|
|
||||||
"Sitzung erstellen";
|
|
||||||
#elif L==3 // en
|
|
||||||
"Create session";
|
|
||||||
#elif L==4 // es
|
|
||||||
"Crear sesión";
|
|
||||||
#elif L==5 // fr
|
|
||||||
"Créer session";
|
|
||||||
#elif L==6 // gn
|
|
||||||
"Crear sesión"; // Okoteve traducción
|
|
||||||
#elif L==7 // it
|
|
||||||
"Crea sessione";
|
|
||||||
#elif L==8 // pl
|
|
||||||
"Utwórz sesji";
|
|
||||||
#elif L==9 // pt
|
|
||||||
"Criar sessão";
|
|
||||||
#elif L==10 // tr
|
|
||||||
"Create session"; // Çeviri lazim!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const char *Txt_Create_type_of_degree =
|
const char *Txt_Create_type_of_degree =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Crear tipus de titulació";
|
"Crear tipus de titulació";
|
||||||
|
@ -7632,7 +7609,7 @@ const char *Txt_Created_new_event_X = // Warning: it is very important to includ
|
||||||
|
|
||||||
const char *Txt_Created_new_exam_X = // Warning: it is very important to include %s in the following sentences
|
const char *Txt_Created_new_exam_X = // Warning: it is very important to include %s in the following sentences
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"reat nou examen <strong>%s</strong>.";
|
"Creat nou examen <strong>%s</strong>.";
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Neues Prüfung <strong>%s</strong> eingegeben.";
|
"Neues Prüfung <strong>%s</strong> eingegeben.";
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
|
@ -7906,6 +7883,29 @@ const char *Txt_Created_new_rubric_X = // Warning: it is very important to inclu
|
||||||
"Yeni değerlendirme listesi <strong>%s</strong> oluşturuldu.";
|
"Yeni değerlendirme listesi <strong>%s</strong> oluşturuldu.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Created_new_session_X = // Warning: it is very important to include %s in the following sentences
|
||||||
|
#if L==1 // ca
|
||||||
|
"Creat nova sessió <strong>%s</strong>.";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Neue Sitzung <strong>%s</strong> eingegeben.";
|
||||||
|
#elif L==3 // en
|
||||||
|
"Created new session <strong>%s</strong>.";
|
||||||
|
#elif L==4 // es
|
||||||
|
"Creada nueva sesión <strong>%s</strong>.";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"Créée nouvelle session <strong>%s</strong>.";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"Ojejapo sesión pyahu <strong>%s</strong>.";
|
||||||
|
#elif L==7 // it
|
||||||
|
"Creata nuova sessione <strong>%s</strong>.";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Utworzono nową sesję <strong>%s</strong>.";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"Criada nova sessão <strong>%s</strong>.";
|
||||||
|
#elif L==10 // tr
|
||||||
|
"Yeni oturum <strong>%s</strong> oluşturuldu.";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_Created_new_set_of_questions_X = // Warning: it is very important to include %s in the following sentences
|
const char *Txt_Created_new_set_of_questions_X = // Warning: it is very important to include %s in the following sentences
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Creat nou conjunt de preguntes <strong>%s</strong>.";
|
"Creat nou conjunt de preguntes <strong>%s</strong>.";
|
||||||
|
@ -51867,7 +51867,7 @@ const char *Txt_The_rubric_has_been_modified =
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"La rubrique a été modifiée.";
|
"La rubrique a été modifiée.";
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"La rúbrica ha sido modificada."; // Okoteve traducción
|
"Oñemoambue pe rúbrica.";
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"La rubrica è stata modificata.";
|
"La rubrica è stata modificata.";
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
|
@ -51934,6 +51934,29 @@ const char *Txt_The_search_text_must_be_longer =
|
||||||
"The search text must be longer."; // Çeviri lazim!
|
"The search text must be longer."; // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_The_session_has_been_modified =
|
||||||
|
#if L==1 // ca
|
||||||
|
"La sessió ha estat modificada.";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Die Sitzung wurde geändert.";
|
||||||
|
#elif L==3 // en
|
||||||
|
"The session has been modified.";
|
||||||
|
#elif L==4 // es
|
||||||
|
"La sesión ha sido modificada.";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"La session a été modifiée.";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"Oñemoambue pe sesión.";
|
||||||
|
#elif L==7 // it
|
||||||
|
"La sessione è stata modificata.";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Sesja została zmieniona.";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"A sessão foi modificada.";
|
||||||
|
#elif L==10 // tr
|
||||||
|
"Oturum değiştirildi.";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_The_session_has_expired =
|
const char *Txt_The_session_has_expired =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"La sessió ha expirat.";
|
"La sessió ha expirat.";
|
||||||
|
@ -51954,7 +51977,7 @@ const char *Txt_The_session_has_expired =
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"A sessão expirou.";
|
"A sessão expirou.";
|
||||||
#elif L==10 // tr
|
#elif L==10 // tr
|
||||||
"The session has expired."; // Çeviri lazim!
|
"Oturumun süresi doldu."; // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
const char *Txt_The_set_of_questions_has_been_modified =
|
const char *Txt_The_set_of_questions_has_been_modified =
|
||||||
|
|
|
@ -12438,48 +12438,48 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
||||||
,
|
,
|
||||||
[ActNewExaSes] =
|
[ActNewExaSes] =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Create new exam session" // Necessita traducció
|
"Crear sessió d'examen"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Create new exam session" // Need Übersetzung
|
"Prüfungssitzung erstellen"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Create new exam session"
|
"Create exam session"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Crear nueva sesión de examen"
|
"Crear sesión de examen"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Create new exam session" // Besoin de traduction
|
"Créer session d'examen"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Crear nueva sesión de examen" // Okoteve traducción
|
"Omoheñói sesión de examen"
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Create new exam session" // Bisogno di traduzione
|
"Crea sessione d'esame"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Create new exam session" // Potrzebujesz tlumaczenie
|
"Utwórz sesję egzaminacyjną"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Create new exam session" // Precisa de tradução
|
"Criar sessão de exame"
|
||||||
#elif L==10 // tr
|
#elif L==10 // tr
|
||||||
"Create new exam session" // Çeviri lazim!
|
"Sınav oturumu oluştur"
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
[ActChgExaSes] =
|
[ActChgExaSes] =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Change exam session" // Necessita traducció
|
"Canviar sessió d'examen"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Change exam session" // Need Übersetzung
|
"Prüfungssitzung ändern"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Change exam session"
|
"Change exam session"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Cambiar sesión de examen"
|
"Cambiar sesión de examen"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Change exam session" // Besoin de traduction
|
"Modifier session d'examen"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Cambiar sesión de examen" // Okoteve traducción
|
"Omoambue sesión de examen"
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Change exam session" // Bisogno di traduzione
|
"Cambia sessione d'esame"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Change exam session" // Potrzebujesz tlumaczenie
|
"Zmienić sesję egzaminacyjną"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Change exam session" // Precisa de tradução
|
"Alterar sessão de exame"
|
||||||
#elif L==10 // tr
|
#elif L==10 // tr
|
||||||
"Change exam session" // Çeviri lazim!
|
"Sınav oturumu değiştir"
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
[ActReqRemExaSes] =
|
[ActReqRemExaSes] =
|
||||||
|
|
Loading…
Reference in New Issue