Version 15.37.2

This commit is contained in:
Antonio Cañas Vargas 2015-11-11 19:26:01 +01:00
parent 06889cd0e5
commit c521b70d44
2 changed files with 4 additions and 3 deletions

View File

@ -119,6 +119,7 @@
// 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 15.37.2: Nov 11, 2015 Change in layout (background). (186912 lines)
Version 15.37.1: Nov 11, 2015 Minor changes in sessions. (186912 lines) Version 15.37.1: Nov 11, 2015 Minor changes in sessions. (186912 lines)
Version 15.37: Nov 11, 2015 Changes to speed up queries related to time. Version 15.37: Nov 11, 2015 Changes to speed up queries related to time.
Time to next test printed in user's local time. Time to next test printed in user's local time.

View File

@ -239,7 +239,7 @@ void Lay_WriteStartOfPage (void)
/***** HTML body *****/ /***** HTML body *****/
if (Act_Actions[Gbl.CurrentAct].BrowserWindow == Act_MAIN_WINDOW) if (Act_Actions[Gbl.CurrentAct].BrowserWindow == Act_MAIN_WINDOW)
fprintf (Gbl.F.Out,"<body class=\"%s\" onload=\"init()\">\n" fprintf (Gbl.F.Out,"<body onload=\"init()\">\n"
"<div id=\"zoomLyr\" class=\"ZOOM\">" "<div id=\"zoomLyr\" class=\"ZOOM\">"
"<img id=\"zoomImg\" src=\"%s/_.gif\"" "<img id=\"zoomImg\" src=\"%s/_.gif\""
" alt=\"\" title=\"\"" " alt=\"\" title=\"\""
@ -247,7 +247,6 @@ void Lay_WriteStartOfPage (void)
"<div id=\"zoomTxt\" class=\"CENTER_MIDDLE\">" "<div id=\"zoomTxt\" class=\"CENTER_MIDDLE\">"
"</div>" "</div>"
"</div>", "</div>",
ClassBackground[Gbl.Prefs.Theme],
Gbl.Prefs.IconsURL); Gbl.Prefs.IconsURL);
else else
{ {
@ -269,7 +268,8 @@ void Lay_WriteStartOfPage (void)
Gbl.Prefs.IconsURL); Gbl.Prefs.IconsURL);
/***** Header of layout *****/ /***** Header of layout *****/
fprintf (Gbl.F.Out,"<table style=\"width:100%%;\">"); fprintf (Gbl.F.Out,"<table class=\"%s\" style=\"width:100%%;\">",
ClassBackground[Gbl.Prefs.Theme]);
Lay_WritePageTopHeading (); Lay_WritePageTopHeading ();