Version 16.106.4

This commit is contained in:
Antonio Cañas Vargas 2016-12-24 01:50:27 +01:00
parent 348ca31ed4
commit 609f7d9892
2 changed files with 16 additions and 13 deletions

View File

@ -188,13 +188,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.106.3 (2016-12-24)"
#define Log_PLATFORM_VERSION "SWAD 16.106.4 (2016-12-24)"
#define CSS_FILE "swad16.106.css"
#define JS_FILE "swad16.101.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.106.4: Dec 24, 2016 Changes in behaviour of labels in forms. (211408 lines)
Version 16.106.3: Dec 24, 2016 Changes in behaviour of labels in forms. (211405 lines)
Version 16.106.2: Dec 24, 2016 Changes in behaviour of labels in forms. (211409 lines)
Version 16.106.1: Dec 24, 2016 Changes in stats about preferences. (211408 lines)

View File

@ -322,8 +322,8 @@ static void Ins_Configuration (bool PrintView)
/***** Country *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"OthCtyCod\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -338,7 +338,7 @@ static void Ins_Configuration (bool PrintView)
/* Put form to select country */
Act_FormStart (ActChgInsCtyCfg);
fprintf (Gbl.F.Out,"<select name=\"OthCtyCod\""
fprintf (Gbl.F.Out,"<select id=\"OthCtyCod\" name=\"OthCtyCod\""
" class=\"INPUT_SHORT_NAME\""
" onchange=\"document.getElementById('%s').submit();\">",
Gbl.Form.Id);
@ -364,8 +364,8 @@ static void Ins_Configuration (bool PrintView)
/***** Institution full name *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"FullName\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT_N LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -376,7 +376,8 @@ static void Ins_Configuration (bool PrintView)
{
/* Form to change institution full name */
Act_FormStart (ActRenInsFulCfg);
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"FullName\""
fprintf (Gbl.F.Out,"<input type=\"text\""
" id=\"FullName\" name=\"FullName\""
" maxlength=\"%u\" value=\"%s\""
" class=\"INPUT_FULL_NAME\""
" onchange=\"document.getElementById('%s').submit();\" />",
@ -392,8 +393,8 @@ static void Ins_Configuration (bool PrintView)
/***** Institution short name *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"ShortName\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT_N LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -404,7 +405,8 @@ static void Ins_Configuration (bool PrintView)
{
/* Form to change institution short name */
Act_FormStart (ActRenInsShoCfg);
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"ShortName\""
fprintf (Gbl.F.Out,"<input type=\"text\""
" id=\"ShortName\" name=\"ShortName\""
" maxlength=\"%u\" value=\"%s\""
" class=\"INPUT_SHORT_NAME\""
" onchange=\"document.getElementById('%s').submit();\" />",
@ -420,8 +422,8 @@ static void Ins_Configuration (bool PrintView)
/***** Institution WWW *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"WWW\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -433,7 +435,7 @@ static void Ins_Configuration (bool PrintView)
{
/* Form to change institution WWW */
Act_FormStart (ActChgInsWWWCfg);
fprintf (Gbl.F.Out,"<input type=\"url\" name=\"WWW\""
fprintf (Gbl.F.Out,"<input type=\"url\" id=\"WWW\" name=\"WWW\""
" maxlength=\"%u\" value=\"%s\""
" class=\"INPUT_WWW\""
" onchange=\"document.getElementById('%s').submit();\" />",