Version19.30.3

This commit is contained in:
Antonio Cañas Vargas 2019-10-03 22:12:31 +02:00
parent 211be23246
commit bd746b2346
4 changed files with 144 additions and 165 deletions

View File

@ -485,12 +485,13 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.30.2 (2019-10-03)"
#define Log_PLATFORM_VERSION "SWAD 19.30.3 (2019-10-03)"
#define CSS_FILE "swad19.29.css"
#define JS_FILE "swad19.30.js"
/*
// TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas)
Version 19.30.3: Oct 03, 2019 Changes in help links. (246895 lines)
Version 19.30.2: Oct 03, 2019 Changes in edition of games. (246914 lines)
Version 19.30.1: Oct 01, 2019 Changes in match playing. (246904 lines)
Version 19.30: Oct 01, 2019 The match refreshment time for teachers is now different from the time for students.

View File

@ -1201,6 +1201,27 @@ const char *Hlp_ASSESSMENT_Tests =
"ASSESSMENT.Tests.en";
#endif
const char *Hlp_ASSESSMENT_Tests_editing_questions =
#if L==1
"ASSESSMENT.Tests.es#editar-preguntas";
#elif L==2
"ASSESSMENT.Tests.en#editing-questions";
#elif L==3
"ASSESSMENT.Tests.en#editing-questions";
#elif L==4
"ASSESSMENT.Tests.es#editar-preguntas";
#elif L==5
"ASSESSMENT.Tests.en#editing-questions";
#elif L==6
"ASSESSMENT.Tests.es#editar-preguntas";
#elif L==7
"ASSESSMENT.Tests.en#editing-questions";
#elif L==8
"ASSESSMENT.Tests.en#editing-questions";
#elif L==9
"ASSESSMENT.Tests.en#editing-questions";
#endif
const char *Hlp_ASSESSMENT_Tests_writing_a_question =
#if L==1
"ASSESSMENT.Tests.es#escribir-una-pregunta";
@ -1224,25 +1245,129 @@ const char *Hlp_ASSESSMENT_Tests_writing_a_question =
const char *Hlp_ASSESSMENT_Tests_results =
#if L==1
"ASSESSMENT.Tests.es#resultados-de-tests"; // TODO: Change to #resultados
"ASSESSMENT.Tests.es#resultados";
#elif L==2
"ASSESSMENT.Tests.en#test-results"; // TODO: Change to #results
"ASSESSMENT.Tests.en#results";
#elif L==3
"ASSESSMENT.Tests.en#test-results"; // TODO: Change to #results
"ASSESSMENT.Tests.en#results";
#elif L==4
"ASSESSMENT.Tests.es#resultados-de-tests"; // TODO: Change to #resultados
"ASSESSMENT.Tests.es#resultados";
#elif L==5
"ASSESSMENT.Tests.en#test-results"; // TODO: Change to #results
"ASSESSMENT.Tests.en#results";
#elif L==6
"ASSESSMENT.Tests.es#resultados-de-tests"; // TODO: Change to #resultados
"ASSESSMENT.Tests.es#resultados";
#elif L==7
"ASSESSMENT.Tests.en#test-results"; // TODO: Change to #results
"ASSESSMENT.Tests.en#results";
#elif L==8
"ASSESSMENT.Tests.en#test-results"; // TODO: Change to #results
"ASSESSMENT.Tests.en#results";
#elif L==9
"ASSESSMENT.Tests.en#test-results"; // TODO: Change to #results
"ASSESSMENT.Tests.en#results";
#endif
const char *Hlp_ASSESSMENT_Games =
#if L==1
"ASSESSMENT.Games.es";
#elif L==2
"ASSESSMENT.Games.en";
#elif L==3
"ASSESSMENT.Games.en";
#elif L==4
"ASSESSMENT.Games.es";
#elif L==5
"ASSESSMENT.Games.en";
#elif L==6
"ASSESSMENT.Games.es";
#elif L==7
"ASSESSMENT.Games.en";
#elif L==8
"ASSESSMENT.Games.en";
#elif L==9
"ASSESSMENT.Games.en";
#endif
const char *Hlp_ASSESSMENT_Games_edit_game =
#if L==1
"ASSESSMENT.Games.es#editar-juego";
#elif L==2
"ASSESSMENT.Games.en#edit-game";
#elif L==3
"ASSESSMENT.Games.en#edit-game";
#elif L==4
"ASSESSMENT.Games.es#editar-juego";
#elif L==5
"ASSESSMENT.Games.en#edit-game";
#elif L==6
"ASSESSMENT.Games.es#editar-juego";
#elif L==7
"ASSESSMENT.Games.en#edit-game";
#elif L==8
"ASSESSMENT.Games.en#edit-game";
#elif L==9
"ASSESSMENT.Games.en#edit-game";
#endif
const char *Hlp_ASSESSMENT_Games_matches =
#if L==1
"ASSESSMENT.Games.es#partidas";
#elif L==2
"ASSESSMENT.Games.en#matches";
#elif L==3
"ASSESSMENT.Games.en#matches";
#elif L==4
"ASSESSMENT.Games.es#partidas";
#elif L==5
"ASSESSMENT.Games.en#matches";
#elif L==6
"ASSESSMENT.Games.es#partidas";
#elif L==7
"ASSESSMENT.Games.en#matches";
#elif L==8
"ASSESSMENT.Games.en#matches";
#elif L==9
"ASSESSMENT.Games.en#matches";
#endif
const char *Hlp_ASSESSMENT_Games_new_game =
#if L==1
"ASSESSMENT.Games.es#nuevo-juego";
#elif L==2
"ASSESSMENT.Games.en#new-game";
#elif L==3
"ASSESSMENT.Games.en#new-game";
#elif L==4
"ASSESSMENT.Games.es#nuevo-juego";
#elif L==5
"ASSESSMENT.Games.en#new-game";
#elif L==6
"ASSESSMENT.Games.es#nuevo-juego";
#elif L==7
"ASSESSMENT.Games.en#new-game";
#elif L==8
"ASSESSMENT.Games.en#new-game";
#elif L==9
"ASSESSMENT.Games.en#new-game";
#endif
const char *Hlp_ASSESSMENT_Games_questions =
#if L==1
"ASSESSMENT.Games.es#preguntas";
#elif L==2
"ASSESSMENT.Games.en#questions";
#elif L==3
"ASSESSMENT.Games.en#questions";
#elif L==4
"ASSESSMENT.Games.es#preguntas";
#elif L==5
"ASSESSMENT.Games.en#questions";
#elif L==6
"ASSESSMENT.Games.es#preguntas";
#elif L==7
"ASSESSMENT.Games.en#questions";
#elif L==8
"ASSESSMENT.Games.en#questions";
#elif L==9
"ASSESSMENT.Games.en#questions";
#endif
const char *Hlp_ASSESSMENT_Games_results =
#if L==1
@ -1349,153 +1474,6 @@ const char *Hlp_ASSESSMENT_Surveys_questions =
"ASSESSMENT.Surveys.en#questions";
#endif
const char *Hlp_ASSESSMENT_Games =
#if L==1
"ASSESSMENT.Games.es";
#elif L==2
"ASSESSMENT.Games.en";
#elif L==3
"ASSESSMENT.Games.en";
#elif L==4
"ASSESSMENT.Games.es";
#elif L==5
"ASSESSMENT.Games.en";
#elif L==6
"ASSESSMENT.Games.es";
#elif L==7
"ASSESSMENT.Games.en";
#elif L==8
"ASSESSMENT.Games.en";
#elif L==9
"ASSESSMENT.Games.en";
#endif
const char *Hlp_ASSESSMENT_Games_edit_game =
#if L==1
"ASSESSMENT.Games.es#editar-juego";
#elif L==2
"ASSESSMENT.Games.en#edit-game";
#elif L==3
"ASSESSMENT.Games.en#edit-game";
#elif L==4
"ASSESSMENT.Games.es#editar-juego";
#elif L==5
"ASSESSMENT.Games.en#edit-game";
#elif L==6
"ASSESSMENT.Games.es#editar-juego";
#elif L==7
"ASSESSMENT.Games.en#edit-game";
#elif L==8
"ASSESSMENT.Games.en#edit-game";
#elif L==9
"ASSESSMENT.Games.en#edit-game";
#endif
const char *Hlp_ASSESSMENT_Games_new_game =
#if L==1
"ASSESSMENT.Games.es#nuevo-juego";
#elif L==2
"ASSESSMENT.Games.en#new-game";
#elif L==3
"ASSESSMENT.Games.en#new-game";
#elif L==4
"ASSESSMENT.Games.es#nuevo-juego";
#elif L==5
"ASSESSMENT.Games.en#new-game";
#elif L==6
"ASSESSMENT.Games.es#nuevo-juego";
#elif L==7
"ASSESSMENT.Games.en#new-game";
#elif L==8
"ASSESSMENT.Games.en#new-game";
#elif L==9
"ASSESSMENT.Games.en#new-game";
#endif
const char *Hlp_ASSESSMENT_Games_edit_juego =
#if L==1
"ASSESSMENT.Games.es#editar-juego";
#elif L==2
"ASSESSMENT.Games.en#edit-juego";
#elif L==3
"ASSESSMENT.Games.en#edit-juego";
#elif L==4
"ASSESSMENT.Games.es#editar-juego";
#elif L==5
"ASSESSMENT.Games.en#edit-juego";
#elif L==6
"ASSESSMENT.Games.es#editar-juego";
#elif L==7
"ASSESSMENT.Games.en#edit-juego";
#elif L==8
"ASSESSMENT.Games.en#edit-juego";
#elif L==9
"ASSESSMENT.Games.en#edit-juego";
#endif
const char *Hlp_ASSESSMENT_Games_matches =
#if L==1
"ASSESSMENT.Games.es#partidas";
#elif L==2
"ASSESSMENT.Games.en#matches";
#elif L==3
"ASSESSMENT.Games.en#matches";
#elif L==4
"ASSESSMENT.Games.es#partidas";
#elif L==5
"ASSESSMENT.Games.en#matches";
#elif L==6
"ASSESSMENT.Games.es#partidas";
#elif L==7
"ASSESSMENT.Games.en#matches";
#elif L==8
"ASSESSMENT.Games.en#matches";
#elif L==9
"ASSESSMENT.Games.en#matches";
#endif
const char *Hlp_ASSESSMENT_Games_new_match =
#if L==1
"ASSESSMENT.Games.es#nueva-partida";
#elif L==2
"ASSESSMENT.Games.en#new-match";
#elif L==3
"ASSESSMENT.Games.en#new-match";
#elif L==4
"ASSESSMENT.Games.es#nueva-partida";
#elif L==5
"ASSESSMENT.Games.en#new-match";
#elif L==6
"ASSESSMENT.Games.es#nueva-partida";
#elif L==7
"ASSESSMENT.Games.en#new-match";
#elif L==8
"ASSESSMENT.Games.en#new-match";
#elif L==9
"ASSESSMENT.Games.en#new-match";
#endif
const char *Hlp_ASSESSMENT_Games_questions =
#if L==1
"ASSESSMENT.Games.es#preguntas";
#elif L==2
"ASSESSMENT.Games.en#questions";
#elif L==3
"ASSESSMENT.Games.en#questions";
#elif L==4
"ASSESSMENT.Games.es#preguntas";
#elif L==5
"ASSESSMENT.Games.en#questions";
#elif L==6
"ASSESSMENT.Games.es#preguntas";
#elif L==7
"ASSESSMENT.Games.en#questions";
#elif L==8
"ASSESSMENT.Games.en#questions";
#elif L==9
"ASSESSMENT.Games.en#questions";
#endif
const char *Hlp_ASSESSMENT_Announcements =
#if L==1
"ASSESSMENT.Announcements.es";

View File

@ -1175,7 +1175,7 @@ long Mch_GetParamMchCod (void)
static void Mch_PutFormNewMatch (struct Game *Game)
{
extern const char *Hlp_ASSESSMENT_Games_new_match;
extern const char *Hlp_ASSESSMENT_Games_matches;
extern const char *The_ClassFormInBox[The_NUM_THEMES];
extern const char *Txt_New_match;
extern const char *Txt_Title;
@ -1191,7 +1191,7 @@ static void Mch_PutFormNewMatch (struct Game *Game)
/***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_match,NULL,
Hlp_ASSESSMENT_Games_new_match,Box_NOT_CLOSABLE,2);
Hlp_ASSESSMENT_Games_matches,Box_NOT_CLOSABLE,2);
/***** Match title *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -1276,7 +1276,7 @@ static void Tst_UpdateLastAccTst (void)
void Tst_ShowFormAskEditTsts (void)
{
extern const char *Hlp_ASSESSMENT_Tests;
extern const char *Hlp_ASSESSMENT_Tests_editing_questions;
extern const char *Txt_No_test_questions;
extern const char *Txt_List_edit_questions;
extern const char *Txt_Show_questions;
@ -1290,7 +1290,7 @@ void Tst_ShowFormAskEditTsts (void)
/***** Start box *****/
Box_StartBox (NULL,Txt_List_edit_questions,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
Hlp_ASSESSMENT_Tests_editing_questions,Box_NOT_CLOSABLE);
/***** Get tags already present in the table of questions *****/
if ((NumRows = Tst_GetAllTagsFromCurrentCrs (&mysql_res)))
@ -1337,7 +1337,7 @@ void Tst_ShowFormAskEditTsts (void)
void Tst_ShowFormAskSelectTstsForGame (void)
{
extern const char *Hlp_ASSESSMENT_Tests;
extern const char *Hlp_ASSESSMENT_Games_questions;
extern const char *Txt_No_test_questions;
extern const char *Txt_Select_questions;
extern const char *Txt_Show_questions;
@ -1346,7 +1346,7 @@ void Tst_ShowFormAskSelectTstsForGame (void)
/***** Start box *****/
Box_StartBox (NULL,Txt_Select_questions,NULL,
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
/***** Get tags already present in the table of questions *****/
if ((NumRows = Tst_GetAllTagsFromCurrentCrs (&mysql_res)))
@ -3052,7 +3052,7 @@ static void Tst_ListOneOrMoreQuestionsForEdition (unsigned long NumRows,
static void Tst_ListOneOrMoreQuestionsForSelection (unsigned long NumRows,
MYSQL_RES *mysql_res)
{
extern const char *Hlp_ASSESSMENT_Tests;
extern const char *Hlp_ASSESSMENT_Games_questions;
extern const char *Txt_Questions;
extern const char *Txt_No_INDEX;
extern const char *Txt_Code;
@ -3071,7 +3071,7 @@ static void Tst_ListOneOrMoreQuestionsForSelection (unsigned long NumRows,
/***** Start box *****/
Box_StartBox (NULL,Txt_Questions,NULL,
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
/***** Start form *****/
Frm_StartForm (ActAddTstQstToGam);