diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 06:41:44 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-20 06:41:44 +0000 |
commit | 008644017462ff0848a3d047d4656762c13c0364 (patch) | |
tree | 7809a2a18efde1b47832994f7cdca68630040d19 /views | |
parent | 2a76ba6147bd1b5afe65d1f34f9f18b3af23985b (diff) | |
download | elgg-008644017462ff0848a3d047d4656762c13c0364.tar.gz elgg-008644017462ff0848a3d047d4656762c13c0364.tar.bz2 |
Refs #2143: Cleaned up input/submit
git-svn-id: http://code.elgg.org/elgg/trunk@7360 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/input/submit.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/views/default/input/submit.php b/views/default/input/submit.php index dd520fa8e..315a70eac 100644 --- a/views/default/input/submit.php +++ b/views/default/input/submit.php @@ -6,20 +6,11 @@ * * @package Elgg * @subpackage Core - * - * @uses $vars['value'] The current value, if any - * @uses $vars['js'] Any Javascript to enter into the input tag - * @uses $vars['internalname'] The name of the input field - * @uses $vars['type'] Submit or reset, defaults to submit. - * */ $vars['type'] = 'submit'; -if (isset($vars['class'])) { - $class = $vars['class']; -} else { - $class = "submit_button"; +if (!isset($vars['class'])) { + $vars['class'] = "submit_button"; } -$vars['class'] = $class; echo elgg_view('input/button', $vars);
\ No newline at end of file |