form : type in checked
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3107 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
4
form.php
4
form.php
@@ -483,7 +483,7 @@ class formfield
|
|||||||
$this->values[$key] !== false &&
|
$this->values[$key] !== false &&
|
||||||
$this->values[$key] !== "unset" &&
|
$this->values[$key] !== "unset" &&
|
||||||
$this->values[$key] !== "")
|
$this->values[$key] !== "")
|
||||||
$res .= " Checked='checked'";
|
$res .= " checked='checked'";
|
||||||
}
|
}
|
||||||
elseif (isset ($this->defaults[$key]))
|
elseif (isset ($this->defaults[$key]))
|
||||||
{
|
{
|
||||||
@@ -491,7 +491,7 @@ class formfield
|
|||||||
$this->defaults[$key] !== false &&
|
$this->defaults[$key] !== false &&
|
||||||
$this->defaults[$key] !== "unset" &&
|
$this->defaults[$key] !== "unset" &&
|
||||||
$this->defaults[$key] !== "")
|
$this->defaults[$key] !== "")
|
||||||
$res .= " cheked='checked'";
|
$res .= " checked='checked'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isset ($this->hidden) && $this->hidden !== FALSE)
|
if (isset ($this->hidden) && $this->hidden !== FALSE)
|
||||||
|
|||||||
Reference in New Issue
Block a user