From d07b96a5f041631f1aad7d1992d465f002fd626b Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 30 Aug 2011 13:19:44 -0400 Subject: Sync note for "server address" between PPTP/PPPoE/L2TP for consistency. --- usr/local/www/vpn_pppoe_edit.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'usr/local/www/vpn_pppoe_edit.php') diff --git a/usr/local/www/vpn_pppoe_edit.php b/usr/local/www/vpn_pppoe_edit.php index 92d617f..73ed4eb 100755 --- a/usr/local/www/vpn_pppoe_edit.php +++ b/usr/local/www/vpn_pppoe_edit.php @@ -138,9 +138,9 @@ if ($_POST) { for($x=0; $x<4999; $x++) { if ($_POST["username{$x}"]) { if (empty($_POST["password{$x}"])) - $input_errors[] = gettext("No password specified for username ") . $_POST["username{$x}"]; + $input_errors[] = sprintf(gettext("No password specified for username %s"),$_POST["username{$x}"]); if ($_POST["ip{$x}"] <> "" && !is_ipaddr($_POST["ip{$x}"])) - $input_errors[] = gettext("Incorrect ip address specified for username ") . $_POST["username{$x}"]; + $input_errors[] = sprintf(gettext("Incorrect ip address specified for username %s"),$_POST["username{$x}"]); } } } @@ -424,9 +424,13 @@ function enable_change(enable_over) { -
- . +
+ . +
+ . +
+
+ . -- cgit v1.1