Version 15.5.2

This commit is contained in:
Antonio Cañas Vargas 2015-10-02 12:35:10 +02:00
parent dc1ae70508
commit ea4ea953a2
4 changed files with 8 additions and 12 deletions

View File

@ -1020,7 +1020,6 @@ a:hover img.CENTRE_PHOTO_SHOW
.ANS {color:#404040; font-size:13pt; font-weight:bold;}
.ANS_OK {color:#008000; font-size:13pt; font-weight:bold;}
.ANS_BAD {color:#FF0000; font-size:13pt; font-weight:bold;}
.TST_TIT {color:#404040; font-size:28pt;}
.TEST {color:#404040; font-size:12pt;}
.TEST_EXA {color:#404040; font-size:12pt;}
.TEST_EXA_LIGHT {color:#A0A0A0; font-size:12pt;}

View File

@ -823,7 +823,6 @@ a:hover img.CENTRE_PHOTO_SHOW
.ANS {color:#404040; font-size:20pt; font-weight:bold;}
.ANS_OK {color:#008000; font-size:20pt; font-weight:bold;}
.ANS_BAD {color:#FF0000; font-size:20pt; font-weight:bold;}
.TST_TIT {color:#404040; font-size:25pt;}
.TEST {color:#404040; font-size:18pt;}
.TEST_EXA {color:#404040; font-size:18pt;}
.TEST_EXA_LIGHT {color:#A0A0A0; font-size:18pt;}

View File

@ -98,11 +98,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.5.1 (2015/10/02)"
#define Log_PLATFORM_VERSION "SWAD 15.5.2 (2015/10/02)"
// 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 15.5.2: Oct 02, 2015 Changes in layout of tests exams. (184934 lines)
Version 15.5.1: Oct 02, 2015 Changes in layout of forms with initial and final dates. (184938 lines)
Version 15.5: Oct 01, 2015 Changes in layout of selectors classphoto/list. (184909 lines)
Version 15.4.2: Oct 01, 2015 Institution admins can edit holidays. (184863 lines)

View File

@ -718,26 +718,23 @@ static void Tst_WriteTestHead (unsigned NumTst)
extern const char *Txt_Test_No_X_that_you_make_in_this_course;
/***** Start table *****/
Lay_StartRoundFrameTable (NULL,2,NULL);
Lay_StartRoundFrameTable (NULL,2,Gbl.CurrentAct == ActSeeTst ? Txt_Test :
Txt_Test_result);
Lay_WriteHeaderClassPhoto (3,false,false,
Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod,
Gbl.CurrentCrs.Crs.CrsCod);
/***** Header row *****/
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"3\" class=\"TST_TIT CENTER_MIDDLE\">"
"<strong>%s</strong>",
Gbl.CurrentAct == ActSeeTst ? Txt_Test :
Txt_Test_result);
if (Gbl.CurrentAct == ActAssTst &&
Gbl.Usrs.Me.IBelongToCurrentCrs)
{
fprintf (Gbl.F.Out,"<br />");
fprintf (Gbl.F.Out,"<tr>"
"<td colspan=\"3\" class=\"DAT CENTER_MIDDLE\">");
fprintf (Gbl.F.Out,Txt_Test_No_X_that_you_make_in_this_course,NumTst);
fprintf (Gbl.F.Out,"</td>"
"</tr>");
}
fprintf (Gbl.F.Out,"</td>"
"</tr>");
}
/*****************************************************************************/