aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorEvan Winslow <evan.b.winslow@gmail.com>2010-10-19 12:06:07 +0000
committerEvan Winslow <evan.b.winslow@gmail.com>2010-10-19 12:06:07 +0000
commit1bb750cdf821416584dc42206a29dae7c41144a5 (patch)
treedde4d0ada6d8615848feea99b21c218483d70f33 /views/default
parent3db487a7168011ddfb8f75535935700959cf3516 (diff)
downloadelgg-1bb750cdf821416584dc42206a29dae7c41144a5.tar.gz
elgg-1bb750cdf821416584dc42206a29dae7c41144a5.tar.bz2
Adds support for img tag view
Diffstat (limited to 'views/default')
-rw-r--r--views/default/html/img.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/html/img.php b/views/default/html/img.php
new file mode 100644
index 000000000..3560e066e
--- /dev/null
+++ b/views/default/html/img.php
@@ -0,0 +1,13 @@
+<?php
+
+$defaults = array(
+ 'alt' => '',
+ 'title' => '',
+);
+
+$overrides = array(
+ 'tag' => 'img',
+ 'body' => NULL,
+);
+
+echo elgg_view('html/tag', array_merge($defaults, $vars, $overrides)); \ No newline at end of file