diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 7fcad5b8fb4..47764d448f1 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -4946,7 +4946,9 @@ class Form
$formconfirm .= '
'."\n";
// Line title
- $formconfirm .= '| '.img_picto('', 'recent').' '.$title.' |
'."\n";
+ $formconfirm .= '| ';
+ $formconfirm .= img_picto('', 'recent').' '.$title;
+ $formconfirm .= ' |
'."\n";
// Line text
if (is_array($formquestion) && !empty($formquestion['text'])) {
@@ -4964,7 +4966,7 @@ class Form
$formconfirm .= '';
$formconfirm .= '| '.$question.' | ';
$formconfirm .= '';
- $formconfirm .= $this->selectyesno("confirm", $newselectedchoice);
+ $formconfirm .= $this->selectyesno("confirm", $newselectedchoice, 0, false, 0, 0, 'marginleftonly marginrightonly');
$formconfirm .= '';
$formconfirm .= ' | ';
$formconfirm .= '
'."\n";
@@ -7837,9 +7839,10 @@ class Form
* @param bool $disabled true or false
* @param int $useempty 1=Add empty line
* @param int $addjscombo 1=Add js beautifier on combo box
+ * @param string $morecss More CSS
* @return string See option
*/
- public function selectyesno($htmlname, $value = '', $option = 0, $disabled = false, $useempty = 0, $addjscombo = 0)
+ public function selectyesno($htmlname, $value = '', $option = 0, $disabled = false, $useempty = 0, $addjscombo = 0, $morecss = '')
{
global $langs;
@@ -7852,7 +7855,7 @@ class Form
$disabled = ($disabled ? ' disabled' : '');
- $resultyesno = '