summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.php
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2011-07-18 14:33:20 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2011-07-18 14:33:20 -0300
commitd1d0a1ad1b11a9c361f5907f660308f4abf761b2 (patch)
tree5e38e6fdcabde57546dc43ab540e37c5347f05d0 /usr/local/www/system.php
parentaa840cf9f1bd54b565c33abd1512570034109b5c (diff)
downloadpfsense-d1d0a1ad1b11a9c361f5907f660308f4abf761b2.zip
pfsense-d1d0a1ad1b11a9c361f5907f660308f4abf761b2.tar.gz
makes correct use of printf and gettext
removes variables names and replace it with '%s'
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-xusr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index caf8e78..6be9f99 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -135,7 +135,7 @@ if ($_POST) {
if(interface_has_gateway($_POST[$dnsgwitem])) {
foreach($direct_networks_list as $direct_network) {
if(ip_in_subnet($_POST[$dnsitem], $direct_network)) {
- $input_errors[] = gettext("You can not assign a gateway to DNS '{$_POST[$dnsitem]}' server which is on a directly connected network.");
+ $input_errors[] = sprintf(gettext("You can not assign a gateway to DNS '%s' server which is on a directly connected network."),$_POST[$dnsitem]);
}
}
}
OpenPOWER on IntegriCloud