mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Bugtracker #3684 - forum post code
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2007-01-17 13:41:33 $
|
| $Date: 2007-01-18 20:44:32 $
|
||||||
| $Author: mrpete $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -428,12 +428,16 @@ if ($action == 'edit' || $action == 'quote')
|
|||||||
// -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
//Load forumpost template
|
//Load forumpost template
|
||||||
|
|
||||||
if (!$FORUMPOST) {
|
if (!$FORUMPOST)
|
||||||
if (is_readable(THEME."forum_post_template.php")) {
|
{
|
||||||
include_once(THEME."forum_post_template.php");
|
if (is_readable(THEME."forum_post_template.php"))
|
||||||
}
|
{
|
||||||
}else {
|
include_once(THEME."forum_post_template.php");
|
||||||
include_once(e_PLUGIN."forum/templates/forum_post_template.php");
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
include_once(e_PLUGIN."forum/templates/forum_post_template.php");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/* check post access (bugtracker #1424) */
|
/* check post access (bugtracker #1424) */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user