diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-26 14:08:38 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-26 14:08:38 -0500 |
commit | 22afb49f30fc9bcd6be84f734e89a9b644f2fb0f (patch) | |
tree | 1fba6c9db4b92e5fc9744ec82e8d218720c5de07 /views/default/widgets/latest_photos/content.php | |
parent | 47bd8586910b1df3f29e2425572372e382b26f6a (diff) | |
download | elgg-22afb49f30fc9bcd6be84f734e89a9b644f2fb0f.tar.gz elgg-22afb49f30fc9bcd6be84f734e89a9b644f2fb0f.tar.bz2 |
updated widgets for 1.8
Diffstat (limited to 'views/default/widgets/latest_photos/content.php')
-rw-r--r-- | views/default/widgets/latest_photos/content.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/widgets/latest_photos/content.php b/views/default/widgets/latest_photos/content.php new file mode 100644 index 000000000..ecd72aec4 --- /dev/null +++ b/views/default/widgets/latest_photos/content.php @@ -0,0 +1,15 @@ +<?php +/** + * Display the latest photos uploaded by an individual + */ + +echo elgg_list_entities(array( + 'type' => 'object', + 'subtype' => 'image', + 'limit' => $vars['entity']->num_display, + 'owner_guid' => elgg_get_page_owner_guid(), + 'full_view' => false, + 'list_type' => 'gallery', + 'list_type_toggle' => false, + 'gallery_class' => 'tidypics-gallery-widget', +)); |