From 531b89f69ab5e72900fbd2484d60491f68e9153b Mon Sep 17 00:00:00 2001 From: neoraider Date: Tue, 18 Apr 2006 00:20:03 +0000 Subject: Sofort-Bearbeiten funktioniert jetzt. --- code/pages.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'code') diff --git a/code/pages.inc.php b/code/pages.inc.php index a6d9085..99ac017 100644 --- a/code/pages.inc.php +++ b/code/pages.inc.php @@ -14,6 +14,7 @@ 'Pages:Copy.c' => null, 'Pages:Delete.c' => null, 'Pages:Edit.c' => null, + 'Pages:Edit:Do.c' => null, 'Pages:Handle.c' => null, 'Pages:New.c' => null, 'Pages:Privs.c' => null, @@ -49,7 +50,7 @@ return $GLOBALS['templates'][$pagedata['template']]->Get($data); } - function GetEditor($page, $type) { + function GetEditor($page, $type, $backlink) { if(!$this->Exists($page, $type)) return array('title' => $page, 'content' => ErrorMessage('PageNotFound', array('page' => $page))); @@ -64,7 +65,7 @@ $data['_page'] = $page; $data['_type'] = $type; - return $this->Get($pagedata['template'], 'e', array('_data' => $data)); + return $this->Get($pagedata['template'], 'e', array('_data' => $data, '_backlink' => $backlink)); } function Exists($page, $type) { -- cgit v1.2.3