diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-15 18:07:38 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-15 18:07:38 +0000 |
commit | 451b29b0f5fef1f41b209c51b57d6362c13696a1 (patch) | |
tree | 28e45d071a26d0306dd845e9b5085149aed00f6b /mod/file/world.php | |
parent | aa55192c5e2347e31a905d4e218477dd1e0ff333 (diff) | |
download | elgg-451b29b0f5fef1f41b209c51b57d6362c13696a1.tar.gz elgg-451b29b0f5fef1f41b209c51b57d6362c13696a1.tar.bz2 |
Updated File mod to new UI.
git-svn-id: http://code.elgg.org/elgg/trunk@5409 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/file/world.php')
-rw-r--r-- | mod/file/world.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/file/world.php b/mod/file/world.php index 9f2ae5ee4..bd39d2a08 100644 --- a/mod/file/world.php +++ b/mod/file/world.php @@ -24,16 +24,18 @@ $title = elgg_echo('file:all'); // Get objects - $area2 = elgg_view_title($title); - $area1 = get_filetype_cloud(); // the filter + $area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'file')); + $area1 .= get_filetype_cloud(); // the filter set_context('search'); if ($tag != "") $area2 .= list_entities_from_metadata('tags',$tag,'object','file',0,10,false); else $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'limit' => 10, 'offset' => $offset, 'full_view' => FALSE)); set_context('file'); + + $content = "<div class='files'>".$area1.$area2."</div>"; - $body = elgg_view_layout('two_column_left_sidebar',$area1, $area2); + $body = elgg_view_layout('one_column_with_sidebar', $content); // Finally draw the page page_draw($title, $body); |