Переглянути джерело

Added the forgotten ; after $pic1 and $pic2

Deleted "$text =~ s/&/&/g;" in sub template_text
Cause, this is doubled... it will change "ä" to "ä" :)
doomshammer 25 роки тому
батько
коміт
d4cea1a87b
1 змінених файлів з 4 додано та 5 видалено
  1. 4 5
      pisg.pl

+ 4 - 5
pisg.pl

@@ -64,8 +64,8 @@ $vlink = "#0b407a";		# Color of visited links
 $hlink = "#0b407a";		# Color of hovered links
 $headline = "#000000";		# Border color of headlines
 $rankc = "#CCCCCC";             # Colors of 'ranks' (1,2,3,4)
-$pic1 = "pipe-blue.png"		# Bar-graphic-file for normal times
-$pic2 = "pipe-purple.png"   # Bar-graphic-file for top-times
+$pic1 = "pipe-blue.png";	# Bar-graphic-file for normal times
+$pic2 = "pipe-purple.png";      # Bar-graphic-file for top-times
 
 # Other things that you might set, but not everyone cares about them
 $minquote = "25";		# Minimal value of letters for a random quote
@@ -85,7 +85,7 @@ $timeoffset = "+0";		# A time offset on the stats page - if your
 # You shouldn't care about anything below this point
 $debug = 0;			# 0 = Debugging off, 1 = Debugging on
 $debugfile = "debug.log";	# Path to debug file(must be set if $debug == 1)
-$version = "v0.17-cvs-dh1";
+$version = "v0.17-cvs";
 
 my ($lines, $kicked, $gotkicked, $smile, $longlines, $time, $timestamp, %alias,
 $normalline, $actionline, $thirdline, @ignore, $line, $processtime, @topics,
@@ -759,8 +759,7 @@ sub template_text
         $text =~ s/ü/ü/g;
         $text =~ s/ö/ö/g;
         $text =~ s/ä/ä/g;
-        $text =~ s/ß/&szlig/g;
-        $text =~ s/&/&/g;
+        $text =~ s/ß/ß/g;
         $text =~ s/å/å/g;
         $text =~ s/æ/æ/g;
         $text =~ s/ø/ø/g;