From 3b7d2cb2fd40d744a2415a470b4e323d13dd1b63 Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 4 Dec 2006 00:11:05 +0000 Subject: Nav-Seiten durch Inserts ersetzt; Editor-Seiten jetzt in Templates. --- templates/default.inc.php | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'templates/default.inc.php') diff --git a/templates/default.inc.php b/templates/default.inc.php index 12609c6..c416f44 100644 --- a/templates/default.inc.php +++ b/templates/default.inc.php @@ -1,8 +1,8 @@ $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); + } } $GLOBALS['templates']['default'] = new default_template; -- cgit v1.2.3