diff options
author | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-19 00:38:13 +0000 |
---|---|---|
committer | Evan Winslow <evan.b.winslow@gmail.com> | 2010-10-19 00:38:13 +0000 |
commit | 4e34bacad758404f7a713e31d2ff5864c0d91c30 (patch) | |
tree | 3dcca816eff365125fa3b725a08f687586c7d45b /views/default/input/form.php | |
parent | 6cf50446e4071095c0b18a76038fb96de5a10475 (diff) | |
download | elgg-4e34bacad758404f7a713e31d2ff5864c0d91c30.tar.gz elgg-4e34bacad758404f7a713e31d2ff5864c0d91c30.tar.bz2 |
Updated to new directory structure
Diffstat (limited to 'views/default/input/form.php')
-rw-r--r-- | views/default/input/form.php | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php index e6b4f299e..c30dd5c9a 100644 --- a/views/default/input/form.php +++ b/views/default/input/form.php @@ -17,23 +17,10 @@ * */ +if ($vars['disable_security'] != TRUE) { + $vars['body'] .= elgg_view('input/securitytoken'); +} -$defaults = array( - 'method' => 'POST', - 'body' => '', -); - -$overrides = array( - 'tag' => 'form', -); - -$disable_security = $vars['disable_security']; unset($vars['disable_security']); -$args = array_merge($defaults, $vars, $overrides); - -if ($disable_security != TRUE) { - $args['body'] .= elgg_view('input/securitytoken'); -} - -echo elgg_view('html/tag', $args); +echo elgg_view('html/form', $vars); |