From f76baeb30629637effdb1ff00f7996c5e8f81d68 Mon Sep 17 00:00:00 2001 From: Rafael Lucas Date: Wed, 30 Jun 2010 15:56:02 -0300 Subject: Implement gettext() calls --- usr/local/www/interfaces_vlan.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php index cd8975c..c75190f 100755 --- a/usr/local/www/interfaces_vlan.php +++ b/usr/local/www/interfaces_vlan.php @@ -62,7 +62,7 @@ function vlan_inuse($num) { if ($_GET['act'] == "del") { /* check if still in use */ if (vlan_inuse($_GET['id'])) { - $input_errors[] = "This VLAN cannot be deleted because it is still being used as an interface."; + $input_errors[] = gettext("This VLAN cannot be deleted because it is still being used as an interface."); } else { mwexec("/sbin/ifconfig " . $a_vlans[$_GET['id']]['vlanif'] . " destroy"); unset($a_vlans[$_GET['id']]); @@ -75,7 +75,7 @@ if ($_GET['act'] == "del") { } -$pgtitle = array("Interfaces","VLAN"); +$pgtitle = array(gettext("Interfaces"),gettext("VLAN")); include("head.inc"); ?> @@ -87,16 +87,16 @@ include("head.inc"); @@ -105,9 +105,9 @@ include("head.inc");
- - - + + + @@ -122,18 +122,18 @@ include("head.inc");   +  )"> - + -- cgit v1.1
InterfaceVLAN tagDescription
-  
 

- Note:
+
- Not all drivers/NICs support 802.1Q VLAN tagging properly. On cards that do not explicitly support it, VLAN tagging will still work, but the reduced MTU may cause problems. See the handbook for information on supported cards.

+