From 08945f7122e50a6e0ef0966c932f0a1496475f04 Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 11 Apr 2006 19:09:04 +0000 Subject: Noch ein paar Dateien, die nicht mitgekommen waren... --- templates/bbcode.inc.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 templates/bbcode.inc.php (limited to 'templates/bbcode.inc.php') diff --git a/templates/bbcode.inc.php b/templates/bbcode.inc.php new file mode 100644 index 0000000..e04d575 --- /dev/null +++ b/templates/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