Project

General

Profile

« Previous | Next » 

Revision 5287f0e6

Added by Scott Ullrich over 19 years ago

Enable and disable subnet and interface too

View differences:

usr/local/www/vpn_pppoe.php
151 151
		document.iform.localip.disabled = 0;
152 152
		document.iform.radiusenable.disabled = 0;
153 153
		document.iform.radiusissueips.disabled = 0;
154
		document.iform.interface.disabled = 0;
155
		document.iform.n_pppoe_units.disabled = 0;		
154 156
		if (document.iform.radiusenable.checked || enable_over) {
155 157
			document.iform.radacct_enable.disabled = 0;
156 158
			document.iform.radiusserver.disabled = 0;
......
163 165
			document.iform.radiusissueips.disabled = 1;
164 166
		}
165 167
	} else {
168
		document.iform.interface.disabled = 1;
169
		document.iform.n_pppoe_units.disabled = 1;		
166 170
		document.iform.remoteip.disabled = 1;
167 171
		document.iform.localip.disabled = 1;
168 172
		document.iform.radiusenable.disabled = 1;

Also available in: Unified diff