]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3746. Moved the categories page handler script. Updated the layout call.
authorBrett Profitt <brett.profitt@gmail.com>
Fri, 14 Oct 2011 02:02:39 +0000 (19:02 -0700)
committerBrett Profitt <brett.profitt@gmail.com>
Fri, 14 Oct 2011 02:02:39 +0000 (19:02 -0700)
mod/categories/pages/categories/listing.php [moved from mod/categories/listing.php with 86% similarity]
mod/categories/start.php

similarity index 86%
rename from mod/categories/listing.php
rename to mod/categories/pages/categories/listing.php
index abbcf67851c5424798ea4ae39666fc9aa3922247..8924506e935176f19cf18195659cbd203b6edb7a 100644 (file)
@@ -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);
index 2ccea0d7071bf2392bcde71727a10739b88f5a2b..b6bc4a55cbc08e3905558df55a732f2ce180eec9 100644 (file)
@@ -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;
 }