diff --git a/e107_admin/comment.php b/e107_admin/comment.php index c8ad50d1c..819c6601b 100644 --- a/e107_admin/comment.php +++ b/e107_admin/comment.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/comment.php,v $ -| $Revision: 1.4 $ -| $Date: 2009-09-02 17:27:29 $ -| $Author: e107coders $ +| $Revision: 1.5 $ +| $Date: 2009-09-19 15:30:47 $ +| $Author: secretr $ +----------------------------------------------------------------------------+ */ require_once("../class2.php"); @@ -83,6 +83,7 @@ class comment_manager function comment_manager() { + global $user_pref; $this->fieldpref = (varset($user_pref['admin_cpage_columns'])) ? $user_pref['admin_cpage_columns'] : array("comment_id","comment_pid","comment_item_id","comment_subject","comment_comment","comment_author","comment_datestamp"); //TODO Add LANS diff --git a/e107_files/shortcode/batch/comment_shortcodes.php b/e107_files/shortcode/batch/comment_shortcodes.php index fc33a4066..7d80791e1 100644 --- a/e107_files/shortcode/batch/comment_shortcodes.php +++ b/e107_files/shortcode/batch/comment_shortcodes.php @@ -11,14 +11,14 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/comment_shortcodes.php,v $ -| $Revision: 1.10 $ -| $Date: 2009-09-14 18:14:32 $ +| $Revision: 1.11 $ +| $Date: 2009-09-19 15:30:47 $ | $Author: secretr $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } include_once(e_HANDLER.'shortcode_handler.php'); -$comment_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__); +$comment_shortcodes = e107::getScParser()->parse_scbatch(__FILE__); /* SC_BEGIN SUBJECT diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 0da864fc3..b5db21b87 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $ - | $Revision: 1.24 $ - | $Date: 2009-09-14 18:18:35 $ + | $Revision: 1.25 $ + | $Date: 2009-09-19 15:30:47 $ | $Author: secretr $ +----------------------------------------------------------------------------+ */ @@ -64,7 +64,8 @@ class comment } //FIXME - e_REQUEST_URI? //e_SELF."?".e_QUERY - $text = "\n