diff options
Diffstat (limited to 'mod/pages/history.php')
-rw-r--r-- | mod/pages/history.php | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/mod/pages/history.php b/mod/pages/history.php deleted file mode 100644 index 7ed5ad7f7..000000000 --- a/mod/pages/history.php +++ /dev/null @@ -1,43 +0,0 @@ -<?php -/** - * History of revisions of a page - * - * @package ElggPages - */ - -$page_guid = get_input('guid'); - -$page = get_entity($page_guid); -if (!$page) { - -} - -$container = $page->getContainerEntity(); -if (!$container) { - -} - -elgg_set_page_owner_guid($container->getGUID()); - -if (elgg_instanceof($container, 'group')) { - elgg_push_breadcrumb($container->name, "pages/group/$container->guid/owner"); -} else { - elgg_push_breadcrumb($container->name, "pages/owner/$container->username"); -} -pages_prepare_parent_breadcrumbs($page); -elgg_push_breadcrumb($page->title, $page->getURL()); -elgg_push_breadcrumb(elgg_echo('pages:history')); - -$title = $page->title . ": " . elgg_echo('pages:history'); - -$content = list_annotations($page_guid, 'page', 20, false); - -$body = elgg_view_layout('content', array( - 'filter' => '', - 'buttons' => '', - 'content' => $content, - 'title' => $title, - 'sidebar' => elgg_view('pages/sidebar/navigation', array('page' => $page)), -)); - -echo elgg_view_page($title, $body); |