diff options
author | neoraider <devnull@localhost> | 2006-04-18 02:20:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-04-18 02:20:03 +0200 |
commit | 531b89f69ab5e72900fbd2484d60491f68e9153b (patch) | |
tree | 397a9203c3cc7c2042b9276f67e89ede68fcd0da /code | |
parent | e7359ccf2db89b1feec820d1c97583f720ae0d7a (diff) | |
download | neon-531b89f69ab5e72900fbd2484d60491f68e9153b.tar neon-531b89f69ab5e72900fbd2484d60491f68e9153b.zip |
Sofort-Bearbeiten funktioniert jetzt.
Diffstat (limited to 'code')
-rw-r--r-- | code/pages.inc.php | 5 |
1 files changed, 3 insertions, 2 deletions
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) { |