Version 16.105.6

This commit is contained in:
Antonio Cañas Vargas 2016-12-20 23:31:01 +01:00
parent 15b2efddf2
commit d9f1374a91
2 changed files with 14 additions and 13 deletions

View File

@ -1130,17 +1130,16 @@ void Asg_RequestCreatOrEditAsg (void)
/***** Assignment title *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"<td class=\"RIGHT_MIDDLE\">"
"<label for=\"Title\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"LEFT_MIDDLE\">"
"<input type=\"text\" name=\"Title\""
"<input type=\"text\" id=\"Title\" name=\"Title\""
" size=\"45\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>"
"</tr>",
The_ClassForm[Gbl.Prefs.Theme],
Txt_Title,
The_ClassForm[Gbl.Prefs.Theme],Txt_Title,
Asg_MAX_LENGTH_ASSIGNMENT_TITLE,Asg.Title);
/***** Assignment start and end dates *****/
@ -1151,10 +1150,11 @@ void Asg_RequestCreatOrEditAsg (void)
"<td class=\"%s RIGHT_MIDDLE\">"
"%s:"
"</td>"
"<td class=\"DAT LEFT_MIDDLE\">"
"%s: "
"<td class=\"LEFT_MIDDLE\">"
"<label class=\"DAT\">%s:"
"<input type=\"text\" name=\"Folder\""
" size=\"%u\" maxlength=\"%u\" value=\"%s\" />"
"</label>"
"</td>"
"</tr>",
The_ClassForm[Gbl.Prefs.Theme],
@ -1164,13 +1164,13 @@ void Asg_RequestCreatOrEditAsg (void)
/***** Assignment text *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"<td class=\"RIGHT_TOP\">"
"<label for=\"Txt\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"LEFT_TOP\">"
"<textarea name=\"Txt\" cols=\"60\" rows=\"10\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_Description);
"<textarea id=\"Txt\" name=\"Txt\""
" cols=\"60\" rows=\"10\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_Description);
if (!ItsANewAssignment)
fprintf (Gbl.F.Out,"%s",Txt);
fprintf (Gbl.F.Out,"</textarea>"

View File

@ -188,13 +188,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.105.5 (2016-12-20)"
#define Log_PLATFORM_VERSION "SWAD 16.105.6 (2016-12-20)"
#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.6: Dec 20, 2016 Changes in behaviour of labels in forms. (211300 lines)
Version 16.105.5: Dec 20, 2016 Changes in behaviour of labels in forms. (211299 lines)
Version 16.105.4: Dec 20, 2016 Changes in behaviour of labels in forms. (211281 lines)
Version 16.105.3: Dec 20, 2016 Changes in contextual checkboxes. (211280 lines)