aboutsummaryrefslogtreecommitdiff
path: root/mod/categories
diff options
context:
space:
mode:
Diffstat (limited to 'mod/categories')
-rw-r--r--mod/categories/manifest.xml1
-rw-r--r--mod/categories/pages/categories/listing.php (renamed from mod/categories/listing.php)7
-rw-r--r--mod/categories/start.php2
3 files changed, 7 insertions, 3 deletions
diff --git a/mod/categories/manifest.xml b/mod/categories/manifest.xml
index 15d7192c1..db6f0324f 100644
--- a/mod/categories/manifest.xml
+++ b/mod/categories/manifest.xml
@@ -14,5 +14,4 @@
<type>elgg_version</type>
<version>2010030101</version>
</requires>
- <admin_interface>advanced</admin_interface>
</plugin_manifest>
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;
}