Morten Brix Pedersen 24 лет назад
Родитель
Сommit
17f5d6cee4
3 измененных файлов с 2 добавлено и 8 удалено
  1. 1 0
      docs/Changelog
  2. 0 3
      modules/Pisg.pm
  3. 1 5
      modules/Pisg/HTMLGenerator.pm

+ 1 - 0
docs/Changelog

@@ -6,6 +6,7 @@ pisg (x.xx)
      (thanks, Gissehel <gissehel-pisggene@giss.mine.nu>)
    * --prefix commandline option wasn't working, fixed.
    * Slovak translation added (thanks, Gabriel Svajko <snowman@ew.sk>)
+   * The 'bgpic' option has been removed (you should use CSS instead)
    * "Most Active Nicks By Hour" added, new options:
      - ShowMostActiveByHour
      - ShowMostActiveByHourGraph

+ 0 - 3
modules/Pisg.pm

@@ -114,7 +114,6 @@ sub get_default_config_settings
 
         # Colors / Layout
 
-        bgpic => '', # FIXME
         hicell => '#BABADD', # FIXME 
         hicell2 => '#CCCCCC', # FIXME
 
@@ -186,8 +185,6 @@ sub get_default_config_settings
         tablewidth => 614,
         regexpaliases => 0,
 
-        # Developer stuff
-
         version => "0.39-cvs",
     };
 

+ 1 - 5
modules/Pisg/HTMLGenerator.pm

@@ -139,7 +139,6 @@ sub create_html
 sub _htmlheader
 {
     my $self = shift;
-    my $bgpic = "";
     my %hash = (
         network    => $self->{cfg}->{network},
         maintainer => $self->{cfg}->{maintainer},
@@ -155,9 +154,6 @@ sub _htmlheader
     my @CSS = <FILE>;
 
     my $title = $self->_template_text('pagetitle1', %hash);
-    if ($self->{cfg}->{bgpic}) {
-        $bgpic = " background=\"$self->{cfg}->{bgpic}\"";
-    }
     print OUTPUT <<HTML;
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
@@ -167,7 +163,7 @@ sub _htmlheader
 <style type="text/css">
 @CSS
 </style></head>
-<body$bgpic>
+<body>
 <div align="center">
 HTML
     _html("<span class=\"title\">$title</span><br />");