Starting to make the availability general report
This commit is contained in:
parent
48ca7ac999
commit
4749f3255b
|
@ -431,8 +431,14 @@ switch ($action) {
|
||||||
$filter['metaconsole'] = 0;
|
$filter['metaconsole'] = 0;
|
||||||
|
|
||||||
$reports = reports_get_reports ($filter,
|
$reports = reports_get_reports ($filter,
|
||||||
array ('name', 'id_report', 'description', 'private',
|
array (
|
||||||
'id_user', 'id_group', 'non_interactive'), $return_all_group, 'RR', $group);
|
'name',
|
||||||
|
'id_report',
|
||||||
|
'description',
|
||||||
|
'private',
|
||||||
|
'id_user',
|
||||||
|
'id_group',
|
||||||
|
'non_interactive'), $return_all_group, 'RR', $group);
|
||||||
|
|
||||||
$table->width = '0px';
|
$table->width = '0px';
|
||||||
if (sizeof ($reports)) {
|
if (sizeof ($reports)) {
|
||||||
|
@ -724,7 +730,8 @@ switch ($action) {
|
||||||
$first_page = $config['custom_report_front_firstpage'];
|
$first_page = $config['custom_report_front_firstpage'];
|
||||||
$footer = $config['custom_report_front_footer'];
|
$footer = $config['custom_report_front_footer'];
|
||||||
|
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
|
|
||||||
$start_url = ui_get_full_url(false, false, false, false);
|
$start_url = ui_get_full_url(false, false, false, false);
|
||||||
$first_page = "<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><img src="" . $start_url . "/images/pandora_report_logo.png" alt="" width="800" /></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><span style="font-size: xx-large;">(_REPORT_NAME_)</span></p>
<p style="text-align: center;"><span style="font-size: large;">(_DATETIME_)</span></p>";
|
$first_page = "<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><img src="" . $start_url . "/images/pandora_report_logo.png" alt="" width="800" /></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><span style="font-size: xx-large;">(_REPORT_NAME_)</span></p>
<p style="text-align: center;"><span style="font-size: large;">(_DATETIME_)</span></p>";
|
||||||
|
@ -1548,7 +1555,7 @@ switch ($action) {
|
||||||
switch ($activeTab) {
|
switch ($activeTab) {
|
||||||
case 'main':
|
case 'main':
|
||||||
$buttons['list_reports']['active'] = true;
|
$buttons['list_reports']['active'] = true;
|
||||||
$subsection = ' » '.__('Custom reporting');
|
$subsection = ' » ' . __('Custom reporting');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$subsection = reporting_enterprise_add_subsection_main($activeTab, $buttons);
|
$subsection = reporting_enterprise_add_subsection_main($activeTab, $buttons);
|
||||||
|
|
Loading…
Reference in New Issue