summary refs log tree commit diff stats
path: root/pages/admin.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 /pages/admin.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 'pages/admin.php')
-rwxr-xr-xpages/admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/admin.php b/pages/admin.php index aff21cf..a171b6f 100755 --- a/pages/admin.php +++ b/pages/admin.php
@@ -240,7 +240,7 @@ if (isLoggedIn())
240 'TITLE' => $getdraft3['title'], 240 'TITLE' => $getdraft3['title'],
241 'AUTHOR' => $getdraft3['author'], 241 'AUTHOR' => $getdraft3['author'],
242 'RATING' => 0, 242 'RATING' => 0,
243 'TEXT' => parseBBCode($getdraft3['text']))); 243 'TEXT' => parseText($getdraft3['text'])));
244 244
245 $tags = getTags($getdraft3['id'], 'draft'); 245 $tags = getTags($getdraft3['id'], 'draft');
246 foreach ($tags as $tag) 246 foreach ($tags as $tag)
@@ -342,7 +342,7 @@ if (isLoggedIn())
342 'TITLE' => $getpending3['title'], 342 'TITLE' => $getpending3['title'],
343 'AUTHOR' => $getpending3['author'], 343 'AUTHOR' => $getpending3['author'],
344 'RATING' => 0, 344 'RATING' => 0,
345 'TEXT' => parseBBCode($getpending3['text']))); 345 'TEXT' => parseText($getpending3['text'])));
346 346
347 $tags = getTags($getpending3['id'], 'pending'); 347 $tags = getTags($getpending3['id'], 'pending');
348 foreach ($tags as $tag) 348 foreach ($tags as $tag)
@@ -554,7 +554,7 @@ if (isLoggedIn())
554 $template->add('ID', $_GET['id']); 554 $template->add('ID', $_GET['id']);
555 $template->add('USERNAME', $getcomment3['author']); 555 $template->add('USERNAME', $getcomment3['author']);
556 $template->add('CODEDEMAIL', md5(strtolower($getuser3['email']))); 556 $template->add('CODEDEMAIL', md5(strtolower($getuser3['email'])));
557 $template->add('TEXT', parseBBCode($getcomment3['comment'])); 557 $template->add('TEXT', parseText($getcomment3['comment']));
558 $template->add('DATE', date("F dS Y \a\\t g:i:s a",strtotime($getcomment3['pubDate']))); 558 $template->add('DATE', date("F dS Y \a\\t g:i:s a",strtotime($getcomment3['pubDate'])));
559 } else { 559 } else {
560 $template = new FITemplate('msg'); 560 $template = new FITemplate('msg');