From f9fea8d01ea6eb171e0775beb8e98acfaf7c0532 Mon Sep 17 00:00:00 2001 From: neoraider Date: Thu, 14 Dec 2006 00:07:02 +0000 Subject: mod-BBCode an neue Neon-Version angepasst --- templates/bbcode.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates/bbcode.inc.php') diff --git a/templates/bbcode.inc.php b/templates/bbcode.inc.php index a3a07f5..6620c91 100644 --- a/templates/bbcode.inc.php +++ b/templates/bbcode.inc.php @@ -2,6 +2,13 @@ Uses('bbcode', 'links'); class bbcode_template { + function GetTitle($data) { + if($data['title']) + return htmlspecialchars($data['title']); + + return strtr($data['_page'], array(':' => ' - ')); + } + function GetPage($data) { if($data['title']) $title = htmlspecialchars($data['title']); -- cgit v1.2.3