diff --git a/e107_handlers/ren_help.php b/e107_handlers/ren_help.php index 322df362a..e1e89fe10 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.3 $ -| $Date: 2007-08-16 19:30:49 $ -| $Author: e107steved $ +| $Revision: 1.4 $ +| $Date: 2007-11-13 07:54:30 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ @@ -65,6 +65,7 @@ function display_help($tagid="helpb", $mode = 1, $addtextfunc = "addtext", $help } $temp['news'] = $BBCODE_TEMPLATE_NEWSPOST; + $temp['submitnews'] = $BBCODE_TEMPLATE_SUBMITNEWS; $temp['extended'] = $BBCODE_TEMPLATE_NEWSPOST; $temp['admin'] = $BBCODE_TEMPLATE_ADMIN; $temp['mailout'] = $BBCODE_TEMPLATE_ADMIN."{BB=shortcode}"; diff --git a/e107_themes/templates/bbcode_template.php b/e107_themes/templates/bbcode_template.php index 1155e0f07..f28017886 100644 --- a/e107_themes/templates/bbcode_template.php +++ b/e107_themes/templates/bbcode_template.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_themes/templates/bbcode_template.php,v $ -| $Revision: 1.3 $ -| $Date: 2007-01-05 23:02:25 $ -| $Author: e107steved $ +| $Revision: 1.4 $ +| $Date: 2007-11-13 07:54:33 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ // How to register your own BBcode button. @@ -32,6 +32,11 @@ $BBCODE_TEMPLATE = " // $sc_style['BB_HELP']['pre'] = "
"; // $sc_style['BB_HELP']['post'] = "
"; +$BBCODE_TEMPLATE_SUBMITNEWS = " + {BB_HELP}
+ {BB=link}{BB=b}{BB=i}{BB=u}{BB=img}{BB=center}{BB=left}{BB=right} + {BB=bq}{BB=code}{BB=list}{BB=fontcol}{BB=fontsize}{BB=emotes}{BB=flash} +"; // -------- Admin Templates ---------------------- diff --git a/submitnews.php b/submitnews.php index 0da1d3c80..7f353058a 100644 --- a/submitnews.php +++ b/submitnews.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/submitnews.php,v $ -| $Revision: 1.4 $ -| $Date: 2007-04-15 20:56:28 $ -| $Author: e107steved $ +| $Revision: 1.5 $ +| $Date: 2007-11-13 07:54:30 $ +| $Author: e107coders $ +----------------------------------------------------------------------------+ */ require_once("class2.php"); @@ -176,10 +176,11 @@ $text .= " " . LAN_135 . " - "; +
"; + if (!$pref['subnews_htmlarea']) { - $text .= display_help("helpb", 'news'); + $text .= display_help("helpb","submitnews"); } $text .= " \n";