From 4e987eaae36c7998315c481f2421af8c51044842 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sun, 15 Apr 2007 20:56:28 +0000 Subject: [PATCH] Eliminate vintage textparse usage --- submitnews.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/submitnews.php b/submitnews.php index 99461b6f7..0da1d3c80 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.3 $ -| $Date: 2007-02-13 23:50:45 $ -| $Author: e107coders $ +| $Revision: 1.4 $ +| $Date: 2007-04-15 20:56:28 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ require_once("class2.php"); @@ -127,15 +127,14 @@ if (!USER) { $text .= "\n" . LAN_7 . "\n\n\n\n\n\n" . LAN_112 . "\n\n\n\n"; } -$news_aj = new textparse(); -// Added by Barry + if (!empty($pref['news_subheader'])) { $text .= " - " . $news_aj->tpa($pref['news_subheader']) . " + " . $tp->toHTML($pref['news_subheader'], TRUE,'TITLE') . " "; } -// end barry + $text .= " " . NWSLAN_6 . ": ";