summaryrefslogtreecommitdiffstats
path: root/system/helpers/form_helper.php
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-08-26 22:55:47 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-08-26 22:55:47 +0200
commitc3907c629799c16d62c7fd1a72fb06cedba80d07 (patch)
treec64ce4e54ee43298e922db6ea2634f30b3a8a8f2 /system/helpers/form_helper.php
parent126ca8c341f5a1082178e578a875b8e1f7c9e0b3 (diff)
Switched spaces to tabs
Diffstat (limited to 'system/helpers/form_helper.php')
-rw-r--r--system/helpers/form_helper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index a96adb97d..2f29f1a82 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -53,7 +53,7 @@ if ( ! function_exists('form_open'))
$form = '<form action="'.$action.'"';
- $form .= _attributes_to_string($attributes, TRUE);
+ $form .= _attributes_to_string($attributes, TRUE);
$form .= '>';
@@ -214,11 +214,11 @@ if ( ! function_exists('form_textarea'))
{
$defaults = array('name' => (( ! is_array($data)) ? $data : ''), 'cols' => '90', 'rows' => '12');
- if ( ! is_array($data) OR ! isset($data['value']))
+ if ( ! is_array($data) OR ! isset($data['value']))
{
$val = $value;
}
- else
+ else
{
$val = $data['value'];
unset($data['value']); // textareas don't use the value attribute
@@ -476,7 +476,7 @@ if ( ! function_exists('form_fieldset'))
{
$fieldset = "<fieldset";
- $fieldset .= _attributes_to_string($attributes, FALSE);
+ $fieldset .= _attributes_to_string($attributes, FALSE);
$fieldset .= ">\n";
@@ -894,7 +894,7 @@ if ( ! function_exists('_attributes_to_string'))
$attributes .= ' method="post"';
}
- return ' '.$attributes;
+ return ' '.$attributes;
}
if (is_object($attributes) AND count($attributes) > 0)