".__('Zero results found')."
\n"; } else { $table->cellpadding = 4; $table->cellspacing = 4; $table->width = '98%'; $table->class = 'databox'; $table->head = []; $table->head[0] = __('Report name'); $table->head[1] = __('Description'); $table->head[2] = __('HTML'); $table->head[3] = __('XML'); enterprise_hook('load_custom_reporting_1', [$table]); $table->align = []; $table->align[2] = 'center'; $table->align[3] = 'center'; $table->align[4] = 'center'; $table->data = []; foreach ($reports as $report) { if ($linkReport) { $reportstring = "".$report['name'].''; } else { $reportstring = $report['name']; } $data = [ $reportstring, $report['description'], ''.html_print_image('images/reporting.png', true).'', ''.html_print_image('images/database_lightning.png', true).'', ]; enterprise_hook('load_custom_reporting_2'); array_push($table->data, $data); } echo '
'; ui_pagination($totalReports); html_print_table($table); unset($table); ui_pagination($totalReports); }