mirror of https://github.com/acanas/swad-core.git
Version 16.64.34
This commit is contained in:
parent
e904179f72
commit
c38153e71e
|
@ -384,7 +384,7 @@ static void Ban_ListBannersForEdition (void)
|
|||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">");
|
||||
Act_FormStart (ActChgBanWWW);
|
||||
Ban_PutParamBanCod (Ban->BanCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -772,7 +772,7 @@ static void Ban_PutFormToCreateBanner (void)
|
|||
|
||||
/***** Banner WWW *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW\""
|
||||
"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" required=\"required\" />"
|
||||
|
|
|
@ -488,7 +488,7 @@ static void Ctr_Configuration (bool PrintView)
|
|||
{
|
||||
/* Form to change centre WWW */
|
||||
Act_FormStart (ActChgCtrWWWCfg);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -1494,7 +1494,7 @@ static void Ctr_ListCentresForEdition (void)
|
|||
{
|
||||
Act_FormStart (ActChgCtrWWW);
|
||||
Ctr_PutParamOtherCtrCod (Ctr->CtrCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -2448,7 +2448,7 @@ static void Ctr_PutFormToCreateCentre (void)
|
|||
|
||||
/***** Centre WWW *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW\""
|
||||
"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" required=\"required\" />"
|
||||
|
|
|
@ -170,13 +170,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.64.33 (2016-11-20)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.64.34 (2016-11-20)"
|
||||
#define CSS_FILE "swad16.60.1.css"
|
||||
#define JS_FILE "swad16.46.1.js"
|
||||
|
||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
||||
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||
/*
|
||||
Version 16.64.34: Nov 20, 2016 Input fields for URLs are changed from text to url. (207376 lines)
|
||||
Version 16.64.33: Nov 20, 2016 Input fields for email are changed from text to email. (207375 lines)
|
||||
Version 16.64.32: Nov 20, 2016 Input fields for phone numbers are changed from text to tel. (207374 lines)
|
||||
Version 16.64.31: Nov 19, 2016 Input field required in new holiday form. (207373 lines)
|
||||
|
|
|
@ -1527,7 +1527,7 @@ static void Cty_ListCountriesForEdition (void)
|
|||
Act_FormStart (ActChgCtyWWW);
|
||||
Cty_PutParamOtherCtyCod (Cty->CtyCod);
|
||||
Par_PutHiddenParamUnsigned ("Lan",(unsigned) Lan);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -1902,7 +1902,7 @@ static void Cty_PutFormToCreateCountry (void)
|
|||
|
||||
/* WWW */
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW_%s\""
|
||||
"<input type=\"url\" name=\"WWW_%s\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\" />"
|
||||
"</td>"
|
||||
|
|
|
@ -446,7 +446,7 @@ static void Deg_Configuration (bool PrintView)
|
|||
{
|
||||
/* Form to change degree WWW */
|
||||
Act_FormStart (ActChgDegWWWCfg);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -810,7 +810,7 @@ static void Deg_ListDegreesForEdition (void)
|
|||
{
|
||||
Act_FormStart (ActChgDegWWW);
|
||||
Deg_PutParamOtherDegCod (Deg->DegCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -1017,7 +1017,7 @@ static void Deg_PutFormToCreateDegree (void)
|
|||
|
||||
/***** Degree WWW *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW\""
|
||||
"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" required=\"required\" />"
|
||||
|
|
|
@ -571,7 +571,7 @@ static void Dpt_ListDepartmentsForEdition (void)
|
|||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">");
|
||||
Act_FormStart (ActChgDptWWW);
|
||||
Dpt_PutParamDptCod (Dpt->DptCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -934,7 +934,7 @@ static void Dpt_PutFormToCreateDepartment (void)
|
|||
|
||||
/***** Department WWW *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW\""
|
||||
"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" required=\"required\" />"
|
||||
|
|
|
@ -8332,7 +8332,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
|||
"</label>"
|
||||
"</td>"
|
||||
"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"NewLinkURL\""
|
||||
"<input type=\"url\" name=\"NewLinkURL\""
|
||||
" size=\"40\" maxlength=\"%u\" value=\"\""
|
||||
" required=\"required\" />"
|
||||
"</td>"
|
||||
|
|
|
@ -237,7 +237,7 @@ void Img_PutImageUploader (int NumImgInForm,const char *ClassImgTitURL)
|
|||
Txt_Image_title_attribution,Txt_optional,
|
||||
ClassImgTitURL,Img_MAX_BYTES_TITLE);
|
||||
fprintf (Gbl.F.Out,"<br />"
|
||||
"<input type=\"text\" name=\"%s\""
|
||||
"<input type=\"url\" name=\"%s\""
|
||||
" placeholder=\"%s (%s)\""
|
||||
" class=\"%s\" maxlength=\"%u\" value=\"\" />",
|
||||
ParamUploadImg.URL,
|
||||
|
|
|
@ -1253,7 +1253,7 @@ void Inf_FormToSendURL (Inf_InfoSrc_t InfoSrc)
|
|||
"%s:"
|
||||
"</td>"
|
||||
"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"InfoSrcURL\""
|
||||
"<input type=\"url\" name=\"InfoSrcURL\""
|
||||
" size=\"50\" maxlength=\"256\" value=\"",
|
||||
The_ClassForm[Gbl.Prefs.Theme],Txt_URL);
|
||||
if ((FileURL = fopen (PathFile,"rb")) == NULL)
|
||||
|
|
|
@ -433,7 +433,7 @@ static void Ins_Configuration (bool PrintView)
|
|||
{
|
||||
/* Form to change institution WWW */
|
||||
Act_FormStart (ActChgInsWWWCfg);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -1379,7 +1379,7 @@ static void Ins_ListInstitutionsForEdition (void)
|
|||
{
|
||||
Act_FormStart (ActChgInsWWW);
|
||||
Ins_PutParamOtherInsCod (Ins->InsCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -2099,7 +2099,7 @@ static void Ins_PutFormToCreateInstitution (void)
|
|||
|
||||
/***** Institution WWW *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW\""
|
||||
"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" required=\"required\" />"
|
||||
|
|
|
@ -372,7 +372,7 @@ static void Lnk_ListLinksForEdition (void)
|
|||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">");
|
||||
Act_FormStart (ActChgLnkWWW);
|
||||
Lnk_PutParamLnkCod (Lnk->LnkCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"WWW\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
|
@ -650,7 +650,7 @@ static void Lnk_PutFormToCreateLink (void)
|
|||
|
||||
/***** Link WWW *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"WWW\""
|
||||
"<input type=\"url\" name=\"WWW\""
|
||||
" maxlength=\"%u\" value=\"%s\""
|
||||
" class=\"INPUT_WWW\""
|
||||
" required=\"required\" />"
|
||||
|
|
|
@ -438,7 +438,7 @@ static void Plg_ListPluginsForEdition (void)
|
|||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">");
|
||||
Act_FormStart (ActChgPlgURL);
|
||||
Plg_PutParamPlgCod (Plg->PlgCod);
|
||||
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"URL\""
|
||||
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"URL\""
|
||||
" size=\"15\" maxlength=\"%u\" value=\"%s\""
|
||||
" onchange=\"document.getElementById('%s').submit();\" />",
|
||||
Cns_MAX_LENGTH_WWW,Plg->URL,Gbl.Form.Id);
|
||||
|
@ -903,7 +903,7 @@ static void Plg_PutFormToCreatePlugin (void)
|
|||
|
||||
/***** Plugin URL *****/
|
||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
|
||||
"<input type=\"text\" name=\"URL\""
|
||||
"<input type=\"url\" name=\"URL\""
|
||||
" size=\"15\" maxlength=\"%u\" value=\"%s\""
|
||||
" required=\"required\" />"
|
||||
"</td>",
|
||||
|
|
Loading…
Reference in New Issue