diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-21 18:45:20 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-21 18:45:20 +0000 |
commit | 42db97f9d404179f1d7f4059c891fca7766e482e (patch) | |
tree | f4236c4533281ba34ff55e4305d653be0e09004b /views/default/input/form.php | |
parent | 9ff9d71952db26c06fe2eb1bf98b53340242e524 (diff) | |
download | elgg-42db97f9d404179f1d7f4059c891fca7766e482e.tar.gz elgg-42db97f9d404179f1d7f4059c891fca7766e482e.tar.bz2 |
Fixed issue with input/form and added output/friendlytime (uses <time> element now)
Diffstat (limited to 'views/default/input/form.php')
-rw-r--r-- | views/default/input/form.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php index 565db3afe..364e13f86 100644 --- a/views/default/input/form.php +++ b/views/default/input/form.php @@ -20,14 +20,14 @@ $defaults = array( $vars = array_merge($defaults, $vars); +$body = $vars['body']; +unset($vars['body']); + if ($vars['disable_security'] != TRUE) { $body .= elgg_view('input/securitytoken'); } unset($vars['disable_security']); -$body = $vars['body']; -unset($vars['body']); - $attributes = html5_get_html_attributes($vars); echo "<form $attributes>$body</form>"; |