summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-12-14 01:07:02 +0100
committerneoraider <devnull@localhost>2006-12-14 01:07:02 +0100
commitf9fea8d01ea6eb171e0775beb8e98acfaf7c0532 (patch)
tree1855c1f72ff9cae1cb55fffcb9e11b0abb2238eb
parent366f92b1d43fc002691c4563660f4308d1f388a4 (diff)
downloadbbcode-master.tar
bbcode-master.zip
mod-BBCode an neue Neon-Version angepasstHEADmaster
-rw-r--r--templates/bbcode.inc.php7
1 files changed, 7 insertions, 0 deletions
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']);