From 011754f554a930340cd5f947a9f54a5c4b4bf958 Mon Sep 17 00:00:00 2001 From: e107steved Date: Thu, 18 Jan 2007 20:44:32 +0000 Subject: [PATCH] Bugtracker #3684 - forum post code --- e107_plugins/forum/forum_post.php | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index 535cd5b6e..c17c645b1 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $ -| $Revision: 1.3 $ -| $Date: 2007-01-17 13:41:33 $ -| $Author: mrpete $ +| $Revision: 1.4 $ +| $Date: 2007-01-18 20:44:32 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -428,12 +428,16 @@ if ($action == 'edit' || $action == 'quote') // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //Load forumpost template -if (!$FORUMPOST) { - if (is_readable(THEME."forum_post_template.php")) { - include_once(THEME."forum_post_template.php"); - } -}else { -include_once(e_PLUGIN."forum/templates/forum_post_template.php"); +if (!$FORUMPOST) +{ + if (is_readable(THEME."forum_post_template.php")) + { + include_once(THEME."forum_post_template.php"); + } + else + { + include_once(e_PLUGIN."forum/templates/forum_post_template.php"); + } } /* check post access (bugtracker #1424) */