Subversion Repositories ALCASAR

Rev

Rev 1160 | Rev 1484 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1160 Rev 1478
Line 20... Line 20...
20
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
20
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
21
	$Langue		= explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
21
	$Langue		= explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
22
	$Language	= strtolower(substr(chop($Langue[0]),0,2)); }
22
	$Language	= strtolower(substr(chop($Langue[0]),0,2)); }
23
if($Language == 'fr'){
23
if($Language == 'fr'){
24
	$l_network_title	= "Configuration réseau";
24
	$l_network_title	= "Configuration réseau";
25
	$l_eth0_legend		= "Eth0 (Interface connectée à Internet)";
25
	$l_extif_legend		= " (Interface connectée à Internet)";
26
	$l_eth1_legend		= "Eth1 (Réseau de consultation)";
26
	$l_intif_legend		= " (Réseau de consultation)";
27
	$l_internet_legend	= "INTERNET";
27
	$l_internet_legend	= "INTERNET";
28
	$l_ip_adr			= "Adresse IP";
28
	$l_ip_adr			= "Adresse IP";
29
	$l_ip_mask			= "Masque";
29
	$l_ip_mask			= "Masque";
30
	$l_ip_router		= "Passerelle";
30
	$l_ip_router		= "Passerelle";
31
	$l_ip_public		= "Adresse IP publique";
31
	$l_ip_public		= "Adresse IP publique";
Line 47... Line 47...
47
	$l_add_to_list		= "Ajouter";
47
	$l_add_to_list		= "Ajouter";
48
	$l_apply			= "Appliquer les changements";
48
	$l_apply			= "Appliquer les changements";
49
 
49
 
50
} else {
50
} else {
51
	$l_network_title	= "Network configuration";
51
	$l_network_title	= "Network configuration";
52
	$l_eth0_legend		= "Eth0 (Internet connected interface)";
52
	$l_extif_legend		= " (Internet connected interface)";
53
	$l_eth1_legend		= "Eth1 (Private network)";
53
	$l_intif_legend		= " (Private network)";
54
	$l_internet_legend	= "INTERNET";
54
	$l_internet_legend	= "INTERNET";
55
	$l_ip_adr			= "IP Address";
55
	$l_ip_adr			= "IP Address";
56
	$l_ip_mask			= "Mask";
56
	$l_ip_mask			= "Mask";
57
	$l_ip_router		= "Gateway";
57
	$l_ip_router		= "Gateway";
58
	$l_ip_public		= "Public IP address";
58
	$l_ip_public		= "Public IP address";
Line 229... Line 229...
229
		<tr><td><?php echo $l_ip_dns2." : </td><td>".$conf["DNS2"];?></td></tr>
229
		<tr><td><?php echo $l_ip_dns2." : </td><td>".$conf["DNS2"];?></td></tr>
230
	</table>
230
	</table>
231
	</fieldset>
231
	</fieldset>
232
	</td><td>
232
	</td><td>
233
	<fieldset>
233
	<fieldset>
234
	<legend><?php echo $l_eth0_legend; ?></legend>
234
	<legend><?php echo $conf["EXTIF"].$l_extif_legend; ?></legend>
235
	<table>
235
	<table>
236
		<tr><td><?php echo $l_ip_adr." : </td><td>".$conf["PUBLIC_IP"];?></td></tr>
236
		<tr><td><?php echo $l_ip_adr." : </td><td>".$conf["PUBLIC_IP"];?></td></tr>
237
		<tr><td><?php echo $l_ip_router." : </td><td>".$conf["GW"];?></td></tr>
237
		<tr><td><?php echo $l_ip_router." : </td><td>".$conf["GW"];?></td></tr>
238
	</table>
238
	</table>
239
	</fieldset>
239
	</fieldset>
240
	</td><td>
240
	</td><td>
241
	<fieldset>
241
	<fieldset>
242
	<legend><?php echo $l_eth1_legend; ?></legend>
242
	<legend><?php echo $conf["INTIF"].$l_intif_legend; ?></legend>
243
	<table>
243
	<table>
244
		<tr><td><?php echo $l_ip_adr." : </td><td>".$conf["PRIVATE_IP"];?></td></tr>
244
		<tr><td><?php echo $l_ip_adr." : </td><td>".$conf["PRIVATE_IP"];?></td></tr>
245
	</table>
245
	</table>
246
	</fieldset>
246
	</fieldset>
247
	</td></tr>
247
	</td></tr>