From f491ac343c929e3fae3e62c42372562ff9e11f54 Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 11 Apr 2006 18:39:05 +0000 Subject: Noch ein paar Dateien, die nicht mitgekommen waren... --- handlers/bbcode.inc.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 handlers/bbcode.inc.php (limited to 'handlers/bbcode.inc.php') diff --git a/handlers/bbcode.inc.php b/handlers/bbcode.inc.php new file mode 100644 index 0000000..e04d575 --- /dev/null +++ b/handlers/bbcode.inc.php @@ -0,0 +1,20 @@ + '<', '>' => '>', '&' => '&', '"' => '"')); + else + $title = strtr($data['_page'], array(':' => ' - ')); + $content = '

' . $title . '

' . $GLOBALS['bbcode']->Parse($data['code']); + + return array('title' => $title, 'content' => $content); + } + } + + $GLOBALS['templates']['bbcode'] = new bbcode_template; +?> -- cgit v1.2.3