From 28856d6f9b7d726b1681df9384f3ef000dbf6f4c Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 12 Oct 2008 16:02:03 +0000 Subject: Made file preview (original image or png with filename as text). Added error image as png with error text. --- forum/utils/parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forum/utils/parser.php') diff --git a/forum/utils/parser.php b/forum/utils/parser.php index 6d47162..5864753 100644 --- a/forum/utils/parser.php +++ b/forum/utils/parser.php @@ -48,7 +48,7 @@ function parse($input, $indent = "") $output = preg_replace("/".$imgstartmarker."(.*?)".$imgendmarker."/s", "\"$1\"", $output); // Replace URLs with tags - $output = preg_replace("/\{\{([0-9]*?)\}\}/s", "File: $1", $output); + $output = preg_replace("/\{\{([0-9]*?)\}\}/s", "", $output); // Replace [quote title=...]...[/quote] $urls = ""; -- cgit v1.2.3