Version 16.105.10

This commit is contained in:
Antonio Cañas Vargas 2016-12-21 00:45:51 +01:00
parent 25224ba894
commit fa6a59c9da
2 changed files with 20 additions and 16 deletions

View File

@ -188,13 +188,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.105.9 (2016-12-21)"
#define Log_PLATFORM_VERSION "SWAD 16.105.10 (2016-12-21)"
#define CSS_FILE "swad16.105.3.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.105.10:Dec 21, 2016 Changes in behaviour of labels in forms. (211320 lines)
Version 16.105.9: Dec 21, 2016 Changes in behaviour of labels in forms. (211316 lines)
Version 16.105.8: Dec 20, 2016 Changes in behaviour of labels in forms. (211313 lines)
Version 16.105.7: Dec 20, 2016 Changes in behaviour of labels in forms. (211302 lines)

View File

@ -216,8 +216,8 @@ static void Crs_Configuration (bool PrintView)
/***** Degree *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"OthDegCod\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -232,7 +232,7 @@ static void Crs_Configuration (bool PrintView)
/* Put form to select degree */
Act_FormStart (ActChgCrsDegCfg);
fprintf (Gbl.F.Out,"<select name=\"OthDegCod\""
fprintf (Gbl.F.Out,"<select id=\"OthDegCod\" name=\"OthDegCod\""
" class=\"INPUT_SHORT_NAME\""
" onchange=\"document.getElementById('%s').submit();\">",
Gbl.Form.Id);
@ -258,8 +258,8 @@ static void Crs_Configuration (bool PrintView)
/***** Course 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],
@ -270,7 +270,8 @@ static void Crs_Configuration (bool PrintView)
{
/* Form to change course full name */
Act_FormStart (ActRenCrsFulCfg);
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();\" />",
@ -286,8 +287,8 @@ static void Crs_Configuration (bool PrintView)
/***** Course 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],
@ -298,7 +299,8 @@ static void Crs_Configuration (bool PrintView)
{
/* Form to change course short name */
Act_FormStart (ActRenCrsShoCfg);
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();\" />",
@ -314,8 +316,8 @@ static void Crs_Configuration (bool PrintView)
/***** Course year *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"OthCrsYear\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -323,7 +325,7 @@ static void Crs_Configuration (bool PrintView)
if (IsForm)
{
Act_FormStart (ActChgCrsYeaCfg);
fprintf (Gbl.F.Out,"<select name=\"OthCrsYear\""
fprintf (Gbl.F.Out,"<select id=\"OthCrsYear\" name=\"OthCrsYear\""
" onchange=\"document.getElementById('%s').submit();\">",
Gbl.Form.Id);
for (Year = 0;
@ -348,8 +350,8 @@ static void Crs_Configuration (bool PrintView)
{
/***** Institutional code of the course *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"InsCrsCod\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">",
The_ClassForm[Gbl.Prefs.Theme],
@ -357,7 +359,8 @@ static void Crs_Configuration (bool PrintView)
if (IsForm)
{
Act_FormStart (ActChgInsCrsCodCfg);
fprintf (Gbl.F.Out,"<input type=\"text\" name=\"InsCrsCod\""
fprintf (Gbl.F.Out,"<input type=\"text\""
" id=\"InsCrsCod\" name=\"InsCrsCod\""
" size=\"%u\" maxlength=\"%u\" value=\"%s\""
" onchange=\"document.getElementById('%s').submit();\" />",
Crs_LENGTH_INSTITUTIONAL_CRS_COD,