mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-24 00:01:03 +02:00
Version 22.50.2: Oct 19, 2022 Code refactoring related to dates.
This commit is contained in:
parent
cc8b64cf3c
commit
a7c0f6bc46
|
@ -61,7 +61,6 @@
|
||||||
/*********************************** TODO ************************************/
|
/*********************************** TODO ************************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
// TODO: Víctor Cabrita Gómez, 2019-02-27: "Para cuando un tema oscuro de SWAD?"
|
|
||||||
// TODO: Is it necessary FileType in table "files"?
|
// TODO: Is it necessary FileType in table "files"?
|
||||||
// TODO: When notifications are marked as seen, do it in a priori function
|
// TODO: When notifications are marked as seen, do it in a priori function
|
||||||
// TODO: Use the library http://fukuchi.org/works/qrencode/index.html.en instead Google QR
|
// TODO: Use the library http://fukuchi.org/works/qrencode/index.html.en instead Google QR
|
||||||
|
@ -606,10 +605,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
||||||
|
|
||||||
TODO: Attach pdf files in multimedia.
|
TODO: Attach pdf files in multimedia.
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 22.50.2 (2022-10-19)"
|
#define Log_PLATFORM_VERSION "SWAD 22.50.3 (2022-10-19)"
|
||||||
#define CSS_FILE "swad22.49.4.css"
|
#define CSS_FILE "swad22.49.4.css"
|
||||||
#define JS_FILE "swad22.49.js"
|
#define JS_FILE "swad22.49.js"
|
||||||
/*
|
/*
|
||||||
|
Version 22.50.3: Oct 19, 2022 Fixed bug in keys when playing matches. (333456 lines)
|
||||||
Version 22.50.2: Oct 19, 2022 Code refactoring related to dates. (333456 lines)
|
Version 22.50.2: Oct 19, 2022 Code refactoring related to dates. (333456 lines)
|
||||||
Version 22.50.1: Oct 19, 2022 Code refactoring related to dates. (333332 lines)
|
Version 22.50.1: Oct 19, 2022 Code refactoring related to dates. (333332 lines)
|
||||||
Version 22.50: Oct 19, 2022 Code refactoring related to dates. (333318 lines)
|
Version 22.50: Oct 19, 2022 Code refactoring related to dates. (333318 lines)
|
||||||
|
|
16
swad_match.c
16
swad_match.c
|
@ -205,7 +205,7 @@ static const char *Mch_GetClassBorder (unsigned NumRow);
|
||||||
static void Mch_PutParamNumOpt (unsigned NumOpt);
|
static void Mch_PutParamNumOpt (unsigned NumOpt);
|
||||||
static unsigned Mch_GetParamNumOpt (void);
|
static unsigned Mch_GetParamNumOpt (void);
|
||||||
|
|
||||||
static void Mch_PutBigButton (Act_Action_t NextAction,
|
static void Mch_PutBigButton (Act_Action_t NextAction,const char *Id,
|
||||||
long MchCod,const char *Icon,const char *Txt);
|
long MchCod,const char *Icon,const char *Txt);
|
||||||
static void Mch_PutBigButtonHidden (const char *Icon);
|
static void Mch_PutBigButtonHidden (const char *Icon);
|
||||||
static void Mch_PutBigButtonClose (void);
|
static void Mch_PutBigButtonClose (void);
|
||||||
|
@ -2539,7 +2539,7 @@ static void Mch_PutMatchControlButtons (const struct Mch_Match *Match)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Put button to go back */
|
/* Put button to go back */
|
||||||
Mch_PutBigButton (ActBckMch,Match->MchCod,
|
Mch_PutBigButton (ActBckMch,"backward",Match->MchCod,
|
||||||
Mch_ICON_PREVIOUS,Txt_Go_back);
|
Mch_ICON_PREVIOUS,Txt_Go_back);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -2549,7 +2549,7 @@ static void Mch_PutMatchControlButtons (const struct Mch_Match *Match)
|
||||||
HTM_DIV_Begin ("class=\"MCH_BUTTON_CENTER_CONT\"");
|
HTM_DIV_Begin ("class=\"MCH_BUTTON_CENTER_CONT\"");
|
||||||
if (Match->Status.Playing) // Match is being played
|
if (Match->Status.Playing) // Match is being played
|
||||||
/* Put button to pause match */
|
/* Put button to pause match */
|
||||||
Mch_PutBigButton (ActPlyPauMch,Match->MchCod,
|
Mch_PutBigButton (ActPlyPauMch,"play_pause",Match->MchCod,
|
||||||
Mch_ICON_PAUSE,Txt_Pause);
|
Mch_ICON_PAUSE,Txt_Pause);
|
||||||
else // Match is paused, not being played
|
else // Match is paused, not being played
|
||||||
{
|
{
|
||||||
|
@ -2557,7 +2557,7 @@ static void Mch_PutMatchControlButtons (const struct Mch_Match *Match)
|
||||||
{
|
{
|
||||||
case Mch_START: // Match just started, before first question
|
case Mch_START: // Match just started, before first question
|
||||||
/* Put button to start playing match */
|
/* Put button to start playing match */
|
||||||
Mch_PutBigButton (ActPlyPauMch,Match->MchCod,
|
Mch_PutBigButton (ActPlyPauMch,"play_pause",Match->MchCod,
|
||||||
Mch_ICON_PLAY,Txt_Start);
|
Mch_ICON_PLAY,Txt_Start);
|
||||||
break;
|
break;
|
||||||
case Mch_END: // Match over
|
case Mch_END: // Match over
|
||||||
|
@ -2566,7 +2566,7 @@ static void Mch_PutMatchControlButtons (const struct Mch_Match *Match)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* Put button to resume match */
|
/* Put button to resume match */
|
||||||
Mch_PutBigButton (ActPlyPauMch,Match->MchCod,
|
Mch_PutBigButton (ActPlyPauMch,"play_pause",Match->MchCod,
|
||||||
Mch_ICON_PLAY,Txt_Resume);
|
Mch_ICON_PLAY,Txt_Resume);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2579,7 +2579,7 @@ static void Mch_PutMatchControlButtons (const struct Mch_Match *Match)
|
||||||
Mch_PutBigButtonClose ();
|
Mch_PutBigButtonClose ();
|
||||||
else // Match not over
|
else // Match not over
|
||||||
/* Put button to show answers */
|
/* Put button to show answers */
|
||||||
Mch_PutBigButton (ActFwdMch,Match->MchCod,
|
Mch_PutBigButton (ActFwdMch,"forward",Match->MchCod,
|
||||||
Mch_ICON_NEXT,Txt_Go_forward);
|
Mch_ICON_NEXT,Txt_Go_forward);
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
|
||||||
|
@ -3264,11 +3264,11 @@ static unsigned Mch_GetParamNumOpt (void)
|
||||||
/*********************** Put a big button to do action ***********************/
|
/*********************** Put a big button to do action ***********************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
static void Mch_PutBigButton (Act_Action_t NextAction,
|
static void Mch_PutBigButton (Act_Action_t NextAction,const char *Id,
|
||||||
long MchCod,const char *Icon,const char *Txt)
|
long MchCod,const char *Icon,const char *Txt)
|
||||||
{
|
{
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
Frm_BeginForm (NextAction);
|
Frm_BeginFormId (NextAction,Id);
|
||||||
Mch_PutParamMchCod (MchCod);
|
Mch_PutParamMchCod (MchCod);
|
||||||
|
|
||||||
/***** Put icon with link *****/
|
/***** Put icon with link *****/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user