diff options
author | Scott Dale <sdale@pfsense.org> | 2007-05-09 02:09:06 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2007-05-09 02:09:06 +0000 |
commit | 2c48f3af53d7080fa5f3685159220dea021a5852 (patch) | |
tree | 15fc7c49752ec648021a4d6c58d2329edcb6632e /usr | |
parent | 350cf3e191dacbf5591bfd5d1e8250cc251f729d (diff) | |
download | pfsense-2c48f3af53d7080fa5f3685159220dea021a5852.zip pfsense-2c48f3af53d7080fa5f3685159220dea021a5852.tar.gz |
Show active schedules
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/firewall_schedule.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/firewall_schedule.php b/usr/local/www/firewall_schedule.php index 948282a..784a2e4 100644 --- a/usr/local/www/firewall_schedule.php +++ b/usr/local/www/firewall_schedule.php @@ -99,7 +99,12 @@ 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"> |