diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/categories/pages/categories/listing.php (renamed from mod/categories/listing.php) | 7 | ||||
-rw-r--r-- | mod/categories/start.php | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/mod/categories/listing.php b/mod/categories/pages/categories/listing.php index abbcf6785..8924506e9 100644 --- a/mod/categories/listing.php +++ b/mod/categories/pages/categories/listing.php @@ -29,6 +29,11 @@ $title = elgg_echo('categories:results', array($category)); $content = elgg_view_title($title); $content .= $objects; -$body = elgg_view_layout('two_column_left_sidebar', '', $content); +$body = elgg_view_layout('content', array( + 'content' => $content, + 'title' => $title, + 'filter' => '', + 'header' => '', +)); echo elgg_view_page($title, $body); diff --git a/mod/categories/start.php b/mod/categories/start.php index 2ccea0d70..b6bc4a55c 100644 --- a/mod/categories/start.php +++ b/mod/categories/start.php @@ -31,7 +31,7 @@ function categories_init() { * */ function categories_page_handler() { - include(dirname(__FILE__) . "/listing.php"); + include(dirname(__FILE__) . "/pages/categories/listing.php"); return TRUE; } |