mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-10 10:45:23 +02:00
Version19.16.4
This commit is contained in:
parent
16fd93fc03
commit
e42221bdb8
|
@ -718,6 +718,7 @@ static void Agd_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod)
|
||||||
char *Anchor = NULL;
|
char *Anchor = NULL;
|
||||||
static unsigned UniqueId = 0;
|
static unsigned UniqueId = 0;
|
||||||
struct AgendaEvent AgdEvent;
|
struct AgendaEvent AgdEvent;
|
||||||
|
Dat_StartEndTime_t StartEndTime;
|
||||||
char Txt[Cns_MAX_BYTES_TEXT + 1];
|
char Txt[Cns_MAX_BYTES_TEXT + 1];
|
||||||
|
|
||||||
/***** Get data of this event *****/
|
/***** Get data of this event *****/
|
||||||
|
@ -739,36 +740,27 @@ static void Agd_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod)
|
||||||
Frm_SetAnchorStr (AgdEvent.AgdCod,&Anchor);
|
Frm_SetAnchorStr (AgdEvent.AgdCod,&Anchor);
|
||||||
|
|
||||||
/***** Write first row of data of this event *****/
|
/***** Write first row of data of this event *****/
|
||||||
/* Start date/time */
|
fprintf (Gbl.F.Out,"<tr>");
|
||||||
UniqueId++;
|
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
|
||||||
"<td id=\"agd_date_start_%u\" class=\"%s LEFT_BOTTOM COLOR%u\">"
|
|
||||||
"<script type=\"text/javascript\">"
|
|
||||||
"writeLocalDateHMSFromUTC('agd_date_start_%u',%ld,"
|
|
||||||
"%u,'<br />','%s',true,true,0x6);"
|
|
||||||
"</script>"
|
|
||||||
"</td>",
|
|
||||||
UniqueId,
|
|
||||||
AgdEvent.Hidden ? Dat_TimeStatusClassHidden[AgdEvent.TimeStatus] :
|
|
||||||
Dat_TimeStatusClassVisible[AgdEvent.TimeStatus],
|
|
||||||
Gbl.RowEvenOdd,
|
|
||||||
UniqueId,AgdEvent.TimeUTC[Agd_START_TIME],
|
|
||||||
(unsigned) Gbl.Prefs.DateFormat,Txt_Today);
|
|
||||||
|
|
||||||
/* End date/time */
|
/* Start/end date/time */
|
||||||
UniqueId++;
|
UniqueId++;
|
||||||
fprintf (Gbl.F.Out,"<td id=\"agd_date_end_%u\" class=\"%s LEFT_BOTTOM COLOR%u\">"
|
for (StartEndTime = (Dat_StartEndTime_t) 0;
|
||||||
"<script type=\"text/javascript\">"
|
StartEndTime <= (Dat_StartEndTime_t) (Dat_NUM_START_END_TIME - 1);
|
||||||
"writeLocalDateHMSFromUTC('agd_date_end_%u',%ld,"
|
StartEndTime++)
|
||||||
"%u,'<br />','%s',false,true,0x6);"
|
fprintf (Gbl.F.Out,"<td id=\"agd_date_%u_%u\""
|
||||||
"</script>"
|
" class=\"%s LEFT_BOTTOM COLOR%u\">"
|
||||||
"</td>",
|
"<script type=\"text/javascript\">"
|
||||||
UniqueId,
|
"writeLocalDateHMSFromUTC('agd_date_%u_%u',%ld,"
|
||||||
AgdEvent.Hidden ? Dat_TimeStatusClassHidden[AgdEvent.TimeStatus] :
|
"%u,'<br />','%s',true,true,0x6);"
|
||||||
Dat_TimeStatusClassVisible[AgdEvent.TimeStatus],
|
"</script>"
|
||||||
Gbl.RowEvenOdd,
|
"</td>",
|
||||||
UniqueId,AgdEvent.TimeUTC[Agd_END_TIME],
|
(unsigned) StartEndTime,UniqueId,
|
||||||
(unsigned) Gbl.Prefs.DateFormat,Txt_Today);
|
AgdEvent.Hidden ? Dat_TimeStatusClassHidden[AgdEvent.TimeStatus] :
|
||||||
|
Dat_TimeStatusClassVisible[AgdEvent.TimeStatus],
|
||||||
|
Gbl.RowEvenOdd,
|
||||||
|
(unsigned) StartEndTime,UniqueId,
|
||||||
|
AgdEvent.TimeUTC[StartEndTime],
|
||||||
|
(unsigned) Gbl.Prefs.DateFormat,Txt_Today);
|
||||||
|
|
||||||
/* Event */
|
/* Event */
|
||||||
fprintf (Gbl.F.Out,"<td class=\"%s LEFT_TOP COLOR%u\">",
|
fprintf (Gbl.F.Out,"<td class=\"%s LEFT_TOP COLOR%u\">",
|
||||||
|
@ -783,13 +775,14 @@ static void Agd_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod)
|
||||||
/* Location */
|
/* Location */
|
||||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_TOP COLOR%u\">"
|
fprintf (Gbl.F.Out,"<td class=\"LEFT_TOP COLOR%u\">"
|
||||||
"<div class=\"%s\">%s</div>"
|
"<div class=\"%s\">%s</div>"
|
||||||
"</td>"
|
"</td>",
|
||||||
"</tr>",
|
|
||||||
Gbl.RowEvenOdd,
|
Gbl.RowEvenOdd,
|
||||||
AgdEvent.Hidden ? "ASG_TITLE_LIGHT" :
|
AgdEvent.Hidden ? "ASG_TITLE_LIGHT" :
|
||||||
"ASG_TITLE",
|
"ASG_TITLE",
|
||||||
AgdEvent.Location);
|
AgdEvent.Location);
|
||||||
|
|
||||||
|
fprintf (Gbl.F.Out,"</tr>");
|
||||||
|
|
||||||
/***** Write second row of data of this event *****/
|
/***** Write second row of data of this event *****/
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td colspan=\"2\" class=\"LEFT_TOP COLOR%u\">",
|
"<td colspan=\"2\" class=\"LEFT_TOP COLOR%u\">",
|
||||||
|
|
|
@ -470,10 +470,11 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.16.3 (2019-09-27)"
|
#define Log_PLATFORM_VERSION "SWAD 19.16.4 (2019-09-27)"
|
||||||
#define CSS_FILE "swad19.15.css"
|
#define CSS_FILE "swad19.15.css"
|
||||||
#define JS_FILE "swad19.15.js"
|
#define JS_FILE "swad19.15.js"
|
||||||
/*
|
/*
|
||||||
|
Version 19.16.4: Sep 27, 2019 Code refactoring in agenda. (246407 lines)
|
||||||
Version 19.16.3: Sep 27, 2019 Code refactoring in game dates. (246414 lines)
|
Version 19.16.3: Sep 27, 2019 Code refactoring in game dates. (246414 lines)
|
||||||
Version 19.16.2: Sep 26, 2019 Fixed bugs in edition of games.
|
Version 19.16.2: Sep 26, 2019 Fixed bugs in edition of games.
|
||||||
Changed listing of games and surveys. (246422 lines)
|
Changed listing of games and surveys. (246422 lines)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user