mirror of https://github.com/acanas/swad-core.git
Version19.51.12
This commit is contained in:
parent
0a40454961
commit
2ef610028a
|
@ -915,6 +915,12 @@ void HTM_INPUT_FILE (const char *Accept,bool SubmitOnChange)
|
||||||
fprintf (Gbl.F.Out," />");
|
fprintf (Gbl.F.Out," />");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void HTM_INPUT_BUTTON (const char *Name,const char *Value,const char *Attr)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"<input type=\"button\" name=\"%s\" value=\"%s\"%s />",
|
||||||
|
Name,Value,Attr);
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/********************************* Text areas ********************************/
|
/********************************* Text areas ********************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -96,6 +96,7 @@ void HTM_INPUT_EMAIL (const char *Name,unsigned MaxLength,const char *Value,
|
||||||
void HTM_INPUT_URL (const char *Name,const char *Value,bool SubmitOnChange,
|
void HTM_INPUT_URL (const char *Name,const char *Value,bool SubmitOnChange,
|
||||||
const char *fmt,...);
|
const char *fmt,...);
|
||||||
void HTM_INPUT_FILE (const char *Accept,bool SubmitOnChange);
|
void HTM_INPUT_FILE (const char *Accept,bool SubmitOnChange);
|
||||||
|
void HTM_INPUT_BUTTON (const char *Name,const char *Value,const char *Attr);
|
||||||
|
|
||||||
void HTM_TEXTAREA_Begin (const char *fmt,...);
|
void HTM_TEXTAREA_Begin (const char *fmt,...);
|
||||||
void HTM_TEXTAREA_End (void);
|
void HTM_TEXTAREA_End (void);
|
||||||
|
|
|
@ -487,7 +487,7 @@ 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.51.11 (2019-11-04)"
|
#define Log_PLATFORM_VERSION "SWAD 19.51.12 (2019-11-04)"
|
||||||
#define CSS_FILE "swad19.47.css"
|
#define CSS_FILE "swad19.47.css"
|
||||||
#define JS_FILE "swad19.39.js"
|
#define JS_FILE "swad19.39.js"
|
||||||
/*
|
/*
|
||||||
|
@ -495,6 +495,7 @@ ps2pdf source.ps destination.pdf
|
||||||
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
||||||
// TODO: Importante: filtrar proyectos por usuarios (igual que en trabajos o en asistencia)
|
// TODO: Importante: filtrar proyectos por usuarios (igual que en trabajos o en asistencia)
|
||||||
|
|
||||||
|
Version 19.51.12: Nov 04, 2019 Code refactoring in HTML inputs. (245873 lines)
|
||||||
Version 19.51.11: Nov 04, 2019 Code refactoring in HTML inputs. (245868 lines)
|
Version 19.51.11: Nov 04, 2019 Code refactoring in HTML inputs. (245868 lines)
|
||||||
Version 19.51.10: Nov 04, 2019 Code refactoring in HTML inputs. (245971 lines)
|
Version 19.51.10: Nov 04, 2019 Code refactoring in HTML inputs. (245971 lines)
|
||||||
Version 19.51.9: Nov 04, 2019 Code refactoring in HTML inputs. (245974 lines)
|
Version 19.51.9: Nov 04, 2019 Code refactoring in HTML inputs. (245974 lines)
|
||||||
|
|
10
swad_date.c
10
swad_date.c
|
@ -454,12 +454,10 @@ void Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (bool SetHMS00000
|
||||||
|
|
||||||
/***** "Yesterday" and "Today" buttons *****/
|
/***** "Yesterday" and "Today" buttons *****/
|
||||||
HTM_TD_Begin ("rowspan=\"2\" class=\"LM\"");
|
HTM_TD_Begin ("rowspan=\"2\" class=\"LM\"");
|
||||||
fprintf (Gbl.F.Out,"<input type=\"button\" name=\"Yesterday\" value=\"%s\""
|
HTM_INPUT_BUTTON ("Yesterday",Txt_Yesterday,
|
||||||
" onclick=\"setDateToYesterday('Start','End');\" />",
|
"onclick=\"setDateToYesterday('Start','End');\"");
|
||||||
Txt_Yesterday);
|
HTM_INPUT_BUTTON ("Today",Txt_Today,
|
||||||
fprintf (Gbl.F.Out,"<input type=\"button\" name=\"Today\" value=\"%s\""
|
"onclick=\"setDateToToday('Start','End');\"");
|
||||||
" onclick=\"setDateToToday('Start','End');\" />",
|
|
||||||
Txt_Today);
|
|
||||||
HTM_TD_End ();
|
HTM_TD_End ();
|
||||||
|
|
||||||
HTM_TR_End ();
|
HTM_TR_End ();
|
||||||
|
|
Loading…
Reference in New Issue