diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-21 07:14:51 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-21 07:14:51 -0400 |
commit | 4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2 (patch) | |
tree | 0779d4f8a2f1ed074b975076372406042029985c /views/installation/input/form.php | |
parent | bd08504b16ee636eda1b30676799efc22a915613 (diff) | |
download | elgg-4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2.tar.gz elgg-4f5d7c0e9d231a9558cf9d4e681351f3bf1b20f2.tar.bz2 |
cleaned up input views for installation so that no notices are thrown
Diffstat (limited to 'views/installation/input/form.php')
-rw-r--r-- | views/installation/input/form.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/views/installation/input/form.php b/views/installation/input/form.php index f8730b4f5..3556413a8 100644 --- a/views/installation/input/form.php +++ b/views/installation/input/form.php @@ -5,20 +5,15 @@ * @uses $vars['body'] The body of the form (made up of other input/xxx views and html * @uses $vars['action'] URL of the action being called * @uses $vars['method'] Method (default POST) - * @uses $vars['id'] Form id * @uses $vars['name'] Form name */ -if (isset($vars['id'])) { - $id = "id=\"{$vars['id']}\""; -} else { - $id = ''; -} if (isset($vars['name'])) { $name = "name=\"{$vars['name']}\""; } else { $name = ''; } + $body = $vars['body']; $action = $vars['action']; if (isset($vars['method'])) { @@ -30,6 +25,6 @@ if (isset($vars['method'])) { $method = strtolower($method); ?> -<form <?php echo "$id $name"; ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>"> +<form <?php echo $name; ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>"> <?php echo $body; ?> </form>
\ No newline at end of file |