From f8e080ef118946cc54748f2cc424c7112aec0f41 Mon Sep 17 00:00:00 2001 From: ms Date: Sat, 16 Dec 2006 16:07:45 +0000 Subject: [PATCH] Themeable Webinterface mit neuem Style. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@364 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- config/cfgroot/header.pl | 390 +-- config/cfgroot/lang.pl | 2 +- config/rootfiles/common/Compress-Zlib | 2 +- config/rootfiles/common/apache2 | 2740 +++++++++--------- config/rootfiles/common/coreutils | 2 +- config/rootfiles/common/rrdtool | 2 +- config/rootfiles/common/stage2 | 6 +- doc/packages-list.txt | 1 - html/cgi-bin/gui.cgi | 39 + html/html/themes/ipfire/images/n1.gif | Bin 0 -> 1014 bytes html/html/themes/ipfire/images/n2.gif | Bin 0 -> 449 bytes html/html/themes/ipfire/images/n3.gif | Bin 0 -> 155 bytes html/html/themes/ipfire/images/n4.gif | Bin 0 -> 155 bytes html/html/themes/ipfire/images/n5.gif | Bin 0 -> 72 bytes html/html/themes/ipfire/images/n6.gif | Bin 0 -> 70 bytes html/html/themes/ipfire/images/spacer.gif | Bin 0 -> 43 bytes html/html/themes/ipfire/include/functions.pl | 326 +++ html/html/themes/ipfire/include/style.css | 430 +++ langs/de/cgi-bin/de.pl | 1 + langs/en/cgi-bin/en.pl | 1 + 20 files changed, 2181 insertions(+), 1761 deletions(-) create mode 100644 html/html/themes/ipfire/images/n1.gif create mode 100644 html/html/themes/ipfire/images/n2.gif create mode 100644 html/html/themes/ipfire/images/n3.gif create mode 100644 html/html/themes/ipfire/images/n4.gif create mode 100644 html/html/themes/ipfire/images/n5.gif create mode 100644 html/html/themes/ipfire/images/n6.gif create mode 100644 html/html/themes/ipfire/images/spacer.gif create mode 100644 html/html/themes/ipfire/include/functions.pl create mode 100644 html/html/themes/ipfire/include/style.css diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl index a29e8a9698..e37c5a0ff9 100644 --- a/config/cfgroot/header.pl +++ b/config/cfgroot/header.pl @@ -43,12 +43,11 @@ my $menu = \%menuhash; %settings = (); %ethsettings = (); @URI = (); -$Header::supported=0; ### Make sure this is an SSL request if ($ENV{'SERVER_ADDR'} && $ENV{'HTTPS'} ne 'on') { print "Status: 302 Moved\r\n"; - print "Location: https://$ENV{'SERVER_ADDR'}:10443/$ENV{'PATH_INFO'}\r\n\r\n"; + print "Location: https://$ENV{'SERVER_ADDR'}:444/$ENV{'PATH_INFO'}\r\n\r\n"; exit 0; } @@ -98,6 +97,7 @@ if (open(MYFile, "<${swroot}/firebuild")) { require "${swroot}/langs/en.pl"; require "${swroot}/langs/${language}.pl"; +eval `/bin/cat /srv/web/ipfire/html/themes/$settings{'THEME'}/include/functions.pl`; sub orange_used () { if ($ethsettings{'CONFIG_TYPE'} =~ /^[1357]$/) { @@ -580,382 +580,6 @@ sub gettitle($) { return ''; } - -sub showmenu() { - print < -