Version 16.105.7

This commit is contained in:
Antonio Cañas Vargas 2016-12-20 23:41:33 +01:00
parent d9f1374a91
commit a30bb58a58
2 changed files with 13 additions and 11 deletions

View File

@ -1141,11 +1141,11 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Attendance event title *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"<td class=\"RIGHT_TOP\">"
"<label for=\"Title\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"LEFT_TOP\">"
"<input type=\"text\" name=\"Title\""
"<input type=\"text\" id=\"Title\" name=\"Title\""
" size=\"45\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>"
@ -1158,11 +1158,11 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Visibility of comments *****/
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s RIGHT_TOP\">"
"%s:"
"<td class=\"RIGHT_TOP\">"
"<label for=\"ComTchVisible\" class=\"%s\">%s:</label>"
"</td>"
"<td class=\"LEFT_TOP\">"
"<select name=\"CommentTchVisible\">",
"<select id=\"ComTchVisible\" name=\"ComTchVisible\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_Teachers_comment);
fprintf (Gbl.F.Out,"<option value=\"N\"");
@ -1183,11 +1183,12 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Attendance event description *****/
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=\"5\">",
"<textarea id=\"Txt\" name=\"Txt\""
" cols=\"60\" rows=\"5\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_Description);
if (!ItsANewAttEvent)
fprintf (Gbl.F.Out,"%s",Txt);
@ -1301,7 +1302,7 @@ void Att_RecFormAttEvent (void)
ReceivedAtt.TimeUTC[Att_END_TIME ] = Dat_GetTimeUTCFromForm ("EndTimeUTC" );
/***** Get boolean parameter that indicates if teacher's comments are visible by students *****/
Par_GetParToText ("CommentTchVisible",YN,1);
Par_GetParToText ("ComTchVisible",YN,1);
ReceivedAtt.CommentTchVisible = (Str_ConvertToUpperLetter (YN[0]) == 'Y');
/***** Get attendance event title *****/

View File

@ -188,13 +188,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.105.6 (2016-12-20)"
#define Log_PLATFORM_VERSION "SWAD 16.105.7 (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.7: Dec 20, 2016 Changes in behaviour of labels in forms. (211302 lines)
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)