mirror of https://github.com/acanas/swad-core.git
Version19.128.1
This commit is contained in:
parent
fe5a6fb304
commit
99d20f9572
|
@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
|||
En OpenSWAD:
|
||||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.128 (2020-02-19)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.128.1 (2020-02-19)"
|
||||
#define CSS_FILE "swad19.118.css"
|
||||
#define JS_FILE "swad19.91.1.js"
|
||||
/*
|
||||
|
@ -521,14 +521,12 @@ Param
|
|||
// TODO: Add visibility to API function getTestConfig
|
||||
// TODO: Get visibility IN API function getGames
|
||||
// TODO: Sugerencia de Jesús González Peñalver: añadir un poco más de espacio entre pregunta y pregunta en las opciones de un juego
|
||||
// TODO: Remove Txt_Result
|
||||
|
||||
Version 19.128.1: Feb 18, 2020 Changes in match results. (279117 lines)
|
||||
Version 19.128: Feb 18, 2020 Changes in match results. (279175 lines)
|
||||
Copy the following icons to icon public directory:
|
||||
sudo cp -a icon/file-regular-red.svg /var/www/html/swad/icon/
|
||||
sudo cp -a icon/file-alt-regular-green.svg /var/www/html/swad/icon/
|
||||
sudo cp -a icon/file-regular-red.svg /var/www/html/swad/icon/
|
||||
sudo cp -a icon/file-alt-regular-green.svg /var/www/html/swad/icon/
|
||||
sudo cp -a icon/spell-red.svg /var/www/html/swad/icon/
|
||||
sudo cp -a icon/spell-check-green.svg /var/www/html/swad/icon/
|
||||
sudo cp -a icon/list-ul-red.svg /var/www/html/swad/icon/
|
||||
|
|
|
@ -525,13 +525,7 @@ static void Gam_ShowOneGame (struct Game *Game,bool ShowOnlyThisGame)
|
|||
HTM_Double (Game->MaxGrade);
|
||||
HTM_BR ();
|
||||
HTM_TxtColonNBSP (Txt_Result_visibility);
|
||||
if (ShowOnlyThisGame)
|
||||
{
|
||||
HTM_BR ();
|
||||
TsV_ShowVisibilityIconsAndTxt (Game->Visibility);
|
||||
}
|
||||
else
|
||||
TsV_ShowVisibilityIcons (Game->Visibility);
|
||||
TsV_ShowVisibilityIcons (Game->Visibility);
|
||||
HTM_DIV_End ();
|
||||
|
||||
/***** Number of matches in game *****/
|
||||
|
|
|
@ -107,36 +107,6 @@ void TsV_ShowVisibilityIcons (unsigned SelectedVisibility)
|
|||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/*********************** Show visibility with text ***************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void TsV_ShowVisibilityIconsAndTxt (unsigned SelectedVisibility)
|
||||
{
|
||||
extern const char *Txt_Visible;
|
||||
extern const char *Txt_Hidden;
|
||||
extern const char *Txt_TST_STR_VISIBILITY[TsV_NUM_ITEMS_VISIBILITY];
|
||||
TsV_Visibility_t Visibility;
|
||||
bool ItemVisible;
|
||||
|
||||
for (Visibility = (TsV_Visibility_t) 0;
|
||||
Visibility <= (TsV_Visibility_t) (TsV_NUM_ITEMS_VISIBILITY - 1);
|
||||
Visibility++)
|
||||
{
|
||||
ItemVisible = (SelectedVisibility & (1 << Visibility)) != 0;
|
||||
HTM_LABEL_Begin ("class=\"%s\"",ItemVisible ? "DAT_SMALL_GREEN" :
|
||||
"DAT_SMALL_RED");
|
||||
Ico_PutIcon (ItemVisible ? "eye-green.svg" :
|
||||
"eye-slash-red.svg",
|
||||
ItemVisible ? Txt_Visible :
|
||||
Txt_Hidden,
|
||||
"CONTEXT_OPT CONTEXT_ICO_16x16");
|
||||
HTM_Txt (Txt_TST_STR_VISIBILITY[Visibility]);
|
||||
HTM_LABEL_End ();
|
||||
HTM_BR ();
|
||||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/************ Put checkboxes in form to select result visibility *************/
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -55,7 +55,6 @@ typedef enum
|
|||
/*****************************************************************************/
|
||||
|
||||
void TsV_ShowVisibilityIcons (unsigned SelectedVisibility);
|
||||
void TsV_ShowVisibilityIconsAndTxt (unsigned SelectedVisibility);
|
||||
void TsV_PutVisibilityCheckboxes (unsigned SelectedVisibility);
|
||||
unsigned TsV_GetVisibilityFromForm (void);
|
||||
unsigned TsV_GetVisibilityFromStr (const char *Str);
|
||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -33712,28 +33712,7 @@ const char *Txt_Reset_survey =
|
|||
#elif L==9 // pt
|
||||
"Reiniciar inquérito";
|
||||
#endif
|
||||
/*
|
||||
const char *Txt_Result =
|
||||
#if L==1 // ca
|
||||
"Resultat";
|
||||
#elif L==2 // de
|
||||
"Ergebnis";
|
||||
#elif L==3 // en
|
||||
"Result";
|
||||
#elif L==4 // es
|
||||
"Resultado";
|
||||
#elif L==5 // fr
|
||||
"Résultat";
|
||||
#elif L==6 // gn
|
||||
"Resultado"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Risultato";
|
||||
#elif L==8 // pl
|
||||
"Wynik";
|
||||
#elif L==9 // pt
|
||||
"Resultado";
|
||||
#endif
|
||||
*/
|
||||
|
||||
const char *Txt_Results =
|
||||
#if L==1 // ca
|
||||
"Resultats";
|
||||
|
|
Loading…
Reference in New Issue