diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 12:28:09 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-04 12:28:09 +0000 |
commit | 2d391bba1a069080c1ad32c0daf4eba714a171f0 (patch) | |
tree | 6d1294272bd7df4279f39823f359f6a8f2cb75bc /views/default/input/form.php | |
parent | e5788d5b791b317f0ecc2488774fcfdd7f49519a (diff) | |
download | elgg-2d391bba1a069080c1ad32c0daf4eba714a171f0.tar.gz elgg-2d391bba1a069080c1ad32c0daf4eba714a171f0.tar.bz2 |
Interface updates to js, and login, register, lost password
git-svn-id: http://code.elgg.org/elgg/trunk@5281 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/form.php')
-rw-r--r-- | views/default/input/form.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/views/default/input/form.php b/views/default/input/form.php index 945d74d20..af5ffe0e2 100644 --- a/views/default/input/form.php +++ b/views/default/input/form.php @@ -42,6 +42,11 @@ if (isset($vars['method'])) { } else { $method = 'POST'; } +if (isset($vars['class'])) { + $class = $vars['class']; +} else { + $class = ''; +} $method = strtolower($method); @@ -51,7 +56,7 @@ if (!isset($vars['disable_security']) || $vars['disable_security'] != true) { $security_header = elgg_view('input/securitytoken'); } ?> -<form <?php if ($id) { ?>id="<?php echo $id; ?>" <?php } ?> <?php if ($name) { ?>name="<?php echo $name; ?>" <?php } ?> <?php echo $vars['js']; ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>" <?php if ($enctype!="") echo "enctype=\"$enctype\""; ?>> +<form <?php if ($id) { ?>id="<?php echo $id; ?>" <?php } ?> <?php if ($name) { ?>name="<?php echo $name; ?>" <?php } ?> <?php echo $vars['js']; ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>" <?php if ($enctype!="") echo "enctype=\"$enctype\""; ?> class="<?php echo $class; ?>"> <?php echo $security_header; ?> <?php echo $body; ?> </form>
\ No newline at end of file |