Add an alternative default theme with rounded corners.

This commit is contained in:
Michael Tremer
2014-01-05 21:07:41 +01:00
parent 8a39dd30e3
commit 935f311ed9
5 changed files with 150 additions and 121 deletions

View File

@@ -89,9 +89,11 @@ if ( -d "/var/ipfire/langs/${language}/" ) {
};
};
our $THEME_NAME = $settings{'THEME'};
require "${swroot}/langs/en.pl";
require "${swroot}/langs/${language}.pl";
eval `/bin/cat /srv/web/ipfire/html/themes/$settings{'THEME'}/include/functions.pl`;
eval `/bin/cat /srv/web/ipfire/html/themes/$THEME_NAME/include/functions.pl`;
sub orange_used () {
if ($ethsettings{'CONFIG_TYPE'} =~ /^[24]$/) {