1 <?php
defined('SYSPATH') OR die('No direct access allowed.'); ?
>
2 <div id
="schedules_area">
3 <?php
echo isset($new_schedule) ?
$new_schedule : '' ?
>
4 <h1
><?php
echo _('Scheduled reports') ?
></h1
>
5 <?php
foreach(array('availability' => 'avail', 'SLA' => 'sla', 'summary' => 'summary') as $report_type_label => $report_type) { ?
>
6 <div id
="scheduled_<?php echo $report_type ?>_reports">
7 <table id
="<?php echo $report_type ?>_scheduled_reports_table">
8 <caption
><?php
echo _('Your scheduled '.$report_type_label.' Reports') ?
></caption
>
9 <thead id
="<?php echo $report_type ?>_headers">
11 <th
><?php
echo _('Interval') ?
></th
>
12 <th
><?php
echo _('Report') ?
></th
>
13 <th
><?php
echo _('Recipients') ?
></th
>
14 <th
><?php
echo _('Filename') ?
></th
>
15 <th
><?php
echo _('Description') ?
></th
>
16 <th
><?php
echo _("Local persistent filepath") ?
></th
>
17 <th
><?php
echo _("Attach description") ?
></th
>
18 <th
><?php
echo _('Actions'); ?
></th
>
22 <tr id
="<?php echo $report_type ?>_no_result" class="no-result" style
="display: none"><td colspan
="8"><center
><h3
><?php
echo sprintf(_('There are no scheduled %s reports'), $report_type_label) ?
></h3
></center
></td
></tr
>
26 <?php
} # Note: attributes with empty values here are assumed to be filled in ?>
27 <table id
="schedule_template" style
="display: none">
29 <td
class="period_select" title
="<?php echo _('Double click to edit') ?>"></td
>
30 <td
class="report_name"></td
>
31 <td
class="iseditable recipients" title
="<?php echo _('Double click to edit') ?>"></td
>
32 <td
class="iseditable filename" title
="<?php echo _('Double click to edit') ?>"></td
>
33 <td
class="iseditable_txtarea description" title
="<?php echo _('Double click to edit') ?>"></td
>
34 <td
class="iseditable local-path" title
="<?php echo _('Double click to edit') ?>"></td
>
35 <td
class="attach_description" title
="<?php echo _('Double click to edit') ?>"></td
>
37 <a href
="" class="direct_link"><img src
="<?php echo $this->add_path("icons
/16x16
/status
-detail
.png
") ?>" title
="<?php echo _("View report
") ?>" alt
="<?php echo _("View report
") ?>" /></a
>
38 <a href
="#" class="send_report_now" data
-schedule
="" data
-report_id
="" data
-type
=""><img src
="<?php echo $this->add_path('icons/16x16/send-report.png') ?>" alt
="<?php echo _('Send this report now') ?>" title
="<?php echo _('Send this report now') ?>" /></a
>
39 <a href
="#" class="delete_schedule" data
-schedule
="" data
-type
=""><?php
echo html
::image($this->add_path('icons/16x16/delete-schedule.png'), array('alt' => _('Delete scheduled report'), 'title' => _('Delete scheduled report'),'class' => 'deleteimg')) ?
></div
>