blob: 1b8f5f828fc472c3313bc93390fac2bc258cdf26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<?php
/**
* All files
*
* @package ElggFile
*/
elgg_push_breadcrumb(elgg_echo('file'));
$limit = get_input("limit", 10);
$title = elgg_echo('file:all');
elgg_push_context('search');
$content = elgg_list_entities(array(
'types' => 'object',
'subtypes' => 'file',
'limit' => $limit,
'full_view' => FALSE
));
elgg_pop_context();
$body = elgg_view_layout('content', array(
'filter_context' => 'all',
'content' => $content,
'title' => $title,
));
echo elgg_view_page($title, $body);
|