blob: 6262faa1ed7f7e215c53dbb8f4c85f83fedf0894 (
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
30
31
32
33
|
<?php
/**
* All albums
*
* @package ElggLightbox
*/
elgg_push_breadcrumb(elgg_echo('lightbox'));
elgg_register_title_button();
$limit = get_input("limit", 10);
$title = elgg_echo('lightbox:all');
$content = elgg_list_entities(array(
'types' => 'object',
'subtypes' => 'album',
'limit' => $limit,
'full_view' => FALSE,
));
if (!$content) {
$content = elgg_echo('lightbox:none');
}
$body = elgg_view_layout('content', array(
'filter_context' => 'all',
'content' => $content,
'title' => $title,
'sidebar' => elgg_view('lightbox/sidebar'),
));
echo elgg_view_page($title, $body);
|