Projet

Général

Profil

« Précédent | Suivant » 

Révision caf58ced

Ajouté par Dmitriy K. il y a presque 10 ans

a bit of refactoring

forgot to sync _server.php with _client.php naming style

Voir les différences:

usr/local/www/vpn_openvpn_server.php
680 680
	value = document.iform.dev_mode.options[index].value;
681 681
	switch(value) {
682 682
		case "tun":
683
			document.getElementById("cbNoTunIPv6").style.display="";
683
			document.getElementById("chkboxNoTunIPv6").style.display="";
684 684
			document.getElementById("ipv4_tunnel_network").className="vncellreq";
685 685
			document.getElementById("serverbridge_dhcp").style.display="none";
686 686
			document.getElementById("serverbridge_interface").style.display="none";
......
689 689
			document.getElementById("topology_subnet_opt").style.display="";
690 690
			break;
691 691
		case "tap":
692
			document.getElementById("cbNoTunIPv6").style.display="none";
692
			document.getElementById("chkboxNoTunIPv6").style.display="none";
693 693
			document.getElementById("ipv4_tunnel_network").className="vncell";
694 694
			if (!p2p) {
695 695
				document.getElementById("serverbridge_dhcp").style.display="";
......
1351 1351
								<?php endforeach; ?>
1352 1352
							</select>
1353 1353
							<br />
1354
							<?=gettext("Compress tunnel packets using the LZO algorithm. Adaptive compression will dynamically disable compression for a period of time if OpenVPN detects that the data in the packets is not being compressed efficiently."); ?>.
1354
							<?=gettext("Compress tunnel packets using the LZO algorithm. Adaptive compression will dynamically disable compression for a period of time if OpenVPN detects that the data in the packets is not being compressed efficiently"); ?>.
1355 1355
						</td>
1356 1356
					</tr>
1357 1357
					<tr>
......
1409 1409
						</td>
1410 1410
					</tr>
1411 1411

  
1412
					<tr id="cbNoTunIPv6">
1412
					<tr id="chkboxNoTunIPv6">
1413 1413
						<td width="22%" valign="top" class="vncell"><?=gettext("Disable IPv6"); ?></td>
1414 1414
						<td width="78%" class="vtable">
1415 1415
							<table border="0" cellpadding="2" cellspacing="0" summary="disable-ipv6-srv">

Formats disponibles : Unified diff