diff options
Diffstat (limited to 'mod/pages/world.php')
-rw-r--r-- | mod/pages/world.php | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mod/pages/world.php b/mod/pages/world.php deleted file mode 100644 index 668100ad2..000000000 --- a/mod/pages/world.php +++ /dev/null @@ -1,28 +0,0 @@ -<?php -/** - * List all pages - * - * @package ElggPages - */ - -$title = elgg_echo('pages:all'); - -elgg_pop_breadcrumb(); -elgg_push_breadcrumb(elgg_echo('pages')); - -$content = elgg_list_entities(array( - 'types' => 'object', - 'subtypes' => 'page_top', - 'full_view' => false, -)); -if (!$content) { - $content = '<p>' . elgg_echo('pages:none') . '</p>'; -} - -$body = elgg_view_layout('content', array( - 'filter_context' => 'all', - 'content' => $content, - 'title' => $title, -)); - -echo elgg_view_page($title, $body); |