forked from Wavyzz/dolibarr
FIX #9567
This commit is contained in:
@@ -4137,13 +4137,13 @@ function print_fiche_titre($title, $mesg='', $picto='title_generic.png', $pictoi
|
|||||||
* @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
|
||||||
* @param int $id To force an id on html objects
|
* @param string $id To force an id on html objects
|
||||||
* @param string $morecssontable More css on table
|
* @param string $morecssontable More css on table
|
||||||
* @param string $morehtmlcenter Added message to show on center
|
* @param string $morehtmlcenter Added message to show on center
|
||||||
* @return string
|
* @return string
|
||||||
* @see print_barre_liste
|
* @see print_barre_liste
|
||||||
*/
|
*/
|
||||||
function load_fiche_titre($titre, $morehtmlright='', $picto='title_generic.png', $pictoisfullpath=0, $id=0, $morecssontable='', $morehtmlcenter='')
|
function load_fiche_titre($titre, $morehtmlright='', $picto='title_generic.png', $pictoisfullpath=0, $id='', $morecssontable='', $morehtmlcenter='')
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
@@ -4153,7 +4153,7 @@ function load_fiche_titre($titre, $morehtmlright='', $picto='title_generic.png',
|
|||||||
|
|
||||||
$return.= "\n";
|
$return.= "\n";
|
||||||
$return.= '<table '.($id?'id="'.$id.'" ':'').'summary="" class="centpercent notopnoleftnoright'.($morecssontable?' '.$morecssontable:'').'" style="margin-bottom: 2px;"><tr>';
|
$return.= '<table '.($id?'id="'.$id.'" ':'').'summary="" class="centpercent notopnoleftnoright'.($morecssontable?' '.$morecssontable:'').'" style="margin-bottom: 2px;"><tr>';
|
||||||
if ($picto) $return.= '<td class="nobordernopadding widthpictotitle opacityhigh" valign="middle">'.img_picto('',$picto, 'class="valignmiddle widthpictotitle" id="pictotitle"', $pictoisfullpath).'</td>';
|
if ($picto) $return.= '<td class="nobordernopadding widthpictotitle opacityhigh" valign="middle">'.img_picto('',$picto, 'class="valignmiddle widthpictotitle pictotitle"', $pictoisfullpath).'</td>';
|
||||||
$return.= '<td class="nobordernopadding" valign="middle">';
|
$return.= '<td class="nobordernopadding" valign="middle">';
|
||||||
$return.= '<div class="titre">'.$titre.'</div>';
|
$return.= '<div class="titre">'.$titre.'</div>';
|
||||||
$return.= '</td>';
|
$return.= '</td>';
|
||||||
|
|||||||
@@ -1369,7 +1369,7 @@ div.nopadding {
|
|||||||
margin : 0px auto;
|
margin : 0px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pictotitle {
|
.pictotitle {
|
||||||
margin-<?php echo $right; ?>: 8px;
|
margin-<?php echo $right; ?>: 8px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1363,7 +1363,7 @@ table.noborder tr.liste_titre td {
|
|||||||
margin : 0px auto;
|
margin : 0px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pictotitle {
|
.pictotitle {
|
||||||
margin-<?php echo $right; ?>: 8px;
|
margin-<?php echo $right; ?>: 8px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user