1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00

Back to fixing the old mostly working code. Few fixes here.

This commit is contained in:
mcfly 2009-09-08 02:48:48 +00:00
parent 3a367901e1
commit 668c25c3ed
3 changed files with 21 additions and 30 deletions

View File

@ -1,20 +1,17 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2001-2008 e107 Inc (e107.org)
| ©Steve Dunstan 2001-2002 * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| jalist@e107.org *
| * Forum Posting
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
| * $Revision: 1.39 $
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $ * $Date: 2009-09-08 02:48:48 $
| $Revision: 1.38 $ * $Author: mcfly_e107 $
| $Date: 2009-09-08 02:00:41 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/ */
require_once('../../class2.php'); require_once('../../class2.php');
@ -80,6 +77,7 @@ if (!$forum->checkPerm($forumId, 'post'))
} }
define('MODERATOR', USER && $forum->isModerator(USERID)); define('MODERATOR', USER && $forum->isModerator(USERID));
//require_once(e_HANDLER.'forum_include.php'); //require_once(e_HANDLER.'forum_include.php');
e107::getScParser();
require_once(e_PLUGIN.'forum/forum_post_shortcodes.php'); require_once(e_PLUGIN.'forum/forum_post_shortcodes.php');
require_once(e_PLUGIN.'forum/forum_shortcodes.php'); require_once(e_PLUGIN.'forum/forum_shortcodes.php');
require_once(e_HANDLER.'ren_help.php'); require_once(e_HANDLER.'ren_help.php');

View File

@ -6,11 +6,11 @@
* Released under the terms and conditions of the * Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
* *
* Message Handler * Forum View Topic
* *
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_viewtopic.php,v $ * $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_viewtopic.php,v $
* $Revision: 1.22 $ * $Revision: 1.23 $
* $Date: 2009-09-08 02:00:44 $ * $Date: 2009-09-08 02:48:48 $
* $Author: mcfly_e107 $ * $Author: mcfly_e107 $
* *
*/ */
@ -58,7 +58,7 @@ if(isset($_GET['f']))
$thread->processFunction(); $thread->processFunction();
if($_GET['f'] != 'last') { $thread->init(); } if($_GET['f'] != 'last') { $thread->init(); }
} }
e107::getScParser();
require_once (e_HANDLER . 'level_handler.php'); require_once (e_HANDLER . 'level_handler.php');
if (!is_object($e107->userRank)) { $e107->userRank = new e107UserRank; } if (!is_object($e107->userRank)) { $e107->userRank = new e107UserRank; }
require_once (e_PLUGIN . 'forum/forum_shortcodes.php'); require_once (e_PLUGIN . 'forum/forum_shortcodes.php');

View File

@ -3,7 +3,7 @@
+ ----------------------------------------------------------------------------+ + ----------------------------------------------------------------------------+
| e107 website system | e107 website system
| |
| ©Steve Dunstan 2001-2002 | <EFBFBD>Steve Dunstan 2001-2002
| http://e107.org | http://e107.org
| jalist@e107.org | jalist@e107.org
| |
@ -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/templates/forum_viewtopic_template.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/forum/templates/forum_viewtopic_template.php,v $
| $Revision: 1.6 $ | $Revision: 1.7 $
| $Date: 2009-07-25 07:10:28 $ | $Date: 2009-09-08 02:48:48 $
| $Author: marj_nl_fr $ | $Author: mcfly_e107 $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@ -178,13 +178,6 @@ $FORUMEND = "<tr><td colspan='2' class='forumheader3' style='text-align:center'>
</tr> </tr>
</table> </table>
</div> </div>
";
/* hardcoded deprecated rss links
<div style='text-align:center' class='spacer'>
<a href='".e_PLUGIN."rss_menu/rss.php?8.1.".e_QUERY."'><img src='".e_PLUGIN."rss_menu/images/rss1.png' alt='".LAN_431."' style='vertical-align: middle; border: 0;' /></a> <a href='".e_PLUGIN."rss_menu/rss.php?8.2.".e_QUERY."'><img src='".e_PLUGIN."rss_menu/images/rss2.png' alt='".LAN_432."' style='vertical-align: middle; border: 0;' /></a> <a href='".e_PLUGIN."rss_menu/rss.php?8.3.".e_QUERY."'><img src='".e_PLUGIN."rss_menu/images/rss3.png' alt='".LAN_433."' style='vertical-align: middle; border: 0;' /></a></div>
*/
$FORUMEND = "
<div class='nforumdisclaimer' style='text-align:center'>Powered by <b>e107 Forum System</b></div>"; <div class='nforumdisclaimer' style='text-align:center'>Powered by <b>e107 Forum System</b></div>";
$FORUMREPLYSTYLE = "<tr> $FORUMREPLYSTYLE = "<tr>