aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-10-13 19:02:39 -0700
committerBrett Profitt <brett.profitt@gmail.com>2011-10-13 19:02:39 -0700
commita11aec8c7b88e78581a5550c059c2cfab099a02d (patch)
treecc2b8b79e540d5168db5bd70989270632276bead /mod
parentbe83d770dbcdc3c65ee8837b3762e2086ada4eca (diff)
downloadelgg-a11aec8c7b88e78581a5550c059c2cfab099a02d.tar.gz
elgg-a11aec8c7b88e78581a5550c059c2cfab099a02d.tar.bz2
Fixes #3746. Moved the categories page handler script. Updated the layout call.
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.php2
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;
}