Version 18.1.2

This commit is contained in:
Antonio Cañas Vargas 2018-10-07 15:25:57 +02:00
parent b481e03724
commit deb43f08d9
2 changed files with 8 additions and 7 deletions

View File

@ -340,10 +340,6 @@ Buenos d
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 18.1 (2018-10-07)"
#define CSS_FILE "swad17.25.4.css"
#define JS_FILE "swad17.17.1.js"
// Size of photos:
// find -iname '*.jpg' -exec du -cb {} + | grep total$ | cut -f1 | paste -sd+ - | bc
// find -iname '*original.jpg' -exec du -cb {} + | grep total$ | cut -f1 | paste -sd+ - | bc
@ -358,7 +354,12 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.1.2 (2018-10-07)"
#define CSS_FILE "swad17.25.4.css"
#define JS_FILE "swad17.17.1.js"
/*
Version 18.1.2: Oct 07, 2018 Changes in statistic graphs. (234964 lines)
Version 18.1.1: Oct 07, 2018 New colors in statistic graphs. (234963 lines)
Copy the following icons to icon public directory:
sudo cp icon/o1x1.png /var/www/html/swad/icon/

View File

@ -2990,7 +2990,7 @@ static void Sta_WriteAccessHour (unsigned Hour,struct Sta_Hits *Hits,unsigned Co
BarHeight = 1;
fprintf (Gbl.F.Out,"<img src=\"%s/o1x1.png\"" // Orange background
" alt=\"\" title=\"\""
" style=\"width:14px; height:%upx;\" />",
" style=\"width:10px; height:%upx;\" />",
Gbl.Prefs.IconsURL,BarHeight);
}
else
@ -4005,8 +4005,8 @@ static void Sta_DrawBarNumHits (char Color,
BarWidth = 1;
fprintf (Gbl.F.Out,"<img src=\"%s/%c1x1.png\"" // Background
" alt=\"\" title=\"\""
" class=\"LEFT_TOP\""
" style=\"width:%upx; height:14px;\" />"
" class=\"LEFT_MIDDLE\""
" style=\"width:%upx; height:10px;\" />"
"&nbsp;",
Gbl.Prefs.IconsURL,Color,BarWidth);