diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-19 12:06:07 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-19 12:06:07 +0000 |
commit | 1bb750cdf821416584dc42206a29dae7c41144a5 (patch) | |
tree | dde4d0ada6d8615848feea99b21c218483d70f33 /views/default/html | |
parent | 3db487a7168011ddfb8f75535935700959cf3516 (diff) | |
download | elgg-1bb750cdf821416584dc42206a29dae7c41144a5.tar.gz elgg-1bb750cdf821416584dc42206a29dae7c41144a5.tar.bz2 |
Adds support for img tag view
Diffstat (limited to 'views/default/html')
-rw-r--r-- | views/default/html/img.php | 13 |
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 |