Version 17.25.4

This commit is contained in:
Antonio Cañas Vargas 2017-10-24 11:26:01 +02:00
parent b3f151f1e1
commit 2a0a671999
7 changed files with 15 additions and 13 deletions

View File

@ -2051,6 +2051,13 @@ a:hover img.CENTRE_PHOTO_SHOW
.LST_EDIT_REC_HID {width:250px; color:#89BE87; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
.LST_EDIT_ROWS {width:30px; color:#404040; font-weight:bold; font-size:11pt; height:20px; padding:0; margin:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
/************** Paragraph (margin on top and bottom of a div) ****************/
.PAR
{
margin-top:1em;
margin-bottom:1em;
}
/*****************************************************************************/
.T1 {color:#404040; font-size:15pt;}

View File

@ -820,7 +820,7 @@ static void Agd_ShowOneEvent (Agd_AgendaType_t AgendaType,long AgdCod)
Txt,Cns_MAX_BYTES_TEXT,false); // Convert from HTML to recpectful HTML
Str_InsertLinks (Txt,Cns_MAX_BYTES_TEXT,60); // Insert links
fprintf (Gbl.F.Out,"<td colspan=\"2\" class=\"LEFT_TOP COLOR%u\">"
"<p class=\"%s\">%s</p>"
"<div class=\"PAR %s\">%s</div>"
"</td>"
"</tr>",
Gbl.RowEvenOdd,

View File

@ -473,9 +473,7 @@ static void Asg_ShowOneAssignment (long AsgCod,bool PrintView)
if (Gbl.CurrentCrs.Grps.NumGrps)
Asg_GetAndWriteNamesOfGrpsAssociatedToAsg (&Asg);
fprintf (Gbl.F.Out,"<p class=\"%s\">"
"%s"
"</p>"
fprintf (Gbl.F.Out,"<div class=\"PAR %s\">%s</div>"
"</td>"
"</tr>",
Asg.Hidden ? "DAT_LIGHT" :

View File

@ -252,13 +252,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 17.25.3 (2017-10-16)"
#define CSS_FILE "swad17.25.2.css"
#define Log_PLATFORM_VERSION "SWAD 17.25.4 (2017-10-24)"
#define CSS_FILE "swad17.25.4.css"
#define JS_FILE "swad17.17.1.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 17.25.4: Oct 24, 2017 Fixed bug in assignments, games, surveys and agenda. (234352 lines)
Version 17.25.3: Oct 16, 2017 Surnames before names in listing of projects. Suggested by Pedro Villar Castro. (234351 lines)
Version 17.25.2: Oct 11, 2017 Students' IDs removed from listing of projects. Suggested by Pedro Villar Castro.
Fixed bug in listing of projects. (234345 lines)

View File

@ -661,9 +661,7 @@ static void Gam_ShowOneGame (long GamCod,
Str_ChangeFormat (Str_FROM_HTML,Str_TO_RIGOROUS_HTML,
Txt,Cns_MAX_BYTES_TEXT,false); // Convert from HTML to rigorous HTML
Str_InsertLinks (Txt,Cns_MAX_BYTES_TEXT,60); // Insert links
fprintf (Gbl.F.Out,"<p class=\"%s\">"
"%s"
"</p>"
fprintf (Gbl.F.Out,"<div class=\"PAR %s\">%s</div>"
"</td>"
"</tr>",
Game.Status.Visible ? "DAT" :

View File

@ -803,7 +803,7 @@ static bool Ntf_StartFormGoToAction (Ntf_NotifyEvent_t NotifyEvent,
/***** Parameter to go to another course/degree/centre/institution *****/
if (Gbl.Form.Inside)
{
if (CrsCod > 0) // Course specified
if (CrsCod > 0) // Course specified
{
if (CrsCod != Gbl.CurrentCrs.Crs.CrsCod) // Not the current course
Crs_PutParamCrsCod (CrsCod); // Go to another course

View File

@ -644,9 +644,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
Str_ChangeFormat (Str_FROM_HTML,Str_TO_RIGOROUS_HTML,
Txt,Cns_MAX_BYTES_TEXT,false); // Convert from HTML to rigorous HTML
Str_InsertLinks (Txt,Cns_MAX_BYTES_TEXT,60); // Insert links
fprintf (Gbl.F.Out,"<p class=\"%s\">"
"%s"
"</p>"
fprintf (Gbl.F.Out,"<div class=\"PAR %s\">%s</div>"
"</td>"
"</tr>",
Svy.Status.Visible ? "DAT" :