From b5e2dbf292cddd56a8171b4c9cf1d9cf0fb45582 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 19 Mar 2011 15:19:02 +0000 Subject: Fixes #3158 updated search and pages plugins for page handler scripts git-svn-id: http://code.elgg.org/elgg/trunk@8769 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/edit.php | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 mod/pages/edit.php (limited to 'mod/pages/edit.php') diff --git a/mod/pages/edit.php b/mod/pages/edit.php deleted file mode 100644 index 8e530084b..000000000 --- a/mod/pages/edit.php +++ /dev/null @@ -1,42 +0,0 @@ -getContainerEntity(); -if (!$container) { - -} - -elgg_set_page_owner_guid($container->getGUID()); - -elgg_push_breadcrumb($page->title, $page->getURL()); -elgg_push_breadcrumb(elgg_echo('edit')); - -$title = elgg_echo("pages:edit"); - -if ($page->canEdit()) { - $vars = pages_prepare_form_vars($page); - $content = elgg_view_form('pages/edit', array(), $vars); -} else { - $content = elgg_echo("pages:noaccess"); -} - -$body = elgg_view_layout('content', array( - 'filter' => '', - 'buttons' => '', - 'content' => $content, - 'title' => $title, -)); - -echo elgg_view_page($title, $body); -- cgit v1.2.3