From d75ad412ee62219a6adeeb0df585b114f2c80495 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 8 Jul 2010 17:05:23 -0300 Subject: Reset interface_* files --- usr/local/www/interfaces_qinq_edit.php | 54 +++++++++++++++++----------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'usr/local/www/interfaces_qinq_edit.php') diff --git a/usr/local/www/interfaces_qinq_edit.php b/usr/local/www/interfaces_qinq_edit.php index a820e14..1ea76e4 100755 --- a/usr/local/www/interfaces_qinq_edit.php +++ b/usr/local/www/interfaces_qinq_edit.php @@ -36,7 +36,7 @@ ##|*MATCH=interfaces_qinq_edit.php* ##|-PRIV -$pgtitle = array(gettext("Interfaces"),gettext("QinQ"), gettext("Edit")); +$pgtitle = array("Interfaces","QinQ", "Edit"); require("guiconfig.inc"); @@ -81,19 +81,19 @@ if ($_POST) { $pconfig = $_POST; if (empty($_POST['tag'])) - $input_errors[] = gettext("First level tag cannot be empty."); + $input_errors[] = "First level tag cannot be empty."; if (isset($id) && $a_qinqs[$id]['tag'] != $_POST['tag']) - $input_errors[] = gettext("You are editing an existing entry and modifying the first level tag is not allowed."); + $input_errors[] = "You are editing an existing entry and modifying the first level tag is not allowed."; if (isset($id) && $a_qinqs[$id]['if'] != $_POST['if']) - $input_errors[] = gettext("You are editing an existing entry and modifying the interface is not allowed."); + $input_errors[] = "You are editing an existing entry and modifying the interface is not allowed."; if (!isset($id)) { foreach ($a_qinqs as $qinqentry) if ($qinqentry['tag'] == $_POST['tag'] && $qinqentry['if'] == $_POST['if']) - $input_errors[] = gettext("QinQ level already exists for this interface, edit it!"); + $input_errors[] = "QinQ level already exists for this interface, edit it!"; if (is_array($config['vlans']['vlan'])) { foreach ($config['vlans']['vlan'] as $vlan) if ($vlan['tag'] == $_POST['tag'] && $vlan['if'] == $_POST['if']) - $input_errors[] = gettext("A normal VLAN exists with this tag please remove it to use this tag for QinQ first level."); + $input_errors[] = "A normal VLAN exists with this tag please remove it to use this tag for QinQ first level."; } } @@ -120,7 +120,7 @@ if ($_POST) { if (count($member) > 1) { if (preg_match("/([^0-9])+/", $member[0], $match) || preg_match("/([^0-9])+/", $member[1], $match)) - $input_errors[] = gettext("Tags can contain only numbers or a range in format #-#."); + $input_errors[] = "Tags can contain only numbers or a range in format #-#."; for ($i = $member[0]; $i <= $member[1]; $i++) { if ($isfirst > 0) @@ -130,7 +130,7 @@ if ($_POST) { } } else { if (preg_match("/([^0-9])+/", $_POST["members{$x}"], $match)) - $input_errors[] = gettext("Tags can contain only numbers or a range in format #-#."); + $input_errors[] = "Tags can contain only numbers or a range in format #-#."; if ($isfirst > 0) $members .= " "; @@ -190,7 +190,7 @@ if ($_POST) { $gentry = array(); $gentry['ifname'] = "QinQ"; $gentry['members'] = "{$additions}"; - $gentry['descr'] = gettext("QinQ VLANs group"); + $gentry['descr'] = "QinQ VLANs group"; $config['ifgroups']['ifgroupentry'][] = $gentry; } } @@ -266,11 +266,11 @@ function removeRow(el) { } } - rowname[0] = ; + rowname[0] = "members"; rowtype[0] = "textbox"; rowsize[0] = "30"; - rowname[2] = ; + rowname[2] = "detail"; rowtype[2] = "textbox"; rowsize[2] = "50"; @@ -282,10 +282,10 @@ function removeRow(el) {
- + - + + Only QinQ capable interfaces will be shown. - + - + - + - +
Interface QinQ Edit
Parent interface
-
First level tag
- + This is the first level VLAN tag. On top of this are stacked the member VLANs defined below.
Options
@@ -330,30 +330,30 @@ function removeRow(el) {
> - + Adds interface to QinQ interface groups so you can write filter rules easily.
Description
- + You may enter a description here for your reference (not parsed).
Member (s)
- + You can specify ranges in the input below. The format is pretty simple i.e 9-100 or 10.20...
- + " class="formselect" id="members" value="">
Tag
- " /> +
- " /> +
  - " /> - " /> + + -- cgit v1.1