From 8a7857e403ce95fce0b5dd389efd25a07bea036d Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Thu, 6 Aug 2015 12:10:44 +0000 Subject: [PATCH] form : remove the \n after the help to have a beautiful HTML code git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2214 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- form.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/form.php b/form.php index 6fbaf64..58feed8 100644 --- a/form.php +++ b/form.php @@ -397,7 +397,7 @@ class formfield { $res .= " "; - if (isset ($this->help)) $res .= $this->help."
\n"; + if (isset ($this->help)) $res .= $this->help."
"; if (isset ($this->errors)) $res .= $this->errors[1]; $res .= "
\n"; } @@ -470,7 +470,7 @@ class formfield { $res .= " "; - if (isset ($this->help)) $res .= $this->help."
\n"; + if (isset ($this->help)) $res .= $this->help."
"; if (isset ($this->errors)) $res .= $this->errors[1]; $res .= "
\n"; } @@ -570,7 +570,7 @@ class formfield { $res .= " "; - if (isset ($this->help)) $res .= $this->help."
\n"; + if (isset ($this->help)) $res .= $this->help."
"; if (isset ($this->errors)) $res .= $this->errors[1]; $res .= "
\n"; } @@ -667,7 +667,7 @@ class formfield { $res .= " "; - if (isset ($this->help)) $res .= $this->help."
\n"; + if (isset ($this->help)) $res .= $this->help."
"; if (isset ($this->errors)) $res .= $this->errors[1]; $res .= "
\n"; } @@ -726,7 +726,7 @@ class formfield { $res .= " "; - if (isset ($this->help)) $res .= $this->help."
\n"; + if (isset ($this->help)) $res .= $this->help."
"; if (isset ($this->errors)) $res .= $this->errors[1]; $res .= "
\n"; }