diff --git a/MANIFEST b/MANIFEST index 222749a..6167f64 100644 --- a/MANIFEST +++ b/MANIFEST @@ -9,16 +9,16 @@ etc/excluded etc/network-aliases etc/squidanalyzer.conf etc/user-aliases -resources/back-arrow.png -resources/cursor.png -resources/domain.png +resources/images/back-arrow.png +resources/images/cursor.png +resources/images/domain.png +resources/images/info.png +resources/images/logo-squidanalyzer.png +resources/images/network.png +resources/images/user.png resources/flotr2.js -resources/info.png -resources/logo-squidanalyzer.png -resources/network.png resources/sorttable.js resources/squidanalyzer.css -resources/user.png lang/de_DE.txt lang/en_US.txt lang/fr_FR.txt diff --git a/Makefile.PL b/Makefile.PL index 728e91d..566f4b5 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -42,11 +42,16 @@ if [ ! -d "$DESTDIR$BINDIR" ]; then fi if [ ! -d "$DESTDIR$CONFDIR" ]; then mkdir -p $DESTDIR$CONFDIR +fi +if [ ! -d "$DESTDIR$CONFDIR/lang" ]; then mkdir -p $DESTDIR$CONFDIR/lang fi if [ ! -d "$DESTDIR$HTMLDIR" ]; then mkdir -p $DESTDIR$HTMLDIR fi +if [ ! -d "$DESTDIR$HTMLDIR/images" ]; then + mkdir -p $DESTDIR$HTMLDIR/images +fi }; if ($DOCDIR ne '') { @@ -68,15 +73,15 @@ install -m 644 etc/user-aliases $DESTDIR$CONFDIR/user-aliases.orig install -m 644 etc/excluded $DESTDIR$CONFDIR/excluded.orig install -m 755 squid-analyzer $DESTDIR$BINDIR/ install -m 644 resources/sorttable.js $DESTDIR$HTMLDIR/ -install -m 644 resources/logo-squidanalyzer.png $DESTDIR$HTMLDIR/ install -m 644 resources/squidanalyzer.css $DESTDIR$HTMLDIR/ install -m 644 resources/flotr2.js $DESTDIR$HTMLDIR/ -install -m 644 resources/cursor.png $DESTDIR$HTMLDIR/ -install -m 644 resources/domain.png $DESTDIR$HTMLDIR/ -install -m 644 resources/back-arrow.png $DESTDIR$HTMLDIR/ -install -m 644 resources/info.png $DESTDIR$HTMLDIR/ -install -m 644 resources/network.png $DESTDIR$HTMLDIR/ -install -m 644 resources/user.png $DESTDIR$HTMLDIR/ +install -m 644 resources/images/logo-squidanalyzer.png $DESTDIR$HTMLDIR/images/ +install -m 644 resources/images/cursor.png $DESTDIR$HTMLDIR/images/ +install -m 644 resources/images/domain.png $DESTDIR$HTMLDIR/images/ +install -m 644 resources/images/back-arrow.png $DESTDIR$HTMLDIR/images/ +install -m 644 resources/images/info.png $DESTDIR$HTMLDIR/images/ +install -m 644 resources/images/network.png $DESTDIR$HTMLDIR/images/ +install -m 644 resources/images/user.png $DESTDIR$HTMLDIR/images/ install -m 644 lang/* $DESTDIR$CONFDIR/lang/ pod2man doc/SquidAnalyzer.pod doc/squidanalyzer.3 install -m 644 doc/squidanalyzer.3 $DESTDIR$MANDIR/squidanalyzer.3 diff --git a/SquidAnalyzer.pm b/SquidAnalyzer.pm index dd327bd..453289e 100644 --- a/SquidAnalyzer.pm +++ b/SquidAnalyzer.pm @@ -36,6 +36,7 @@ $BZCAT_PROG = "/bin/bzcat"; # Default translation srings my %Translate = ( + 'Charset' => 'utf-8', '01' => 'Jan', '02' => 'Feb', '03' => 'Mar', @@ -1106,44 +1107,13 @@ sub _print_header - + SquidAnalyzer $VERSION Report - -
@@ -1151,7 +1121,7 @@ function toggle(idButton, idDiv, label) {