diff --git a/e107_files/shortcode/batch/bbcode_shortcodes.php b/e107_files/shortcode/batch/bbcode_shortcodes.php
index a4b9b8af7..62e02b712 100644
--- a/e107_files/shortcode/batch/bbcode_shortcodes.php
+++ b/e107_files/shortcode/batch/bbcode_shortcodes.php
@@ -9,9 +9,9 @@
*
*
* $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $
- * $Revision: 1.16 $
- * $Date: 2009-11-18 01:04:43 $
- * $Author: e107coders $
+ * $Revision: 1.17 $
+ * $Date: 2010-01-09 15:06:37 $
+ * $Author: secretr $
*/
if (!defined('e107_INIT')) { exit; }
@@ -114,7 +114,7 @@ class bbcode_shortcodes
if($bbcode[$parm]) // default - insert text.
{
- $text = "\n\n";
+ $text = "\n
\n";
}
if($_function)
diff --git a/e107_files/shortcode/batch/comment_shortcodes.php b/e107_files/shortcode/batch/comment_shortcodes.php
index 2ca95a343..f2bcff2ce 100644
--- a/e107_files/shortcode/batch/comment_shortcodes.php
+++ b/e107_files/shortcode/batch/comment_shortcodes.php
@@ -9,9 +9,9 @@
*
*
* $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/comment_shortcodes.php,v $
- * $Revision: 1.14 $
- * $Date: 2009-11-18 01:04:43 $
- * $Author: e107coders $
+ * $Revision: 1.15 $
+ * $Date: 2010-01-09 15:06:37 $
+ * $Author: secretr $
*/
if (!defined('e107_INIT')) { exit; }
@@ -128,7 +128,7 @@ SC_END
SC_BEGIN IPADDRESS
global $IPADDRESS, $comrow, $e107;
//require_once(e_HANDLER."encrypt_handler.php");
-return (ADMIN ? "".COMLAN_330." ".$e107->ipDecode($comrow['comment_ip'])."" : "");
+return (ADMIN ? "".COMLAN_330." ".$e107->ipDecode($comrow['comment_ip'])."" : "");
SC_END
SC_BEGIN LEVEL
diff --git a/e107_plugins/rss_menu/rss_menu.php b/e107_plugins/rss_menu/rss_menu.php
index 1e8a058ba..ea60bf335 100644
--- a/e107_plugins/rss_menu/rss_menu.php
+++ b/e107_plugins/rss_menu/rss_menu.php
@@ -9,9 +9,9 @@
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/rss_menu.php,v $
- * $Revision: 1.7 $
- * $Date: 2009-11-18 01:06:01 $
- * $Author: e107coders $
+ * $Revision: 1.8 $
+ * $Date: 2010-01-09 15:06:36 $
+ * $Author: secretr $
*/
if (!defined('e107_INIT')) { exit; }
@@ -20,8 +20,9 @@ if (!plugInstalled('rss_menu'))
return '';
}
-global $FILES_DIRECTORY,$pref,$sql;
-$path = e_PLUGIN."rss_menu/";
+$FILES_DIRECTORY = e107::getInstance()->getFolder('files');
+$sql = e107::getDb();
+$path = e_PLUGIN_ABS."rss_menu/";
include_lan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
$des = "";
@@ -62,7 +63,7 @@ if(!$des)
$type = 1;
$des = RSS_MENU_L3;
}
-if(e_PAGE == "news.php" && $pref['rss_newscats'])
+if(e_PAGE == "news.php" && e107::getPref('rss_newscats'))
{
$qry = explode(".",e_QUERY);
@@ -73,14 +74,15 @@ if(e_PAGE == "news.php" && $pref['rss_newscats'])
}
$text = "
-