diff --git a/e107_files/shortcode/batch/bbcode_shortcodes.php b/e107_files/shortcode/batch/bbcode_shortcodes.php
index e6125bf11..119575c4e 100644
--- a/e107_files/shortcode/batch/bbcode_shortcodes.php
+++ b/e107_files/shortcode/batch/bbcode_shortcodes.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/bbcode_shortcodes.php,v $
-| $Revision: 1.13 $
-| $Date: 2009-09-19 15:21:50 $
-| $Author: secretr $
+| $Revision: 1.14 $
+| $Date: 2009-10-23 19:54:48 $
+| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
@@ -123,7 +123,7 @@ class bbcode_shortcodes
{
$text .= ($bbcode_helpactive && $_helptxt && !$iconpath[$parm]) ? "" : "";
- $text .= $_function($_function_var);
+ $text .= call_user_func($_function, $_function_var);
$text .= ($bbcode_helpactive && $_helptxt && !$iconpath[$parm]) ? "" : "";
}
diff --git a/e107_handlers/ren_help.php b/e107_handlers/ren_help.php
index 4c17518e3..40357e04c 100644
--- a/e107_handlers/ren_help.php
+++ b/e107_handlers/ren_help.php
@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/ren_help.php,v $
-| $Revision: 1.10 $
-| $Date: 2009-09-19 15:21:50 $
-| $Author: secretr $
+| $Revision: 1.11 $
+| $Date: 2009-10-23 19:54:48 $
+| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -73,7 +73,7 @@ function display_help($tagid="helpb", $mode = 1, $addtextfunc = "addtext", $help
$temp['submitnews'] = $BBCODE_TEMPLATE_SUBMITNEWS;
$temp['extended'] = $BBCODE_TEMPLATE_NEWSPOST;
$temp['admin'] = $BBCODE_TEMPLATE_ADMIN;
- $temp['mailout'] = $BBCODE_TEMPLATE_ADMIN."{BB=shortcode}";
+ $temp['mailout'] = $BBCODE_TEMPLATE_MAILOUT;
$temp['cpage'] = $BBCODE_TEMPLATE_CPAGE;
$temp['maintenance']= $BBCODE_TEMPLATE_ADMIN;
$temp['comment'] = "{BB_HELP}
".$BBCODE_TEMPLATE;
@@ -302,11 +302,11 @@ function PreFile_Select($formid='prefile_selector',$bbcode_filedir) {
if($file['id'])
{
- $text .= "\n";
+ $text .= "\n";
}
else
{
- $text .= "\n";
+ $text .= "\n";
}
}