aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/album_view/content.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/album_view/content.php')
-rw-r--r--views/default/widgets/album_view/content.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/widgets/album_view/content.php b/views/default/widgets/album_view/content.php
new file mode 100644
index 000000000..d6476f075
--- /dev/null
+++ b/views/default/widgets/album_view/content.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ *
+ */
+
+$options = array(
+ 'type' => 'object',
+ 'subtype' => 'album',
+ 'container_guid' => elgg_get_page_owner_guid(),
+ 'limit' => $vars['entity']->num_display,
+ 'full_view' => false,
+ 'pagination' => false,
+);
+echo elgg_list_entities($options);