From e6e0f3703ab6fc13a1ec9ce95de2bd398bcf881c Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 4 Dec 2006 00:21:03 +0000 Subject: BBCode-Modul an das neue Template-Interface angepasst. --- templates/bbcode.inc.php | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/bbcode.inc.php b/templates/bbcode.inc.php index e5de9ce..3c8212e 100644 --- a/templates/bbcode.inc.php +++ b/templates/bbcode.inc.php @@ -1,14 +1,33 @@ ' - ')); $content = '

' . $title . '

' . $GLOBALS['bbcode']->Parse($data['code']); + return array('title' => $title, 'content' => $content); + } + + function GetEditor($data) { + $title = 'Edit \'' . $data['_page'] . '\''; + + $content = '

' . $title . '

'; + $content .= '
'; + $content .= ''; + $content .= ''; + $content .= ''; + $content .= 'Titel:
'; + $content .= '
'; + $content .= ''; + $content .= ''; + $content .= '
'; + return array('title' => $title, 'content' => $content); } } -- cgit v1.2.3