forked from Wavyzz/dolibarr
Debug v20
This commit is contained in:
@@ -6113,7 +6113,7 @@ function print_fiche_titre($title, $mesg = '', $picto = 'generic', $pictoisfullp
|
|||||||
/**
|
/**
|
||||||
* Load a title with picto
|
* Load a title with picto
|
||||||
*
|
*
|
||||||
* @param string $title Title to show
|
* @param string $title Title to show (HTML sanitized content)
|
||||||
* @param string $morehtmlright Added message to show on right
|
* @param string $morehtmlright Added message to show on right
|
||||||
* @param string $picto Icon to use before title (should be a 32x32 transparent png file)
|
* @param string $picto Icon to use before title (should be a 32x32 transparent png file)
|
||||||
* @param int $pictoisfullpath 1=Icon name is a full absolute url of image
|
* @param int $pictoisfullpath 1=Icon name is a full absolute url of image
|
||||||
@@ -6138,7 +6138,9 @@ function load_fiche_titre($title, $morehtmlright = '', $picto = 'generic', $pict
|
|||||||
$return .= '<td class="nobordernopadding widthpictotitle valignmiddle col-picto">'.img_picto('', $picto, 'class="valignmiddle widthpictotitle pictotitle"', $pictoisfullpath).'</td>';
|
$return .= '<td class="nobordernopadding widthpictotitle valignmiddle col-picto">'.img_picto('', $picto, 'class="valignmiddle widthpictotitle pictotitle"', $pictoisfullpath).'</td>';
|
||||||
}
|
}
|
||||||
$return .= '<td class="nobordernopadding valignmiddle col-title">';
|
$return .= '<td class="nobordernopadding valignmiddle col-title">';
|
||||||
$return .= '<div class="titre inline-block">'.dol_escape_htmltag($title).'</div>';
|
$return .= '<div class="titre inline-block">';
|
||||||
|
$return .= $title; // $title is already HTML sanitized content
|
||||||
|
$return .= '</div>';
|
||||||
$return .= '</td>';
|
$return .= '</td>';
|
||||||
if (dol_strlen($morehtmlcenter)) {
|
if (dol_strlen($morehtmlcenter)) {
|
||||||
$return .= '<td class="nobordernopadding center valignmiddle col-center">'.$morehtmlcenter.'</td>';
|
$return .= '<td class="nobordernopadding center valignmiddle col-center">'.$morehtmlcenter.'</td>';
|
||||||
|
|||||||
Reference in New Issue
Block a user