diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/firewall_schedule.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/usr/local/www/firewall_schedule.php b/usr/local/www/firewall_schedule.php index 7bd2a24..3565157 100644 --- a/usr/local/www/firewall_schedule.php +++ b/usr/local/www/firewall_schedule.php @@ -92,13 +92,18 @@ include("head.inc"); <?php $i = 0; foreach ($a_schedules as $schedule): ?> <tr> <td class="listlr" ondblclick="document.location='firewall_schedule_edit.php?id=<?=$i;?>';"> - <?=htmlspecialchars($schedule['name']);?> + <?=htmlspecialchars($schedule['name']); + $schedstatus = get_time_based_rule_status($schedule); + if ($schedstatus) { ?> + <img src="./themes/<?= $g['theme']; ?>/images/icons/icon_frmfld_time.png" title="Schedule is currently active" width="17" height="17" border="0"> + <?php } ?> + </td> <td class="listlr" ondblclick="document.location='firewall_schedule_edit.php?id=<?=$i;?>';"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> - <?php - - foreach($schedule['timerange'] as $timerange) { + <?php + + foreach($schedule['timerange'] as $timerange) { $tempFriendlyTime = ""; $tempID = ""; $firstprint = false; |