Project

General

Profile

« Previous | Next » 

Revision 774c288f

Added by Scott Dale about 18 years ago

Show icon when schedule is active

View differences:

usr/local/www/firewall_schedule.php
92 92
	<?php $i = 0; foreach ($a_schedules as $schedule): ?>
93 93
	<tr>
94 94
	   <td class="listlr" ondblclick="document.location='firewall_schedule_edit.php?id=<?=$i;?>';">
95
    <?=htmlspecialchars($schedule['name']);?>
95
			<?=htmlspecialchars($schedule['name']); 
96
			  	 $schedstatus = get_time_based_rule_status($schedule);
97
					 if ($schedstatus) { ?>
98
					 	&nbsp;<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_frmfld_time.png" title="Schedule is currently active" width="17" height="17" border="0">
99
					 <?php } ?>
100
    
96 101
  		</td>
97 102
  		<td class="listlr" ondblclick="document.location='firewall_schedule_edit.php?id=<?=$i;?>';">
98 103
  			<table width="98%" border="0" cellpadding="0" cellspacing="0">
99
			<?php 					
100

  
101
					foreach($schedule['timerange'] as $timerange) {
104
			<?php 
105
			
106
				foreach($schedule['timerange'] as $timerange) {
102 107
						$tempFriendlyTime = "";
103 108
						$tempID = "";
104 109
						$firstprint = false;

Also available in: Unified diff