summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-11 11:33:15 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-11 11:33:15 +0000
commit70aae83c8ee2a44b2eb880214af50f8052e12bf7 (patch)
tree7ed206ab5d302d9699cd11e28b6a3bbbd0ac5fdb /includes/form.inc
parent4b87417062261795eb4a2ce5909c2dacc8ce4704 (diff)
downloadbrdo-70aae83c8ee2a44b2eb880214af50f8052e12bf7.tar.gz
brdo-70aae83c8ee2a44b2eb880214af50f8052e12bf7.tar.bz2
#58166, fixes for typos, patch by Uwe Herrmann
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc
index f22d06526..7937b860d 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -573,7 +573,7 @@ function form_select_options($element, $choices = NULL) {
if (!isset($choices)) {
$choices = $element['#options'];
}
- // array_key_exists() accomodates the rare event where $element['#value'] is NULL.
+ // array_key_exists() accommodates the rare event where $element['#value'] is NULL.
// isset() fails in this situation.
$value_valid = isset($element['#value']) || array_key_exists('#value', $element);
$value_is_array = is_array($element['#value']);
@@ -937,7 +937,7 @@ function theme_textfield($element) {
* A themed HTML string representing the form.
*/
function theme_form($element) {
- // Anonymous div to satisfy XHTML compliancy.
+ // Anonymous div to satisfy XHTML compliance.
$action = $element['#action'] ? 'action="' . check_url($element['#action']) . '" ' : '';
return '<form '. $action . ' method="'. $element['#method'] .'" '. 'id="'. $element['#id'] .'"'. drupal_attributes($element['#attributes']) .">\n<div>". $element['#children'] ."\n</div></form>\n";
}