1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Bugtracker #3684 - forum post code

This commit is contained in:
e107steved
2007-01-18 20:44:32 +00:00
parent 3733a94ce9
commit 011754f554

View File

@@ -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) */