aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/edit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-18 01:31:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-18 01:31:22 +0000
commit01435072dc7d9b46bc30a3216501684a72e716a1 (patch)
tree7099a30d696c47302afea2f482e3142f9afec81a /mod/bookmarks/pages/edit.php
parent231ca23ea10335a03b185d60a07ae3c92e9dfd63 (diff)
downloadelgg-01435072dc7d9b46bc30a3216501684a72e716a1.tar.gz
elgg-01435072dc7d9b46bc30a3216501684a72e716a1.tar.bz2
Refs #3158 namespaced pages for bookmarks and thewire
git-svn-id: http://code.elgg.org/elgg/trunk@8759 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/pages/edit.php')
-rw-r--r--mod/bookmarks/pages/edit.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/mod/bookmarks/pages/edit.php b/mod/bookmarks/pages/edit.php
deleted file mode 100644
index 24513a960..000000000
--- a/mod/bookmarks/pages/edit.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * Add bookmark page
- *
- * @package ElggBookmarks
- */
-
-$bookmark_guid = get_input('guid');
-$bookmark = get_entity($bookmark_guid);
-
-if (!elgg_instanceof($bookmark, 'object', 'bookmarks') || !$bookmark->canEdit()) {
- register_error(elgg_echo('bookmarks:unknown_bookmark'));
- forward(REFERRER);
-}
-
-$page_owner = elgg_get_page_owner_entity();
-
-$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