aboutsummaryrefslogtreecommitdiff
path: root/mod/html5/views/default/html/img.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/html5/views/default/html/img.php')
-rw-r--r--mod/html5/views/default/html/img.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/html5/views/default/html/img.php b/mod/html5/views/default/html/img.php
new file mode 100644
index 000000000..10fcbe0d1
--- /dev/null
+++ b/mod/html5/views/default/html/img.php
@@ -0,0 +1,11 @@
+<?php
+
+$defaults = array(
+ 'alt' => '',
+ 'title' => '',
+ 'border' => 0,
+);
+
+$attributes = elgg_format_attributes(array_merge($defaults, $vars));
+
+echo "<img $attributes />"; \ No newline at end of file