aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/image.php
diff options
context:
space:
mode:
authorEvan Winslow <evan.b.winslow@gmail.com>2010-10-21 17:46:39 +0000
committerEvan Winslow <evan.b.winslow@gmail.com>2010-10-21 17:46:39 +0000
commit9ff9d71952db26c06fe2eb1bf98b53340242e524 (patch)
treefa0a068d6a024d029246691c0c67f1b5e83d2ede /views/default/input/image.php
parent1bb750cdf821416584dc42206a29dae7c41144a5 (diff)
downloadelgg-9ff9d71952db26c06fe2eb1bf98b53340242e524.tar.gz
elgg-9ff9d71952db26c06fe2eb1bf98b53340242e524.tar.bz2
Removed html/tag view -- all we really needed was a function to form an attribute string from an array. This is now being used in each input view and there is not so much view nesting going on...
Diffstat (limited to 'views/default/input/image.php')
-rw-r--r--views/default/input/image.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/views/default/input/image.php b/views/default/input/image.php
index f1b07cb8e..ae65d86ca 100644
--- a/views/default/input/image.php
+++ b/views/default/input/image.php
@@ -1,11 +1 @@
-<?php
-
-$defaults = array(
-
-);
-
-$overrides = array(
- 'type' => 'image',
-);
-
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides)); \ No newline at end of file
+<input type="image" <?php echo html5_get_html_attributes($vars); ?> /> \ No newline at end of file