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:
2016-08-31 07:20:24 +00:00
parent 94099866f6
commit a04d3a4f4a
35 changed files with 208 additions and 210 deletions

View File

@@ -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] !== "")