Project

General

Profile

« Previous | Next » 

Revision 5de92d20

Added by Scott Ullrich over 20 years ago

Hide table if pf is disabled

View differences:

usr/local/www/system_routes.php
97 97
<input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p>
98 98
<?php endif; ?>
99 99

  
100
	     <table width="100%" border="0" cellpadding="0" cellspacing="0">
101
		<?php if($config['system']['disablefilter'] <> "") :?>
100
	     <?php if($config['system']['disablefilter'] <> "") :?>
101
	       <table width="100%" border="0" cellpadding="0" cellspacing="0">
102

  
102 103
		<tr><td width="2%"><input type="checkbox" name="enablefastrouting" id="enablefastrouting" <?php if($config['staticroutes']['enablefastrouting'] == "enabled") echo " checked"; ?>></td><td><b>Enable fast routing</td></tr>
103
		<?php endif ?>
104

  
104 105
		<tr><td colspan=2><hr><input type="submit" value="Save"></td></tr>
105
	     </table><br>
106
	       </table><br>
107
	     <?php endif ?>
106 108

  
107 109
              <table width="100%" border="0" cellpadding="0" cellspacing="0">
108 110
                <tr>

Also available in: Unified diff