42function report_header($reportname, $notused, $period, $periodlink, $description, $builddate, $exportlink =
'', $moreparam = array(), $calcmode =
'', $varlink =
'')
46 print
"\n\n<!-- start banner of report -->\n";
48 if (!empty($varlink)) {
49 $varlink =
'?'.$varlink;
52 $title = $langs->trans(
"Report");
54 print_barre_liste($title, 0,
'',
'',
'',
'',
'', -1,
'',
'generic', 0,
'',
'', -1, 1, 1);
56 print
'<form method="POST" id="searchFormList" action="'.$_SERVER[
"PHP_SELF"].$varlink.
'">'.
"\n";
57 print
'<input type="hidden" name="token" value="'.newToken().
'">'.
"\n";
61 foreach ($moreparam as $key => $value) {
62 print
'<input type="hidden" name="'.$key.
'" value="'.$value.
'">'.
"\n";
65 print
'<table class="border tableforfield centpercent">'.
"\n";
67 $variant = ($periodlink || $exportlink);
71 print
'<td width="150">'.$langs->trans(
"ReportName").
'</td>';
83 print
'<td width="150">'.$langs->trans(
"CalculationMode").
'</td>';
95 print
'<td>'.$langs->trans(
"ReportPeriod").
'</td>';
101 print
'<td class="nowraponall">'.$periodlink.
'</td>';
108 print
'<td>'.$langs->trans(
"ReportDescription").
'</td>';
109 print
'<td>'.$description.
'</td>';
117 print
'<td>'.$langs->trans(
"GeneratedOn").
'</td>';
122 print
'<td>'.($exportlink ? $langs->trans(
"Export").
': '.$exportlink :
'').
'</td>';
126 print
'</table>'.
"\n";
130 print
'<div class="center"><input type="submit" class="button" name="submit" value="'.$langs->trans(
"Refresh").
'"></div>';
135 print
"\n<!-- end banner of report -->\n\n";
print_barre_liste($title, $page, $file, $options='', $sortfield='', $sortorder='', $morehtmlcenter='', $num=-1, $totalnboflines='', $picto='generic', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limit=-1, $selectlimitsuffix=0, $hidenavigation=0, $pagenavastextinput=0, $morehtmlrightbeforearrow='')
Print a title with navigation controls for pagination.
dol_get_fiche_head($links=array(), $active='', $title='', $notab=0, $picto='', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limittoshow=0, $moretabssuffix='', $dragdropfile=0)
Show tabs of a record.
dol_get_fiche_end($notab=0)
Return tab footer of a card.
dol_print_date($time, $format='', $tzoutput='auto', $outputlangs=null, $encodetooutput=false)
Output date in a string format according to outputlangs (or langs if not defined).
report_header($reportname, $notused, $period, $periodlink, $description, $builddate, $exportlink='', $moreparam=array(), $calcmode='', $varlink='')
Show header of a report.