mirror of https://github.com/acanas/swad-core.git
Version 16.107.5
This commit is contained in:
parent
f04ba7d3d2
commit
160e1b32ed
|
@ -2128,7 +2128,10 @@ static void Att_WriteRowStdToCallTheRoll (unsigned NumStd,struct UsrData *UsrDat
|
||||||
fprintf (Gbl.F.Out,"<td class=\"DAT_SMALL LEFT_TOP COLOR%u\">",
|
fprintf (Gbl.F.Out,"<td class=\"DAT_SMALL LEFT_TOP COLOR%u\">",
|
||||||
Gbl.RowEvenOdd);
|
Gbl.RowEvenOdd);
|
||||||
if (Gbl.Usrs.Me.LoggedRole == Rol_STUDENT && Att->Open) // Show with form
|
if (Gbl.Usrs.Me.LoggedRole == Rol_STUDENT && Att->Open) // Show with form
|
||||||
fprintf (Gbl.F.Out,"<textarea name=\"CommentStd%ld\" cols=\"40\" rows=\"3\">%s</textarea>",
|
fprintf (Gbl.F.Out,"<textarea name=\"CommentStd%ld\""
|
||||||
|
" cols=\"40\" rows=\"3\">"
|
||||||
|
"%s"
|
||||||
|
"</textarea>",
|
||||||
UsrDat->UsrCod,CommentStd);
|
UsrDat->UsrCod,CommentStd);
|
||||||
else // Show without form
|
else // Show without form
|
||||||
{
|
{
|
||||||
|
@ -2142,7 +2145,10 @@ static void Att_WriteRowStdToCallTheRoll (unsigned NumStd,struct UsrData *UsrDat
|
||||||
fprintf (Gbl.F.Out,"<td class=\"DAT_SMALL LEFT_TOP COLOR%u\">",
|
fprintf (Gbl.F.Out,"<td class=\"DAT_SMALL LEFT_TOP COLOR%u\">",
|
||||||
Gbl.RowEvenOdd);
|
Gbl.RowEvenOdd);
|
||||||
if (Gbl.Usrs.Me.LoggedRole == Rol_TEACHER) // Show with form
|
if (Gbl.Usrs.Me.LoggedRole == Rol_TEACHER) // Show with form
|
||||||
fprintf (Gbl.F.Out,"<textarea name=\"CommentTch%ld\" cols=\"40\" rows=\"3\">%s</textarea>",
|
fprintf (Gbl.F.Out,"<textarea name=\"CommentTch%ld\""
|
||||||
|
" cols=\"40\" rows=\"3\">"
|
||||||
|
"%s"
|
||||||
|
"</textarea>",
|
||||||
UsrDat->UsrCod,CommentTch);
|
UsrDat->UsrCod,CommentTch);
|
||||||
else if (Att->CommentTchVisible) // Show without form
|
else if (Att->CommentTchVisible) // Show without form
|
||||||
{
|
{
|
||||||
|
|
|
@ -189,13 +189,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.107.4 (2016-12-26)"
|
#define Log_PLATFORM_VERSION "SWAD 16.107.5 (2016-12-26)"
|
||||||
#define CSS_FILE "swad16.106.5.css"
|
#define CSS_FILE "swad16.106.5.css"
|
||||||
#define JS_FILE "swad16.101.js"
|
#define JS_FILE "swad16.101.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 16.107.5: Dec 26, 2016 Changes in behaviour of labels in forms. (211540 lines)
|
||||||
Version 16.107.4: Dec 26, 2016 Code refactoring in announcements. (211532 lines)
|
Version 16.107.4: Dec 26, 2016 Code refactoring in announcements. (211532 lines)
|
||||||
Version 16.107.3: Dec 26, 2016 Changes in behaviour of labels in forms. (211531 lines)
|
Version 16.107.3: Dec 26, 2016 Changes in behaviour of labels in forms. (211531 lines)
|
||||||
Version 16.107.2: Dec 26, 2016 Changes in behaviour of labels in forms. (211525 lines)
|
Version 16.107.2: Dec 26, 2016 Changes in behaviour of labels in forms. (211525 lines)
|
||||||
|
|
|
@ -269,7 +269,8 @@ static void Cty_Configuration (bool PrintView)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
||||||
Act_FormStart (ActChgCtyMapAtt);
|
Act_FormStart (ActChgCtyMapAtt);
|
||||||
fprintf (Gbl.F.Out,"<textarea name=\"Attribution\" cols=\"50\" rows=\"2\""
|
fprintf (Gbl.F.Out,"<textarea name=\"Attribution\""
|
||||||
|
" cols=\"50\" rows=\"2\""
|
||||||
" onchange=\"document.getElementById('%s').submit();\">",
|
" onchange=\"document.getElementById('%s').submit();\">",
|
||||||
Gbl.Form.Id);
|
Gbl.Form.Id);
|
||||||
if (MapAttribution)
|
if (MapAttribution)
|
||||||
|
|
|
@ -791,22 +791,21 @@ static void Enr_PutAreaToEnterUsrsIDs (void)
|
||||||
extern const char *The_ClassForm[The_NUM_THEMES];
|
extern const char *The_ClassForm[The_NUM_THEMES];
|
||||||
extern const char *Txt_List_of_nicks_emails_or_IDs;
|
extern const char *Txt_List_of_nicks_emails_or_IDs;
|
||||||
|
|
||||||
/***** Start of text area *****/
|
/***** Text area for users' IDs *****/
|
||||||
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"
|
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"
|
||||||
"<tr>"
|
"<tr>"
|
||||||
"<td class=\"%s RIGHT_TOP\">"
|
"<td class=\"RIGHT_TOP\">"
|
||||||
"%s: "
|
"<label for=\"UsrsIDs\" class=\"%s\">%s:</label>"
|
||||||
"</td>"
|
"</td>"
|
||||||
"<td class=\"LEFT_TOP\">"
|
"<td class=\"LEFT_TOP\">"
|
||||||
"<textarea name=\"UsrsIDs\" cols=\"72\" rows=\"10\">",
|
"<textarea id=\"UsrsIDs\" name=\"UsrsIDs\""
|
||||||
The_ClassForm[Gbl.Prefs.Theme],
|
" cols=\"60\" rows=\"10\">"
|
||||||
Txt_List_of_nicks_emails_or_IDs);
|
"</textarea>"
|
||||||
|
|
||||||
/***** End of text area *****/
|
|
||||||
fprintf (Gbl.F.Out,"</textarea>"
|
|
||||||
"</td>"
|
"</td>"
|
||||||
"</tr>"
|
"</tr>"
|
||||||
"</table>");
|
"</table>",
|
||||||
|
The_ClassForm[Gbl.Prefs.Theme],
|
||||||
|
Txt_List_of_nicks_emails_or_IDs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -488,7 +488,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"RIGHT_TOP\">"
|
"<td class=\"RIGHT_TOP\">"
|
||||||
"<label for=\"MsgSubject\" class=\"%s\">"
|
"<label for=\"MsgSubject\" class=\"%s\">"
|
||||||
"%s: "
|
"%s:"
|
||||||
"</label>"
|
"</label>"
|
||||||
"</td>"
|
"</td>"
|
||||||
"<td class=\"LEFT_MIDDLE\">"
|
"<td class=\"LEFT_MIDDLE\">"
|
||||||
|
@ -538,7 +538,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"RIGHT_TOP\">"
|
"<td class=\"RIGHT_TOP\">"
|
||||||
"<label for=\"MsgContent\" class=\"%s\">"
|
"<label for=\"MsgContent\" class=\"%s\">"
|
||||||
"%s: "
|
"%s:"
|
||||||
"</label>"
|
"</label>"
|
||||||
"</td>"
|
"</td>"
|
||||||
"<td class=\"LEFT_MIDDLE\">"
|
"<td class=\"LEFT_MIDDLE\">"
|
||||||
|
@ -570,7 +570,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char *Content)
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
fprintf (Gbl.F.Out,"<tr>"
|
||||||
"<td class=\"RIGHT_TOP\">"
|
"<td class=\"RIGHT_TOP\">"
|
||||||
"<label for=\"MsgContent\" class=\"%s\">"
|
"<label for=\"MsgContent\" class=\"%s\">"
|
||||||
"%s: "
|
"%s:"
|
||||||
"</label>"
|
"</label>"
|
||||||
"</td>"
|
"</td>"
|
||||||
"<td class=\"LEFT_MIDDLE\">"
|
"<td class=\"LEFT_MIDDLE\">"
|
||||||
|
|
Loading…
Reference in New Issue