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
This commit is contained in:
2015-08-06 12:10:44 +00:00
parent aa658fac3a
commit 8a7857e403

View File

@@ -397,7 +397,7 @@ class formfield
{
$res .= " <span class='help-block' id='$this->formName"."_";
$res .= htmlspecialchars ($this->name, ENT_QUOTES)."_help'>";
if (isset ($this->help)) $res .= $this->help."<br/>\n";
if (isset ($this->help)) $res .= $this->help."<br/>";
if (isset ($this->errors)) $res .= $this->errors[1];
$res .= "</span>\n";
}
@@ -470,7 +470,7 @@ class formfield
{
$res .= " <span class='help-block' id='$this->formName"."_";
$res .= htmlspecialchars ($this->name, ENT_QUOTES)."_help'>";
if (isset ($this->help)) $res .= $this->help."<br/>\n";
if (isset ($this->help)) $res .= $this->help."<br/>";
if (isset ($this->errors)) $res .= $this->errors[1];
$res .= "</span>\n";
}
@@ -570,7 +570,7 @@ class formfield
{
$res .= " <span class='help-block' id='$this->formName"."_";
$res .= htmlspecialchars ($this->name, ENT_QUOTES)."_help'>";
if (isset ($this->help)) $res .= $this->help."<br/>\n";
if (isset ($this->help)) $res .= $this->help."<br/>";
if (isset ($this->errors)) $res .= $this->errors[1];
$res .= "</span>\n";
}
@@ -667,7 +667,7 @@ class formfield
{
$res .= " <span class='help-block' id='$this->formName"."_";
$res .= htmlspecialchars ($this->name, ENT_QUOTES)."_help'>";
if (isset ($this->help)) $res .= $this->help."<br/>\n";
if (isset ($this->help)) $res .= $this->help."<br/>";
if (isset ($this->errors)) $res .= $this->errors[1];
$res .= "</span>\n";
}
@@ -726,7 +726,7 @@ class formfield
{
$res .= " <span class='help-block' id='$this->formName"."_";
$res .= htmlspecialchars ($this->name, ENT_QUOTES)."_help'>";
if (isset ($this->help)) $res .= $this->help."<br/>\n";
if (isset ($this->help)) $res .= $this->help."<br/>";
if (isset ($this->errors)) $res .= $this->errors[1];
$res .= "</span>\n";
}