Debug webportal

This commit is contained in:
Laurent Destailleur
2024-01-27 17:58:19 +01:00
parent 25a91c63cf
commit 079b2aa3a0
7 changed files with 10 additions and 9 deletions

View File

@@ -7819,7 +7819,7 @@ abstract class CommonObject
$form = new Form($this->db);
}
$label = empty($val['label']) ? '' : $val['label'];
//$label = empty($val['label']) ? '' : $val['label'];
$type = empty($val['type']) ? '' : $val['type'];
$size = empty($val['css']) ? '' : $val['css'];
$reg = array();
@@ -8222,7 +8222,8 @@ abstract class CommonObject
$value = '';
}
} elseif ($type == 'password') {
$value = preg_replace('/./i', '*', $value);
$value = '<span class="opacitymedium">'.$langs->trans("Encrypted").'</span>';
//$value = preg_replace('/./i', '*', $value);
} elseif ($type == 'array') {
$value = implode('<br>', $value);
} else { // text|html|varchar