summary refs log tree commit diff stats
path: root/includes/functions.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-17 21:00:03 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-17 21:00:03 -0500
commitc895d2f41b0737f8a2799d36beca087e6b642f05 (patch)
treef6243c7c270bbec4f5e0d01547b2c6048cea200f /includes/functions.php
parente3ffdb84d705dd1a1000fa91a49cc6c58fc58e05 (diff)
downloadfourisland-c895d2f41b0737f8a2799d36beca087e6b642f05.tar.gz
fourisland-c895d2f41b0737f8a2799d36beca087e6b642f05.tar.bz2
fourisland-c895d2f41b0737f8a2799d36beca087e6b642f05.zip
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.
Diffstat (limited to 'includes/functions.php')
-rwxr-xr-xincludes/functions.php2
1 files changed, 1 insertions, 1 deletions
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)
124 $upconf = "UPDATE config SET value = \"" . date('md') . "\" WHERE name = \"lastUpdate\""; 124 $upconf = "UPDATE config SET value = \"" . date('md') . "\" WHERE name = \"lastUpdate\"";
125 $upconf2 = mysql_query($upconf); 125 $upconf2 = mysql_query($upconf);
126 126
127 preg_match_all('|<a\s[^>]*href="([^"]+)"|i', parseBBCode($content), $matches); 127 preg_match_all('|<a\s[^>]*href="([^"]+)"|i', parseText($content), $matches);
128 128
129 foreach ($matches[1] as $link) 129 foreach ($matches[1] as $link)
130 { 130 {