Cosmetics changes : remove ending lines spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
10
form.php
10
form.php
@@ -79,7 +79,7 @@ class form
|
||||
$this->fields = $fields;
|
||||
}
|
||||
|
||||
/** Add a field to the form. For the details of a field, see the description
|
||||
/** Add a field to the form. For the details of a field, see the description
|
||||
* in fields method */
|
||||
public function addfield ($field)
|
||||
{
|
||||
@@ -104,7 +104,7 @@ class form
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception (dgettext("domframework",
|
||||
throw new Exception (dgettext("domframework",
|
||||
"Unknown FORM method (GET or POST allowed)"));
|
||||
}
|
||||
|
||||
@@ -213,7 +213,7 @@ class form
|
||||
{
|
||||
reset ($errors);
|
||||
$focusElement = key ($errors);
|
||||
}
|
||||
}
|
||||
$res .= "<script>document.getElementById('".$this->formName."_".
|
||||
$focusElement."').focus();</script>\n";
|
||||
$res .= "</form>\n";
|
||||
@@ -463,8 +463,8 @@ class formfield
|
||||
$this->values[$key] !== "unset" &&
|
||||
$this->values[$key] !== "")
|
||||
$res .= " checked='checked'";
|
||||
elseif (isset ($this->defaults[$key]) &&
|
||||
$this->defaults[$key] !== null &&
|
||||
elseif (isset ($this->defaults[$key]) &&
|
||||
$this->defaults[$key] !== null &&
|
||||
$this->defaults[$key] !== false &&
|
||||
$this->defaults[$key] !== "unset" &&
|
||||
$this->defaults[$key] !== "")
|
||||
|
||||
Reference in New Issue
Block a user