From: Jonatan Schlag Date: Thu, 8 Apr 2021 08:36:25 +0000 (+0200) Subject: Delete all themes for the webinterface except the default one X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71ae8d5a0d3324ebc8dc441b64d15ea0133a3278;hp=8186b37230c7c73fc5f79411ab5890821c744a79;p=people%2Fpmueller%2Fipfire-2.x.git Delete all themes for the webinterface except the default one Signed-off-by: Jonatan Schlag Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/common/web-user-interface b/config/rootfiles/common/web-user-interface index 23e9f3e5e5..4d9f7b52f9 100644 --- a/config/rootfiles/common/web-user-interface +++ b/config/rootfiles/common/web-user-interface @@ -309,35 +309,7 @@ srv/web/ipfire/html/redirect-templates/legacy srv/web/ipfire/html/redirect-templates/legacy/template.html srv/web/ipfire/html/redirect.cgi srv/web/ipfire/html/themes -srv/web/ipfire/html/themes/darkdos -srv/web/ipfire/html/themes/darkdos/images -srv/web/ipfire/html/themes/darkdos/images/IPFire.png -srv/web/ipfire/html/themes/darkdos/images/b1.gif -srv/web/ipfire/html/themes/darkdos/images/b2.gif -srv/web/ipfire/html/themes/darkdos/images/b3.gif -srv/web/ipfire/html/themes/darkdos/images/b4.gif -srv/web/ipfire/html/themes/darkdos/images/b5.gif -srv/web/ipfire/html/themes/darkdos/images/b6.gif -srv/web/ipfire/html/themes/darkdos/images/spacer.gif -srv/web/ipfire/html/themes/darkdos/include -srv/web/ipfire/html/themes/darkdos/include/colors.txt -srv/web/ipfire/html/themes/darkdos/include/functions.pl -srv/web/ipfire/html/themes/darkdos/include/style.css srv/web/ipfire/html/themes/ipfire -srv/web/ipfire/html/themes/ipfire-legacy -srv/web/ipfire/html/themes/ipfire-legacy/images -srv/web/ipfire/html/themes/ipfire-legacy/images/n1.gif -srv/web/ipfire/html/themes/ipfire-legacy/images/n2.gif -srv/web/ipfire/html/themes/ipfire-legacy/images/n3.gif -srv/web/ipfire/html/themes/ipfire-legacy/images/n4.gif -srv/web/ipfire/html/themes/ipfire-legacy/images/n5.gif -srv/web/ipfire/html/themes/ipfire-legacy/images/n6.gif -srv/web/ipfire/html/themes/ipfire-legacy/images/spacer.gif -srv/web/ipfire/html/themes/ipfire-legacy/include -srv/web/ipfire/html/themes/ipfire-legacy/include/colors.txt -srv/web/ipfire/html/themes/ipfire-legacy/include/functions.pl -srv/web/ipfire/html/themes/ipfire-legacy/include/style.css -srv/web/ipfire/html/themes/ipfire-rounded srv/web/ipfire/html/themes/ipfire/images srv/web/ipfire/html/themes/ipfire/images/n2.gif srv/web/ipfire/html/themes/ipfire/images/n3.gif @@ -347,25 +319,10 @@ srv/web/ipfire/html/themes/ipfire/images/tux2.png srv/web/ipfire/html/themes/ipfire/include srv/web/ipfire/html/themes/ipfire/include/colors.txt srv/web/ipfire/html/themes/ipfire/include/css -srv/web/ipfire/html/themes/ipfire/include/css/style-rounded.css srv/web/ipfire/html/themes/ipfire/include/css/style.css srv/web/ipfire/html/themes/ipfire/include/functions.pl srv/web/ipfire/html/themes/ipfire/include/js srv/web/ipfire/html/themes/ipfire/include/js/refreshInetInfo.js -srv/web/ipfire/html/themes/maniac -srv/web/ipfire/html/themes/maniac/images -srv/web/ipfire/html/themes/maniac/images/IPFire.png -srv/web/ipfire/html/themes/maniac/images/b1.gif -srv/web/ipfire/html/themes/maniac/images/b2.gif -srv/web/ipfire/html/themes/maniac/images/b3.gif -srv/web/ipfire/html/themes/maniac/images/b4.gif -srv/web/ipfire/html/themes/maniac/images/b5.gif -srv/web/ipfire/html/themes/maniac/images/b6.gif -srv/web/ipfire/html/themes/maniac/images/spacer.gif -srv/web/ipfire/html/themes/maniac/include -srv/web/ipfire/html/themes/maniac/include/colors.txt -srv/web/ipfire/html/themes/maniac/include/functions.pl -srv/web/ipfire/html/themes/maniac/include/style.css var/updatecache var/updatecache/download var/updatecache/metadata diff --git a/html/html/themes/darkdos/images/IPFire.png b/html/html/themes/darkdos/images/IPFire.png deleted file mode 100644 index ec56b7af56..0000000000 Binary files a/html/html/themes/darkdos/images/IPFire.png and /dev/null differ diff --git a/html/html/themes/darkdos/images/b1.gif b/html/html/themes/darkdos/images/b1.gif deleted file mode 100644 index 123ff917e9..0000000000 Binary files a/html/html/themes/darkdos/images/b1.gif and /dev/null differ diff --git a/html/html/themes/darkdos/images/b2.gif b/html/html/themes/darkdos/images/b2.gif deleted file mode 100644 index 0172874506..0000000000 Binary files a/html/html/themes/darkdos/images/b2.gif and /dev/null differ diff --git a/html/html/themes/darkdos/images/b3.gif b/html/html/themes/darkdos/images/b3.gif deleted file mode 100644 index 8c8fba3bd3..0000000000 Binary files a/html/html/themes/darkdos/images/b3.gif and /dev/null differ diff --git a/html/html/themes/darkdos/images/b4.gif b/html/html/themes/darkdos/images/b4.gif deleted file mode 100644 index 5964fa7726..0000000000 Binary files a/html/html/themes/darkdos/images/b4.gif and /dev/null differ diff --git a/html/html/themes/darkdos/images/b5.gif b/html/html/themes/darkdos/images/b5.gif deleted file mode 100644 index a032242789..0000000000 Binary files a/html/html/themes/darkdos/images/b5.gif and /dev/null differ diff --git a/html/html/themes/darkdos/images/b6.gif b/html/html/themes/darkdos/images/b6.gif deleted file mode 100644 index ed1781c5ff..0000000000 Binary files a/html/html/themes/darkdos/images/b6.gif and /dev/null differ diff --git a/html/html/themes/darkdos/images/spacer.gif b/html/html/themes/darkdos/images/spacer.gif deleted file mode 100644 index 5bfd67a2d6..0000000000 Binary files a/html/html/themes/darkdos/images/spacer.gif and /dev/null differ diff --git a/html/html/themes/darkdos/include/colors.txt b/html/html/themes/darkdos/include/colors.txt deleted file mode 100644 index 6efefc53f0..0000000000 --- a/html/html/themes/darkdos/include/colors.txt +++ /dev/null @@ -1,25 +0,0 @@ -color1=#CD0000 -color2=#FF0000 -color3=#CD0000 -color4=#FA1818 -color5=#CD0000 -color6=#FF0000 -color7=#FF2424 -color8=#FF5050 -color9=#EE0F0F -color10=#EE0000 -color11=#0000FF -color12=#00FF00 -color13=#FF0000 -color14=#F32020 -color15=#CCCCCC -color16=#40E0D0 -color17=#90EE90 -color18=#F4A460 -color19=#EAE9EE -color20=#1C1C1C -color21=#CD6600 -color22=#4F4F4F -color23=#FF00FF -color24=#6464FF -color25=#FF6464 diff --git a/html/html/themes/darkdos/include/functions.pl b/html/html/themes/darkdos/include/functions.pl deleted file mode 100644 index ed3f546b0e..0000000000 --- a/html/html/themes/darkdos/include/functions.pl +++ /dev/null @@ -1,404 +0,0 @@ -#!/usr/bin/perl -############################################################################### -# # -# IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # -# # -# This program is free software: you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation, either version 3 of the License, or # -# (at your option) any later version. # -# # -# This program is distributed in the hope that it will be useful, # -# but WITHOUT ANY WARRANTY; without even the implied warranty of # -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # -# GNU General Public License for more details. # -# # -# You should have received a copy of the GNU General Public License # -# along with this program. If not, see . # -# # -############################################################################### - -sub showmenu() { - print < -
    -EOF -; - foreach my $k1 ( sort keys %$menu ) { - if (! $menu->{$k1}{'enabled'}) { - next; - } - my $link = getlink($menu->{$k1}); - if ($link eq '') { - next; - } - if (! is_menu_visible($link)) { - next; - } - if ($menu->{$k1}->{'selected'}) { - print "
  • $menu->{$k1}{'caption'}
  • "; - } else { - print "
  • $menu->{$k1}{'caption'}
  • "; - } - } - print < - -EOF -; -} - -sub getselected($) { - my $root = shift; - if (!$root) { - return 0; - } - - foreach my $item (%$root) { - if ($root->{$item}{'selected'}) { - return $root->{$item}; - } - } -} - -sub showsubsection($$) { - my $root = shift; - - if (! $root) { - return; - } - my $selected = getselected($root); - if (! $selected) { - return; - } - my $submenus = $selected->{'subMenu'}; - if (! $submenus) { - return; - } - - print <Sidemenu -