diff options
author | neoraider <devnull@localhost> | 2006-04-11 21:09:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-11 21:09:04 +0200 |
commit | 08945f7122e50a6e0ef0966c932f0a1496475f04 (patch) | |
tree | d5a598d47c062e72f1d09263e280c911a403bfd6 /handlers | |
parent | f491ac343c929e3fae3e62c42372562ff9e11f54 (diff) | |
download | bbcode-08945f7122e50a6e0ef0966c932f0a1496475f04.tar bbcode-08945f7122e50a6e0ef0966c932f0a1496475f04.zip |
Noch ein paar Dateien, die nicht mitgekommen waren...
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/bbcode.inc.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/handlers/bbcode.inc.php b/handlers/bbcode.inc.php deleted file mode 100644 index e04d575..0000000 --- a/handlers/bbcode.inc.php +++ /dev/null @@ -1,20 +0,0 @@ -<?PHP - require_once('code/message.inc.php'); - require_once('code/modules.inc.php'); - - require_mod('code/bbcode.inc.php'); - - class bbcode_template { - function Get($data) { - if($data['title']) - $title = strtr($data['title'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); - else - $title = strtr($data['_page'], array(':' => ' - ')); - $content = '<h2>' . $title . '</h2>' . $GLOBALS['bbcode']->Parse($data['code']); - - return array('title' => $title, 'content' => $content); - } - } - - $GLOBALS['templates']['bbcode'] = new bbcode_template; -?> |