From e45c0d4a62e6bc0f5aa2cd0522987123a9b457c7 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 16 Feb 2011 22:00:32 +0000 Subject: Refs #2680. Bookmarks revamp, part 2. git-svn-id: http://code.elgg.org/elgg/trunk@8264 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/bookmarks/pages/edit.php | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 mod/bookmarks/pages/edit.php (limited to 'mod/bookmarks/pages/edit.php') diff --git a/mod/bookmarks/pages/edit.php b/mod/bookmarks/pages/edit.php new file mode 100644 index 000000000..1c74a592a --- /dev/null +++ b/mod/bookmarks/pages/edit.php @@ -0,0 +1,36 @@ +getContainerEntity(); +elgg_set_page_owner_guid($container->getGUID()); + +$title = elgg_echo('bookmarks:edit'); +elgg_push_breadcrumb($title); + +$vars = bookmarks_prepare_form_vars($bookmark); +$content = elgg_view_form('bookmarks/save', array(), $vars); + +$body = elgg_view_layout('content', array( + 'filter' => '', + 'buttons' => '', + 'content' => $content, + 'title' => $title, +)); + +echo elgg_view_page($title, $body); \ No newline at end of file -- cgit v1.2.3