]> git.mjollnir.org Git - moodle.git/commitdiff
SUrprise icon is a bit wider than 16 pixels
authormartin <martin>
Thu, 12 Sep 2002 17:08:32 +0000 (17:08 +0000)
committermartin <martin>
Thu, 12 Sep 2002 17:08:32 +0000 (17:08 +0000)
lib/weblib.php

index 26c854259479e5811339bd933fddf85ad3887909..0329cd4b9358cf79e0360fd034862fd2615d5990 100644 (file)
@@ -298,7 +298,7 @@ function text_to_html($text, $smiley=true, $para=true) {
         $text = ereg_replace(":-\(","<IMG ALT=\"{sad}\" WIDTH=16 HEIGHT=16 SRC=\"$CFG->wwwroot/pix/s/sad.gif\">", $text);
         $text = ereg_replace(":-P", "<IMG ALT=\"{tongue-out}\" WIDTH=16 HEIGHT=16 SRC=\"$CFG->wwwroot/pix/s/tongueout.gif\">", $text);
         $text = ereg_replace(":-/", "<IMG ALT=\"{mixed}\" WIDTH=16 HEIGHT=16 SRC=\"$CFG->wwwroot/pix/s/mixed.gif\">", $text);
-        $text = ereg_replace(":-o", "<IMG ALT=\"{surprised}\" WIDTH=16 HEIGHT=16 SRC=\"$CFG->wwwroot/pix/s/surprise.gif\">", $text);
+        $text = ereg_replace(":-o", "<IMG ALT=\"{surprised}\" WIDTH=29 HEIGHT=16 SRC=\"$CFG->wwwroot/pix/s/surprise.gif\">", $text);
         $text = ereg_replace("B-)", "<IMG ALT=\"{cool}\" WIDTH=16 HEIGHT=16 SRC=\"$CFG->wwwroot/pix/s/cool.gif\">", $text);
     }