]> git.ipfire.org Git - thirdparty/sarg.git/commit
Improve javascript inclusion in HTML files
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 21 Nov 2010 08:19:10 +0000 (08:19 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sun, 21 Nov 2010 08:19:10 +0000 (08:19 +0000)
commit2e96438d96ab4c15ede022d415e36e971e812738
treeae9de68d6b010c1076b028fd5eeca660415007f6
parent89a11a43932acd2b7ea48be7e19cccc2599b933f
Improve javascript inclusion in HTML files

The javascript to sort the table is not always included in every
report. It is now loaded only when necessary.

The path to the javascript to include in the HTML report may be
relative to the output_dir.

The code allows for the future use of more javascripts to be loaded on
demand by some pages.
19 files changed:
authfail.c
dansguardian_report.c
denied.c
documentation/util.txt
download.c
grepday.c
html.c
include/conf.h
include/defs.h
index.c
repday.c
report.c
sarg.conf
siteuser.c
squidguard_report.c
topsites.c
topuser.c
useragent.c
util.c