| Line 30... |
Line 30... |
| 30 |
$l_ip_router = "Passerelle";
|
30 |
$l_ip_router = "Passerelle";
|
| 31 |
$l_ip_public = "Adresse IP publique";
|
31 |
$l_ip_public = "Adresse IP publique";
|
| 32 |
$l_ip_dns1 = "DNS1";
|
32 |
$l_ip_dns1 = "DNS1";
|
| 33 |
$l_ip_dns2 = "DNS2";
|
33 |
$l_ip_dns2 = "DNS2";
|
| 34 |
$l_dhcp_title = "Service DHCP";
|
34 |
$l_dhcp_title = "Service DHCP";
|
| - |
|
35 |
$l_dhcp_state = "Mode actuel";
|
| - |
|
36 |
$l_dhcp_mode = "Les différents modes sont les suivants :";
|
| 35 |
$l_DHCP_full = "DHCP complet";
|
37 |
$l_DHCP_full = "DHCP complet";
|
| 36 |
$l_DHCP_half = "Demi DHCP ";
|
38 |
$l_DHCP_half = "Demi DHCP ";
|
| 37 |
$l_DHCP_off = "Sans DHCP";
|
39 |
$l_DHCP_off = "Sans DHCP";
|
| 38 |
$l_DHCP_full_explain = "DHCP complet";
|
40 |
$l_DHCP_full_explain = "Tous les équipements sont en adressage dynamique. Des adresses statiques peuvent être réservées.";
|
| 39 |
$l_DHCP_half_explain = "Demi DHCP ";
|
41 |
$l_DHCP_half_explain = "La première moitié des équipements est en adressage statique, l'autre moitié en dynamique.";
|
| 40 |
$l_DHCP_off_explain = "Sans DHCP";
|
42 |
$l_DHCP_off_explain = "Tous les équipements sont en adressage statique. Le serveur DHCP est arrété.";
|
| 41 |
$l_static_dhcp_title = "Réservation d'adresses IP statiques";
|
43 |
$l_static_dhcp_title = "Réservation d'adresses IP statiques";
|
| 42 |
$l_mac_address = "Adresse MAC";
|
44 |
$l_mac_address = "Adresse MAC";
|
| 43 |
$l_ip_address = "Adresse IP";
|
45 |
$l_ip_address = "Adresse IP";
|
| 44 |
$l_mac_del = "Supprimer de la liste";
|
46 |
$l_mac_del = "Supprimer de la liste";
|
| 45 |
$l_add_to_list = "Ajouter";
|
47 |
$l_add_to_list = "Ajouter";
|
| Line 55... |
Line 57... |
| 55 |
$l_ip_router = "Gateway";
|
57 |
$l_ip_router = "Gateway";
|
| 56 |
$l_ip_public = "Public IP address";
|
58 |
$l_ip_public = "Public IP address";
|
| 57 |
$l_ip_dns1 = "DNS1 :";
|
59 |
$l_ip_dns1 = "DNS1 :";
|
| 58 |
$l_ip_dns2 = "DNS2";
|
60 |
$l_ip_dns2 = "DNS2";
|
| 59 |
$l_dhcp_title = "DHCP service";
|
61 |
$l_dhcp_title = "DHCP service";
|
| - |
|
62 |
$l_dhcp_state = "Current mode";
|
| - |
|
63 |
$l_dhcp_mode = "The different modes are the following :";
|
| 60 |
$l_DHCP_full = "Full DHCP";
|
64 |
$l_DHCP_full = "Full DHCP";
|
| 61 |
$l_DHCP_half = "Half DHCP ";
|
65 |
$l_DHCP_half = "Half DHCP ";
|
| 62 |
$l_DHCP_off = "No DHCP";
|
66 |
$l_DHCP_off = "No DHCP";
|
| 63 |
$l_DHCP_full_explain = "Full DHCP";
|
67 |
$l_DHCP_full_explain = "All equipments are in DHCP mode. Some static addresses can be reserved.";
|
| 64 |
$l_DHCP_half_explain = "Half DHCP ";
|
68 |
$l_DHCP_half_explain = "The first half of equipments is in static mode, the other are in DHCP mode.";
|
| 65 |
$l_DHCP_off_explain = "No DHCP";
|
69 |
$l_DHCP_off_explain = "All equipments are in static mode. The DHCP server is off.";
|
| 66 |
$l_static_dhcp_title = "Static IP addresses reservation";
|
70 |
$l_static_dhcp_title = "Static IP addresses reservation";
|
| 67 |
$l_mac_address = "MAC Address";
|
71 |
$l_mac_address = "MAC Address";
|
| 68 |
$l_ip_address = "IP Address";
|
72 |
$l_ip_address = "IP Address";
|
| 69 |
$l_mac_del = "Delete from list";
|
73 |
$l_mac_del = "Delete from list";
|
| 70 |
$l_add_to_list = "Add";
|
74 |
$l_add_to_list = "Add";
|
| Line 248... |
Line 252... |
| 248 |
</table>
|
252 |
</table>
|
| 249 |
<table width="100%" border=1 cellspacing=0 cellpadding=0>
|
253 |
<table width="100%" border=1 cellspacing=0 cellpadding=0>
|
| 250 |
<tr><td valign="middle" align="left">
|
254 |
<tr><td valign="middle" align="left">
|
| 251 |
<?
|
255 |
<?
|
| 252 |
$dhcp_state=trim($conf["DHCP"]);
|
256 |
$dhcp_state=trim($conf["DHCP"]);
|
| 253 |
echo "<CENTER><H3>${"l_DHCP_".$dhcp_state}</H3></CENTER>";
|
257 |
echo "<CENTER><H3>$l_dhcp_state : ${"l_DHCP_".$dhcp_state}</H3></CENTER>";
|
| 254 |
echo "<FORM action='$_SERVER[PHP_SELF]' method=POST>";
|
258 |
echo "<FORM action='$_SERVER[PHP_SELF]' method=POST>";
|
| 255 |
echo "<select name='choix'>";
|
259 |
echo "<select name='choix'>";
|
| 256 |
echo "<option value=\"DHCP_Off\" ";if (!strcmp($dhcp_state,"off")) echo "selected";echo ">$l_DHCP_off";
|
260 |
echo "<option value=\"DHCP_Off\" ";if (!strcmp($dhcp_state,"off")) echo "selected";echo ">$l_DHCP_off";
|
| 257 |
echo "<option value=\"DHCP_Half\" ";if (!strcmp($dhcp_state,"half")) echo "selected";echo ">$l_DHCP_half";
|
261 |
echo "<option value=\"DHCP_Half\" ";if (!strcmp($dhcp_state,"half")) echo "selected";echo ">$l_DHCP_half";
|
| 258 |
echo "<option value=\"DHCP_Full\" ";if (!strcmp($dhcp_state,"full")) echo "selected";echo ">$l_DHCP_full";
|
262 |
echo "<option value=\"DHCP_Full\" ";if (!strcmp($dhcp_state,"full")) echo "selected";echo ">$l_DHCP_full";
|
| 259 |
echo "</select>";
|
263 |
echo "</select>";
|
| 260 |
echo "<input type=submit value='$l_apply'>";
|
264 |
echo "<input type=submit value='$l_apply'>";
|
| 261 |
echo "<td align='center'>";
|
265 |
echo "<td valign='middle' align='left'><center><H3>$l_dhcp_mode</h3></center>";
|
| 262 |
echo "$l_DHCP_off : $l_DHCP_off_explain<br>$l_DHCP_half : $l_DHCP_half_explain<br>$l_DHCP_full : $l_DHCP_full_explain";
|
266 |
echo "$l_DHCP_off : $l_DHCP_off_explain<br>$l_DHCP_half : $l_DHCP_half_explain<br>$l_DHCP_full : $l_DHCP_full_explain";
|
| 263 |
echo "</td>";
|
267 |
echo "</td>";
|
| 264 |
echo "</FORM>";
|
268 |
echo "</FORM>";
|
| 265 |
echo "</td></tr>";
|
269 |
echo "</td></tr>";
|
| 266 |
if (strncmp($conf["DHCP"],"full",2) == 0) { require ('network2.php');}
|
270 |
if (strncmp($conf["DHCP"],"full",2) == 0) { require ('network2.php');}
|