mirror of
https://github.com/e107inc/e107.git
synced 2025-01-30 02:58:00 +01:00
Update forum_post.php
This commit is contained in:
parent
1ebdfb6783
commit
2b181665c4
@ -383,11 +383,13 @@ class forum_post_handler
|
||||
|
||||
// var_dump ($type);
|
||||
// var_dump (e107::getTemplate('forum', 'forum_'.$type));
|
||||
if($template = e107::getTemplate('forum', 'forum_'.$type))
|
||||
{
|
||||
$template = e107::getTemplate('forum', 'forum_'.$type);
|
||||
//-- if($template = e107::getTemplate('forum', 'forum_'.$type))
|
||||
//-- {
|
||||
//-- $FORUM_POST_TEMPLATE = $template;
|
||||
}
|
||||
elseif (empty($FORUMPOST) && empty($FORUMREPLYPOSTED) && empty($FORUMTHREADPOSTED))
|
||||
//-- }
|
||||
//-- elseif (empty($FORUMPOST) && empty($FORUMREPLYPOSTED) && empty($FORUMTHREADPOSTED))
|
||||
if (empty($template) && empty($FORUMPOST) && empty($FORUMREPLYPOSTED) && empty($FORUMTHREADPOSTED))
|
||||
{
|
||||
$file = "forum_".$type."_template.php";
|
||||
if (is_readable(THEME.$file))
|
||||
|
Loading…
x
Reference in New Issue
Block a user