Project

General

Profile

« Previous | Next » 

Revision d07b96a5

Added by Jim Pingle almost 14 years ago

Sync note for "server address" between PPTP/PPPoE/L2TP for consistency.

View differences:

usr/local/www/vpn_pppoe_edit.php
138 138
		for($x=0; $x<4999; $x++) {
139 139
			if ($_POST["username{$x}"]) {
140 140
				if (empty($_POST["password{$x}"]))
141
					$input_errors[] = gettext("No password specified for username ") . $_POST["username{$x}"];
141
					$input_errors[] = sprintf(gettext("No password specified for username %s"),$_POST["username{$x}"]);
142 142
				if ($_POST["ip{$x}"] <> "" && !is_ipaddr($_POST["ip{$x}"]))
143
					$input_errors[] = gettext("Incorrect ip address  specified for username ") . $_POST["username{$x}"];
143
					$input_errors[] = sprintf(gettext("Incorrect ip address  specified for username %s"),$_POST["username{$x}"]);
144 144
			}
145 145
		}
146 146
	}
......
424 424
                  <td width="22%" valign="top" class="vncellreq"><?=gettext("Server address"); ?></td>
425 425
                  <td width="78%" class="vtable"> 
426 426
                    <?=$mandfldhtml;?><input name="localip" type="text" class="formfld unknown" id="localip" size="20" value="<?=htmlspecialchars($pconfig['localip']);?>"> 
427
                    <br>
428
                    <?=gettext("Enter the IP address the PPPoE server should use on its side " .
429
                    "for all clients"); ?>.</td>
427
			<br/>
428
			<?=gettext("Enter the IP address the PPPoE server should give to clients for use as their \"gateway\""); ?>.
429
			<br/>
430
			<?=gettext("Typically this is set to an unused IP just outside of the client range"); ?>.
431
			<br/>
432
			<br/>
433
			<?=gettext("NOTE: This should NOT be set to any IP address currently in use on this firewall"); ?>.</td>
430 434
                </tr>
431 435
                <tr> 
432 436
                  <td width="22%" valign="top" class="vncellreq"><?=gettext("Remote address range"); ?></td>

Also available in: Unified diff