diff options
Diffstat (limited to 'views/default/river/object/image/create.php')
-rw-r--r-- | views/default/river/object/image/create.php | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/views/default/river/object/image/create.php b/views/default/river/object/image/create.php deleted file mode 100644 index 6b68b4d68..000000000 --- a/views/default/river/object/image/create.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php -/** - * Image album view - * - * @author Cash Costello - * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2 - */ - -elgg_load_css('lightbox'); -elgg_load_js('lightbox'); -elgg_load_js('tidypics'); - -$subject = $vars['item']->getSubjectEntity(); -$subject_link = elgg_view('output/url', array( - 'href' => $subject->getURL(), - 'text' => $subject->name, - 'class' => 'elgg-river-subject', - 'is_trusted' => true, -)); - -$image = $vars['item']->getObjectEntity(); -$attachments = elgg_view_entity_icon($image, 'tiny'); - -$image_link = elgg_view('output/url', array( - 'href' => $image->getURL(), - 'text' => $image->getTitle(), - 'is_trusted' => true, - 'class' => 'elgg-lightbox-photo', -)); - -$album_link = elgg_view('output/url', array( - 'href' => $image->getContainerEntity()->getURL(), - 'text' => $image->getContainerEntity()->getTitle(), - 'is_trusted' => true, -)); - -echo elgg_view('river/elements/layout', array( - 'item' => $vars['item'], - 'attachments' => $attachments, - 'summary' => elgg_echo('image:river:created', array($subject_link, $image_link, $album_link)), -)); |