diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 683b6871a28..84af1c5325b 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -3704,11 +3704,11 @@ class Form
}
else if ($input['type'] == 'password')
{
- $more.='
| '.$input['label'].' | |
'."\n";
+ $more.='| '.$input['label'].' | |
'."\n";
}
else if ($input['type'] == 'select')
{
- $more.='| ';
+ $more.=' |
| ';
if (! empty($input['label'])) $more.=$input['label'].' | ';
$more.=$this->selectarray($input['name'],$input['values'],$input['default'],1,0,0,$moreattr,0,0,0,'',$morecss);
$more.=' |
'."\n";
@@ -3730,8 +3730,8 @@ class Form
foreach($input['values'] as $selkey => $selval)
{
$more.='';
- if ($i==0) $more.='| '.$input['label'].' | ';
- else $more.=' | ';
+ if ($i==0) $more.=''.$input['label'].' | ';
+ else $more.=' | ';
$more.=' ';
@@ -3742,7 +3742,7 @@ class Form
}
else if ($input['type'] == 'date')
{
- $more.=' |
| '.$input['label'].' | ';
+ $more.='
| '.$input['label'].' | ';
$more.='';
$more.=$this->select_date($input['value'],$input['name'],0,0,0,'',1,0,1);
$more.=' |
'."\n";
@@ -3754,7 +3754,7 @@ class Form
}
else if ($input['type'] == 'other')
{
- $more.='| ';
+ $more.=' |
| ';
if (! empty($input['label'])) $more.=$input['label'].' | ';
$more.=$input['value'];
$more.=' |
'."\n";