mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-11 11:15:27 +02:00
Version 22.107.9: May 07, 2023 Changes in edition of rubric criterion.
This commit is contained in:
parent
7af9b8bc58
commit
1902d502ef
|
@ -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.8 (2023-05-07)"
|
#define Log_PLATFORM_VERSION "SWAD 22.107.9 (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.9: May 07, 2023 Changes in edition of rubric criterion. (338015 lines)
|
||||||
Version 22.107.8: May 07, 2023 Changes in edition of exam set. (338031 lines)
|
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)
|
||||||
|
|
|
@ -171,80 +171,87 @@ void RubCri_GetCriterionDataByCod (struct RubCri_Criterion *Criterion)
|
||||||
static void RubCri_PutFormNewCriterion (struct Rub_Rubrics *Rubrics,
|
static void RubCri_PutFormNewCriterion (struct Rub_Rubrics *Rubrics,
|
||||||
unsigned MaxCriInd)
|
unsigned MaxCriInd)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Create_criterion;
|
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||||
|
extern const char *Txt_Create;
|
||||||
RubCri_ValueRange_t ValueRange;
|
RubCri_ValueRange_t ValueRange;
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin fieldset *****/
|
||||||
Frm_BeginForm (ActNewRubCri);
|
HTM_FIELDSET_Begin (NULL);
|
||||||
Rub_PutPars (Rubrics);
|
HTM_LEGEND (Txt_Actions[ActNewRubCri]);
|
||||||
|
|
||||||
/***** Begin box and table *****/
|
/***** Begin form *****/
|
||||||
Box_BoxTableBegin (NULL,NULL,
|
Frm_BeginForm (ActNewRubCri);
|
||||||
NULL,NULL,
|
Rub_PutPars (Rubrics);
|
||||||
NULL,Box_NOT_CLOSABLE,2);
|
|
||||||
|
|
||||||
/***** Table heading *****/
|
/***** Begin table *****/
|
||||||
RubCri_PutTableHeadingForCriteria (RubCri_DONT_PUT_COLUMN_FOR_ICONS,
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
RubCri_DONT_PUT_COLUMNS_FOR_SCORE);
|
|
||||||
|
|
||||||
/***** Begin row *****/
|
/***** Table heading *****/
|
||||||
HTM_TR_Begin (NULL);
|
RubCri_PutTableHeadingForCriteria (RubCri_DONT_PUT_COLUMN_FOR_ICONS,
|
||||||
|
RubCri_DONT_PUT_COLUMNS_FOR_SCORE);
|
||||||
|
|
||||||
/***** Index *****/
|
/***** Begin row *****/
|
||||||
HTM_TD_Begin ("class=\"RT\"");
|
HTM_TR_Begin (NULL);
|
||||||
Lay_WriteIndex (MaxCriInd + 1,"BIG_INDEX");
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Index *****/
|
||||||
HTM_TD_Begin ("class=\"LT\"");
|
|
||||||
HTM_INPUT_TEXT ("Title",RubCri_MAX_CHARS_TITLE,Rubrics->Criterion.Title,
|
|
||||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
|
||||||
"id=\"Title\""
|
|
||||||
" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\""
|
|
||||||
" required=\"required\"",
|
|
||||||
The_GetSuffix ());
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** Link *****/
|
|
||||||
HTM_TD_Begin ("class=\"LT\"");
|
|
||||||
Rsc_ShowClipboardToChangeLink (NULL);
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** Minimum and maximum values of the criterion *****/
|
|
||||||
for (ValueRange = (RubCri_ValueRange_t) 0;
|
|
||||||
ValueRange <= (RubCri_ValueRange_t) (RubCri_NUM_VALUES - 1);
|
|
||||||
ValueRange++)
|
|
||||||
{
|
|
||||||
HTM_TD_Begin ("class=\"RT\"");
|
HTM_TD_Begin ("class=\"RT\"");
|
||||||
HTM_INPUT_FLOAT (RubCri_ParValues[ValueRange],
|
Lay_WriteIndex (MaxCriInd + 1,"BIG_INDEX");
|
||||||
0.0,DBL_MAX,RubCri_SCORE_STEP,
|
HTM_TD_End ();
|
||||||
Rubrics->Criterion.Values[ValueRange],
|
|
||||||
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
/***** Title *****/
|
||||||
|
HTM_TD_Begin ("class=\"LT\"");
|
||||||
|
HTM_INPUT_TEXT ("Title",RubCri_MAX_CHARS_TITLE,Rubrics->Criterion.Title,
|
||||||
|
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||||
|
"id=\"Title\""
|
||||||
|
" class=\"TITLE_DESCRIPTION_WIDTH INPUT_%s\""
|
||||||
|
" required=\"required\"",
|
||||||
|
The_GetSuffix ());
|
||||||
|
HTM_TD_End ();
|
||||||
|
|
||||||
|
/***** Link *****/
|
||||||
|
HTM_TD_Begin ("class=\"LT\"");
|
||||||
|
Rsc_ShowClipboardToChangeLink (NULL);
|
||||||
|
HTM_TD_End ();
|
||||||
|
|
||||||
|
/***** Minimum and maximum values of the criterion *****/
|
||||||
|
for (ValueRange = (RubCri_ValueRange_t) 0;
|
||||||
|
ValueRange <= (RubCri_ValueRange_t) (RubCri_NUM_VALUES - 1);
|
||||||
|
ValueRange++)
|
||||||
|
{
|
||||||
|
HTM_TD_Begin ("class=\"RT\"");
|
||||||
|
HTM_INPUT_FLOAT (RubCri_ParValues[ValueRange],
|
||||||
|
0.0,DBL_MAX,RubCri_SCORE_STEP,
|
||||||
|
Rubrics->Criterion.Values[ValueRange],
|
||||||
|
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
||||||
|
" class=\"INPUT_FLOAT INPUT_%s\" required=\"required\"",
|
||||||
|
The_GetSuffix ());
|
||||||
|
HTM_TD_End ();
|
||||||
|
}
|
||||||
|
|
||||||
|
/***** Weight *****/
|
||||||
|
HTM_TD_Begin ("class=\"RT\"");
|
||||||
|
HTM_INPUT_FLOAT ("Weight",
|
||||||
|
RubCri_WEIGHT_MIN,
|
||||||
|
RubCri_WEIGHT_MAX,
|
||||||
|
RubCri_WEIGHT_STEP,
|
||||||
|
Rubrics->Criterion.Weight,
|
||||||
|
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
||||||
" class=\"INPUT_FLOAT INPUT_%s\" required=\"required\"",
|
" class=\"INPUT_FLOAT INPUT_%s\" required=\"required\"",
|
||||||
The_GetSuffix ());
|
The_GetSuffix ());
|
||||||
HTM_TD_End ();
|
HTM_TD_End ();
|
||||||
}
|
|
||||||
|
|
||||||
/***** Weight *****/
|
/***** End row *****/
|
||||||
HTM_TD_Begin ("class=\"RT\"");
|
HTM_TR_End ();
|
||||||
HTM_INPUT_FLOAT ("Weight",
|
|
||||||
RubCri_WEIGHT_MIN,
|
|
||||||
RubCri_WEIGHT_MAX,
|
|
||||||
RubCri_WEIGHT_STEP,
|
|
||||||
Rubrics->Criterion.Weight,
|
|
||||||
HTM_DONT_SUBMIT_ON_CHANGE,false,
|
|
||||||
" class=\"INPUT_FLOAT INPUT_%s\" required=\"required\"",
|
|
||||||
The_GetSuffix ());
|
|
||||||
HTM_TD_End ();
|
|
||||||
|
|
||||||
/***** End row *****/
|
/***** End table and send button *****/
|
||||||
HTM_TR_End ();
|
HTM_TABLE_End ();
|
||||||
|
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
|
||||||
|
|
||||||
/***** End table, send button and end box *****/
|
/***** End form *****/
|
||||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_criterion);
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End fieldset *****/
|
||||||
Frm_EndForm ();
|
HTM_FIELDSET_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -6779,29 +6779,6 @@ const char *Txt_Create_course =
|
||||||
"Create course"; // Çeviri lazim!
|
"Create course"; // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_Create_criterion =
|
|
||||||
#if L==1 // ca
|
|
||||||
"Crear criteri";
|
|
||||||
#elif L==2 // de
|
|
||||||
"Kriterium eingeben";
|
|
||||||
#elif L==3 // en
|
|
||||||
"Create criterion";
|
|
||||||
#elif L==4 // es
|
|
||||||
"Crear criterio";
|
|
||||||
#elif L==5 // fr
|
|
||||||
"Créer critère";
|
|
||||||
#elif L==6 // gn
|
|
||||||
"Crear criterio"; // Okoteve traducción
|
|
||||||
#elif L==7 // it
|
|
||||||
"Crear criterio";
|
|
||||||
#elif L==8 // pl
|
|
||||||
"Utwórz kryterium";
|
|
||||||
#elif L==9 // pt
|
|
||||||
"Criar critério";
|
|
||||||
#elif L==10 // tr
|
|
||||||
"Ölçüt oluştur";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const char *Txt_Create_degree =
|
const char *Txt_Create_degree =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Crear titulació";
|
"Crear titulació";
|
||||||
|
|
|
@ -14163,25 +14163,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
||||||
,
|
,
|
||||||
[ActNewRubCri] =
|
[ActNewRubCri] =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Crear nou criteri de rúbrica"
|
"Crear criteri"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Erstellen Sie neue Rubrikkriterien"
|
"Kriterium eingeben"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Create new rubric criterion"
|
"Create criterion"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Crear nuevo criterio de rúbrica"
|
"Crear criterio"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Créer nouveau critère de rubrique"
|
"Créer critère"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Ojapo criterio pyahu rubrica rehegua"
|
"Omoheñói criterio"
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Creare nuovo criterio di rubrica"
|
"Crear criterio"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Utworzyć nowe kryteria rubryk"
|
"Utwórz kryterium"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Criar novo critério de rubrica"
|
"Criar critério"
|
||||||
#elif L==10 // tr
|
#elif L==10 // tr
|
||||||
"Yeni bir dereceli puanlama anahtarı kriteri oluşturmak için"
|
"Ölçüt oluştur"
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
[ActReqRemRubCri] =
|
[ActReqRemRubCri] =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user