summaryrefslogtreecommitdiffstats
path: root/code/pages.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/pages.inc.php')
-rw-r--r--code/pages.inc.php5
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) {