From 608e04c65eb2433a1cece9b5798f8577b611a288 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Wed, 14 Aug 2013 20:46:48 +0100 Subject: More progress on pages - extend writepages widget, add pagelist widget --- mod/editwebpage.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'mod/editwebpage.php') diff --git a/mod/editwebpage.php b/mod/editwebpage.php index 46c6b8817..f89be67c4 100644 --- a/mod/editwebpage.php +++ b/mod/editwebpage.php @@ -1,7 +1,8 @@ $jotplugins)); -//FIXME A return path with $_SESSION doesn't work for observer (at least, not here it doesn't). It'll WSoD instead of loading a sensible page. So, send folk -//back to the channel address until somebody figures out how to fix it - we can't send them back to webpages, because that could leak private pages they can't see -//when ACL is done. +//FIXME A return path with $_SESSION doesn't always work for observer - it may WSoD instead of loading a sensible page. So, send folk to the webpage list. - $rp = 'channel' . '/' . $which; + $rp = '/webpages/' . $which; $o .= replace_macros($tpl,array( '$return_path' => $rp, -- cgit v1.2.3