From c895d2f41b0737f8a2799d36beca087e6b642f05 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 17 Dec 2008 21:00:03 -0500 Subject: Added an emoticon parsing system I decided that, because I use the :) emoticon so often, I might as well replace it with an actual image. I've added a Smiley parsing system to complement the BBCode parsing one. --- includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/functions.php') diff --git a/includes/functions.php b/includes/functions.php index 1caef59..881bfd1 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -124,7 +124,7 @@ function postBlogPost($title,$author,$tags,$content) $upconf = "UPDATE config SET value = \"" . date('md') . "\" WHERE name = \"lastUpdate\""; $upconf2 = mysql_query($upconf); - preg_match_all('|]*href="([^"]+)"|i', parseBBCode($content), $matches); + preg_match_all('|]*href="([^"]+)"|i', parseText($content), $matches); foreach ($matches[1] as $link) { -- cgit 1.4.1