Project

General

Profile

« Previous | Next » 

Revision 4476d447

Added by Ermal Luçi almost 17 years ago

Merge lan configuration to the interfaces_wan.php page wich does the configuration of all
other assigned interfaces.

View differences:

usr/local/www/fbegin.inc
139 139
							<?php if (!isset($config['system']['webgui']['noassigninterfaces'])): ?>
140 140
							<?=output_menu_item("/interfaces_assign.php", "(assign)");?>								
141 141
							<?php endif; ?>
142
							<?=output_menu_item("/interfaces_wan.php?if=wan", "WAN");?>	
143
							<?php
144
							if($config['interfaces']['lan']) {
145
								output_menu_item("/interfaces_lan.php", "LAN");
146
							}
147
							?>
148
							<?php $opts = get_configured_interface_with_descr(true, true); 
142
							<?php $opts = get_configured_interface_with_descr(false, true); 
149 143
							foreach ($opts as $oif => $odescr): 
150 144
								if (!isset($config['interfaces'][$oif]['ovpn'])): ?>
151 145
							<?=output_menu_item("/interfaces_wan.php?if={$oif}", htmlspecialchars($odescr))?>

Also available in: Unified diff