From ee0e84a81d36880ae7661745c99ee9ef75c6c5f7 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Thu, 3 Dec 2020 11:25:47 +0100 Subject: [PATCH] removed old theming-related variables --- monitorix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/monitorix b/monitorix index 5844c1b..a7f09cf 100755 --- a/monitorix +++ b/monitorix @@ -123,10 +123,6 @@ sub create_index { my $n; my $gname; - my $bgcolor; - my $table_back_color; - my $title_back_color; - my $title_fore_color; my $piwik_code = ""; my ($piwik_url, $piwik_sid, $piwik_img); my $text_when_all; @@ -151,13 +147,6 @@ sub create_index { $theme = $config{theme_color} = "white"; } - if($config{theme}->{$theme}) { - $bgcolor = $config{theme}->{$theme}->{main_bg}; - $table_back_color = $config{theme}->{$theme}->{graph_bg}; - $title_back_color = $config{theme}->{$theme}->{title_bg}; - $title_fore_color = $config{theme}->{$theme}->{title_fg}; - } - # Default option in 'Graph' list when 'All' is selected in 'Hostname' list. # # The following small JavaScript function is intended to avoid to select to view