forked from Wavyzz/dolibarr
Merge pull request #4311 from FHenry/develop
NEW : if nb total of lines provided in print barre_liste, display beside title
This commit is contained in:
@@ -2985,7 +2985,11 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
|
||||
|
||||
// Left
|
||||
if ($picto && $titre) print '<td class="nobordernopadding hideonsmartphone" width="40" align="left" valign="middle">'.img_picto('', $picto, '', $pictoisfullpath).'</td>';
|
||||
print '<td class="nobordernopadding"><div class="titre">'.$titre.'</div></td>';
|
||||
print '<td class="nobordernopadding"><div class="titre">'.$titre;
|
||||
if (!empty($totalnboflines) && !empty($titre)) {
|
||||
print ' ('.$totalnboflines.')';
|
||||
}
|
||||
print '</div></td>';
|
||||
|
||||
// Center
|
||||
if ($center)
|
||||
|
||||
@@ -48,8 +48,6 @@ function report_header($nom,$variante,$period,$periodlink,$description,$builddat
|
||||
|
||||
if(! empty($varlink)) $varlink = '?'.$varlink;
|
||||
|
||||
if(! empty($varlink)) $varlink = '?'.$varlink;
|
||||
|
||||
$h=0;
|
||||
$head[$h][0] = $_SERVER["PHP_SELF"].$varlink;
|
||||
$head[$h][1] = $langs->trans("Report");
|
||||
|
||||
Reference in New Issue
Block a user