diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-22 16:36:30 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-22 16:36:30 +0000 |
commit | af5b59b518123a15a7182ebfe2487a9e10f67ee8 (patch) | |
tree | 4fcb24176b2b445acee48869aa816813f03352b6 /mod/pages/edit.php | |
parent | 186f5474e37f9ebde09b9afe2c82fa711402b421 (diff) | |
download | elgg-af5b59b518123a15a7182ebfe2487a9e10f67ee8.tar.gz elgg-af5b59b518123a15a7182ebfe2487a9e10f67ee8.tar.bz2 |
more clean up of the pages plugin to use new HTML/CSS
git-svn-id: http://code.elgg.org/elgg/trunk@7898 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/edit.php')
-rw-r--r-- | mod/pages/edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/pages/edit.php b/mod/pages/edit.php index 23b6cc168..8e530084b 100644 --- a/mod/pages/edit.php +++ b/mod/pages/edit.php @@ -26,7 +26,8 @@ elgg_push_breadcrumb(elgg_echo('edit')); $title = elgg_echo("pages:edit"); if ($page->canEdit()) { - $content = elgg_view("forms/pages/edit", array('entity' => $page)); + $vars = pages_prepare_form_vars($page); + $content = elgg_view_form('pages/edit', array(), $vars); } else { $content = elgg_echo("pages:noaccess"); } |