Revision cfa78e39
Added by Chris Buechler over 17 years ago
usr/local/www/fbegin.inc | ||
---|---|---|
140 | 140 |
<?=output_menu_item("/interfaces_assign.php", "(assign)");?> |
141 | 141 |
<?php endif; ?> |
142 | 142 |
<?=output_menu_item("/interfaces_wan.php", "WAN");?> |
143 |
<?=output_menu_item("/interfaces_lan.php", "LAN");?> |
|
143 |
<?php |
|
144 |
if($config['interfaces']['lan']) { |
|
145 |
output_menu_item("/interfaces_lan.php", "LAN"); |
|
146 |
} |
|
147 |
?> |
|
144 | 148 |
<?php for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++): if (!isset($config['interfaces']['opt' . $i]['ovpn'])): ?> |
145 | 149 |
<?=output_menu_item("/interfaces_opt.php?index={$i}", htmlspecialchars($config['interfaces']['opt' . $i]['descr']))?> |
146 | 150 |
<?php endif; endfor; ?> |
Also available in: Unified diff
Don't show LAN in Interfaces menu if it doesn't actually exist.
Bye bye, LAN interface requirement.