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

+ 2 - 0
docs/Changelog

@@ -12,6 +12,8 @@ pisg (x.xx)
      picture from ImageGlobPath. (Christoph Berg)
      picture from ImageGlobPath. (Christoph Berg)
    * Made all picture heights integer. (Christoph Berg)
    * Made all picture heights integer. (Christoph Berg)
    * Add support for Vision logs (thanks, Vegard Wærp)
    * Add support for Vision logs (thanks, Vegard Wærp)
+   * Timebars in "Most active users" now have a hover text which shows how
+   many lines a used wrote in that period of a time (thanks, oxman)
 
 
 pisg (0.50) - Mon Nov, 17th 2003
 pisg (0.50) - Mon Nov, 17th 2003
    * Added NFiles option, which can be used for LogDirs to only parse the last
    * Added NFiles option, which can be used for LogDirs to only parse the last

+ 1 - 1
modules/Pisg/HTMLGenerator.pm

@@ -1871,7 +1871,7 @@ sub _user_linetimes
         my $w = int(($self->{stats}->{line_times}{$nick}[$i] / $self->{stats}->{lines}{$nick}) * $len);
         my $w = int(($self->{stats}->{line_times}{$nick}[$i] / $self->{stats}->{lines}{$nick}) * $len);
         if ($w) {
         if ($w) {
             my $pic = 'pic_h_'.(6*$i);
             my $pic = 'pic_h_'.(6*$i);
-            $bar .= "<img src=\"$self->{cfg}->{piclocation}/$self->{cfg}->{$pic}\" border=\"0\" width=\"$w\" height=\"15\" align=\"middle\" alt=\"\" />";
+            $bar .= "<img src=\"$self->{cfg}->{piclocation}/$self->{cfg}->{$pic}\" border=\"0\" width=\"$w\" height=\"15\" align=\"middle\" alt=\"$self->{stats}->{line_times}{$nick}[$i]\" />";
         }
         }
     }
     }
     return "$bar&nbsp;$self->{stats}->{lines}{$nick}";
     return "$bar&nbsp;$self->{stats}->{lines}{$nick}";