summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-05 07:05:59 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-05 07:05:59 -0200
commitf81011eadd042fb183132d56fa7b2f5ab9eb4193 (patch)
treec410f5f043e149faaddf25afd4ccad3346095671
parente39c963a090bb70bfd7524e78fb8577ff89d3878 (diff)
parentc656bc75f81c40b07c0a6ad3af427bb3566c62a8 (diff)
downloadpfsense-f81011eadd042fb183132d56fa7b2f5ab9eb4193.zip
pfsense-f81011eadd042fb183132d56fa7b2f5ab9eb4193.tar.gz
Merge pull request #1320 from phil-davis/patch-2
-rw-r--r--usr/local/www/interfaces_bridge.php4
-rw-r--r--usr/local/www/interfaces_gif.php4
-rw-r--r--usr/local/www/interfaces_gre.php4
-rw-r--r--usr/local/www/interfaces_lagg.php4
-rw-r--r--usr/local/www/interfaces_vlan.php4
5 files changed, 10 insertions, 10 deletions
diff --git a/usr/local/www/interfaces_bridge.php b/usr/local/www/interfaces_bridge.php
index b6a6db7..5f716b4 100644
--- a/usr/local/www/interfaces_bridge.php
+++ b/usr/local/www/interfaces_bridge.php
@@ -60,9 +60,9 @@ function bridge_inuse($num) {
if ($_GET['act'] == "del") {
if (!isset($_GET['id']))
- $input_errors[] = getext("Wrong parameters supplied");
+ $input_errors[] = gettext("Wrong parameters supplied");
else if (empty($a_bridges[$_GET['id']]))
- $input_errors[] = getext("Wrong index supplied");
+ $input_errors[] = gettext("Wrong index supplied");
/* check if still in use */
else if (bridge_inuse($_GET['id'])) {
$input_errors[] = gettext("This bridge cannot be deleted because it is assigned as an interface.");
diff --git a/usr/local/www/interfaces_gif.php b/usr/local/www/interfaces_gif.php
index 128b26e..b9664c1 100644
--- a/usr/local/www/interfaces_gif.php
+++ b/usr/local/www/interfaces_gif.php
@@ -60,9 +60,9 @@ function gif_inuse($num) {
if ($_GET['act'] == "del") {
if (!isset($_GET['id']))
- $input_errors[] = getext("Wrong parameters supplied");
+ $input_errors[] = gettext("Wrong parameters supplied");
else if (empty($a_gifs[$_GET['id']]))
- $input_errors[] = getext("Wrong index supplied");
+ $input_errors[] = gettext("Wrong index supplied");
/* check if still in use */
else if (gif_inuse($_GET['id'])) {
$input_errors[] = gettext("This gif TUNNEL cannot be deleted because it is still being used as an interface.");
diff --git a/usr/local/www/interfaces_gre.php b/usr/local/www/interfaces_gre.php
index 1a40992..53ac08a 100644
--- a/usr/local/www/interfaces_gre.php
+++ b/usr/local/www/interfaces_gre.php
@@ -61,9 +61,9 @@ function gre_inuse($num) {
if ($_GET['act'] == "del") {
if (!isset($_GET['id']))
- $input_errors[] = getext("Wrong parameters supplied");
+ $input_errors[] = gettext("Wrong parameters supplied");
else if (empty($a_gres[$_GET['id']]))
- $input_errors[] = getext("Wrong index supplied");
+ $input_errors[] = gettext("Wrong index supplied");
/* check if still in use */
else if (gre_inuse($_GET['id'])) {
$input_errors[] = gettext("This GRE tunnel cannot be deleted because it is still being used as an interface.");
diff --git a/usr/local/www/interfaces_lagg.php b/usr/local/www/interfaces_lagg.php
index 1a7bf00..ea95f18 100644
--- a/usr/local/www/interfaces_lagg.php
+++ b/usr/local/www/interfaces_lagg.php
@@ -66,9 +66,9 @@ function lagg_inuse($num) {
if ($_GET['act'] == "del") {
if (!isset($_GET['id']))
- $input_errors[] = getext("Wrong parameters supplied");
+ $input_errors[] = gettext("Wrong parameters supplied");
else if (empty($a_laggs[$_GET['id']]))
- $input_errors[] = getext("Wrong index supplied");
+ $input_errors[] = gettext("Wrong index supplied");
/* check if still in use */
else if (lagg_inuse($_GET['id'])) {
$input_errors[] = gettext("This LAGG interface cannot be deleted because it is still being used.");
diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php
index e8acce9..1c6c13f 100644
--- a/usr/local/www/interfaces_vlan.php
+++ b/usr/local/www/interfaces_vlan.php
@@ -61,9 +61,9 @@ function vlan_inuse($num) {
if ($_GET['act'] == "del") {
if (!isset($_GET['id']))
- $input_errors[] = getext("Wrong parameters supplied");
+ $input_errors[] = gettext("Wrong parameters supplied");
else if (empty($a_vlans[$_GET['id']]))
- $input_errors[] = getext("Wrong index supplied");
+ $input_errors[] = gettext("Wrong index supplied");
/* check if still in use */
else if (vlan_inuse($_GET['id'])) {
$input_errors[] = gettext("This VLAN cannot be deleted because it is still being used as an interface.");
OpenPOWER on IntegriCloud