aboutsummaryrefslogtreecommitdiff
path: root/views/default/html/img.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/html/img.php')
-rw-r--r--views/default/html/img.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/views/default/html/img.php b/views/default/html/img.php
index 3560e066e..734e59a55 100644
--- a/views/default/html/img.php
+++ b/views/default/html/img.php
@@ -3,11 +3,9 @@
$defaults = array(
'alt' => '',
'title' => '',
+ 'border' => 0,
);
-$overrides = array(
- 'tag' => 'img',
- 'body' => NULL,
-);
+$attributes = html5_get_html_attributes(array_merge($defaults, $vars));
-echo elgg_view('html/tag', array_merge($defaults, $vars, $overrides)); \ No newline at end of file
+echo "<img $attributes />"; \ No newline at end of file