Version 16.64.8

This commit is contained in:
Antonio Cañas Vargas 2016-11-19 02:37:09 +01:00
parent 9e85d8f520
commit 4ab289b80e
2 changed files with 8 additions and 4 deletions

View File

@ -168,13 +168,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.64.7 (2016-11-18)"
#define Log_PLATFORM_VERSION "SWAD 16.64.8 (2016-11-18)"
#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.8: Nov 18, 2016 Input fields required in edition of country. (207282 lines)
Version 16.64.7: Nov 18, 2016 Input fields required in new account form.
Input fields required in password forms. (207278 lines)
Version 16.64.6: Nov 17, 2016 Input fields required in log in form. (207270 lines)

View File

@ -1850,12 +1850,14 @@ static void Cty_PutFormToCreateCountry (void)
1 + Txt_NUM_LANGUAGES);
if (Cty->CtyCod > 0)
fprintf (Gbl.F.Out,"%03ld",Cty->CtyCod);
fprintf (Gbl.F.Out,"\" /></td>");
fprintf (Gbl.F.Out,"\" required=\"required\" />"
"</td>");
/***** Alphabetic country code with 2 letters (ISO 3166-1) *****/
fprintf (Gbl.F.Out,"<td rowspan=\"%u\" class=\"RIGHT_TOP\">"
"<input type=\"text\" name=\"Alpha2\""
" size=\"2\" maxlength=\"2\" value=\"%s\" />"
" size=\"2\" maxlength=\"2\" value=\"%s\""
" required=\"required\" />"
"</td>",
1 + Txt_NUM_LANGUAGES,Cty->Alpha2);
@ -1891,7 +1893,8 @@ static void Cty_PutFormToCreateCountry (void)
/* Name */
fprintf (Gbl.F.Out,"<td class=\"LEFT_MIDDLE\">"
"<input type=\"text\" name=\"Name_%s\""
" size=\"15\" maxlength=\"%u\" value=\"%s\" />"
" size=\"15\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>",
Txt_STR_LANG_ID[Lan],
Cty_MAX_BYTES_COUNTRY_NAME,