From 2ea05e91caba53d4446d8b5a7c511b0f3b30c36e Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 30 Sep 2016 11:15:56 +0000 Subject: [PATCH] form : display correctely the checkboxes (add label and div='checkbox') git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3105 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- form.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/form.php b/form.php index 142b1c2..7118a87 100644 --- a/form.php +++ b/form.php @@ -433,6 +433,7 @@ class formfield $this->titles = array (""); foreach ($this->titles as $key=>$val) { + $res .= "
\n"; $res .= " name, ENT_QUOTES)."]"; @@ -440,6 +441,11 @@ class formfield $res .= "[$key]"; $res .= "' value='unset'"; $res .= "/>"; + $res .= "\n"; + $res .= "
\n"; } if (isset ($this->errors) || isset ($this->help))