diff options
Diffstat (limited to 'mod/file')
-rw-r--r-- | mod/file/friends.php | 2 | ||||
-rw-r--r-- | mod/file/index.php | 4 | ||||
-rw-r--r-- | mod/file/search.php | 8 | ||||
-rw-r--r-- | mod/file/world.php | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/mod/file/friends.php b/mod/file/friends.php index 44532dfba..6ead3cf40 100644 --- a/mod/file/friends.php +++ b/mod/file/friends.php @@ -14,7 +14,7 @@ $owner = elgg_get_page_owner(); $title = elgg_echo("file:friends",array($owner->name)); - $area1 = elgg_view('page_elements/content_header', array('context' => "friends", 'type' => 'file')); + $area1 = elgg_view('page/elements/content_header', array('context' => "friends", 'type' => 'file')); elgg_push_context('search'); // offset is grabbed in list_user_friends_objects $content = list_user_friends_objects($owner->guid, 'file', 10, false); diff --git a/mod/file/index.php b/mod/file/index.php index ae2353724..e0ec1451f 100644 --- a/mod/file/index.php +++ b/mod/file/index.php @@ -16,10 +16,10 @@ //set the title if (elgg_get_page_owner_guid() == get_loggedin_userid()) { $title = elgg_echo('file:yours'); - $area1 = elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'file')); + $area1 = elgg_view('page/elements/content_header', array('context' => "mine", 'type' => 'file')); } else { $title = elgg_echo("file:user",array(elgg_get_page_owner()->name)); - $area1 = elgg_view('page_elements/content_header', array('context' => "friends", 'type' => 'file')); + $area1 = elgg_view('page/elements/content_header', array('context' => "friends", 'type' => 'file')); } // Get objects diff --git a/mod/file/search.php b/mod/file/search.php index 5c6c0a969..fa6c5ea71 100644 --- a/mod/file/search.php +++ b/mod/file/search.php @@ -47,18 +47,18 @@ if (empty($tag)) { $title = elgg_echo('file:type:all'); $area2 = elgg_view_title(elgg_echo('file:type:all')); - $area2 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'file')); + $area2 = elgg_view('page/elements/content_header', array('context' => "everyone", 'type' => 'file')); } else { $title = elgg_echo('searchtitle',array($tag)); if (is_array($owner_guid)) { //$area2 = elgg_view_title(elgg_echo("file:friends:type:" . $tag)); - $area2 = elgg_view('page_elements/content_header', array('context' => "friends", 'type' => 'file')); + $area2 = elgg_view('page/elements/content_header', array('context' => "friends", 'type' => 'file')); } else if (elgg_get_page_owner_guid() && elgg_get_page_owner_guid() != get_loggedin_userid()) { //$area2 = elgg_view_title(elgg_echo("file:user:type:" . $tag,array(elgg_get_page_owner()->name))); - $area2 = elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'file')); + $area2 = elgg_view('page/elements/content_header', array('context' => "mine", 'type' => 'file')); } else{ //$area2 = elgg_view_title(elgg_echo("file:type:" . $tag)); - $area2 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'file')); + $area2 = elgg_view('page/elements/content_header', array('context' => "everyone", 'type' => 'file')); } } if ($friends) { diff --git a/mod/file/world.php b/mod/file/world.php index 6ac4ba38a..3bacaad00 100644 --- a/mod/file/world.php +++ b/mod/file/world.php @@ -20,7 +20,7 @@ $title = elgg_echo('file:all'); // Get objects - $area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'file')); + $area1 = elgg_view('page/elements/content_header', array('context' => "everyone", 'type' => 'file')); $area1 .= get_filetype_cloud(); // the filter elgg_push_context('search'); $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'file', 'limit' => $limit, 'offset' => $offset, 'full_view' => FALSE)); |