aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/elements/attachment.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/elements/attachment.php')
-rw-r--r--views/default/river/elements/attachment.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/views/default/river/elements/attachment.php b/views/default/river/elements/attachment.php
deleted file mode 100644
index d5c0aab99..000000000
--- a/views/default/river/elements/attachment.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
-$title = '';
-$subtitle = false;
-$image = false;
-$description = false;
-
-extract($vars, EXTR_IF_EXISTS);
-
-$body = "<h4 class=\"elgg-attachment-title\">$title</h4>";
-
-if ($subtitle) {
- $body .= "<div class=\"elgg-attachment-subtitle\">$subtitle</div>";
-}
-
-if ($description) {
- $body .= "<div class=\"elgg-attachment-description\">$description</div>";
-}
-
-
-if ($image) {
- echo elgg_view_image_block($image, $body);
-} else {
- echo $body;
-} \ No newline at end of file