diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-11 22:51:08 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-11 22:51:08 +0000 |
commit | 891739afadddad56b517b7d565458296eeb58c0b (patch) | |
tree | 1891b4f21abd3df6aa1ec4b8847758644e1622fb /mod/categories/listing.php | |
parent | 1f1a9d691360eac9bb3eeaf98ebaaec6b6305b2b (diff) | |
download | elgg-891739afadddad56b517b7d565458296eeb58c0b.tar.gz elgg-891739afadddad56b517b7d565458296eeb58c0b.tar.bz2 |
some clean up of the categories plugin - html/css polish needed
git-svn-id: http://code.elgg.org/elgg/trunk@8122 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/categories/listing.php')
-rw-r--r-- | mod/categories/listing.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mod/categories/listing.php b/mod/categories/listing.php index 19fb65069..abbcf6785 100644 --- a/mod/categories/listing.php +++ b/mod/categories/listing.php @@ -1,16 +1,14 @@ <?php /** - * Elgg categories listing page + * List entities by category * * @package ElggCategories */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - $limit = get_input("limit", 10); $offset = get_input("offset", 0); $category = get_input("category"); -$owner_guid = get_input("owner_guid", 0); +$owner_guid = get_input("owner_guid", ELGG_ENTITIES_ANY_VALUE); $subtype = get_input("subtype", ELGG_ENTITIES_ANY_VALUE); $type = get_input("type", 'object'); @@ -24,9 +22,7 @@ $params = array( 'full_view' => FALSE, 'metadata_case_sensitive' => FALSE, ); -elgg_push_context('search'); $objects = elgg_list_entities_from_metadata($params); -elgg_pop_context(); $title = elgg_echo('categories:results', array($category)); |