diff options
author | Phil Davis <phil.davis@inf.org> | 2017-02-01 16:43:51 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-02-01 16:43:51 +0545 |
commit | 702fa4d0ce035a444112e23f4e4d1a4c686d8163 (patch) | |
tree | 3efcf6b31fee91f60f1321fbeaa06ca98fc4ac7e /src/usr/local/www/vpn_openvpn_server.php | |
parent | 070379bbc0cf84d82f52a0adfe2bdc6014695f7e (diff) | |
download | pfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.zip pfsense-702fa4d0ce035a444112e23f4e4d1a4c686d8163.tar.gz |
Code with multiple %s in usr/local/www
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_server.php')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_server.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php index bbb0ee6..f767d66 100644 --- a/src/usr/local/www/vpn_openvpn_server.php +++ b/src/usr/local/www/vpn_openvpn_server.php @@ -829,7 +829,7 @@ if ($act=="new" || $act=="edit"): } } } else { - $certhelp = sprintf('%s%s%s$s', '<span id="certtype">', gettext('No Certificates defined. One may be created here: '), '<a href="system_camanager.php">' . gettext("System > Cert. Manager") . '</a>', '</span>'); + $certhelp = sprintf(gettext('No Certificates defined. One may be created here: %1$s%2$s%3$s'), '<span id="certtype">', '<a href="system_camanager.php">' . gettext("System > Cert. Manager") . '</a>', '</span>'); } $cl = openvpn_build_cert_list(false, true); @@ -1354,7 +1354,7 @@ else: <?=htmlspecialchars($server['tunnel_networkv6'])?> </td> <td> - <?=sprintf("Crypto: %s/%s", $server['crypto'], $server['digest']);?> + <?=sprintf('Crypto: %1$s/%2$s', $server['crypto'], $server['digest']);?> <?php if (is_numeric($server['dh_length'])): ?> <?=sprintf("<br/>D-H Params: %d bits", $server['dh_length']);?> <?php elseif ($server['dh_length'] == "none"): ?> @@ -1362,7 +1362,7 @@ else: <?php endif; ?> </td> <td> - <?=htmlspecialchars(sprintf('%s (%s)', $server['description'], $server['dev_mode']))?> + <?=htmlspecialchars(sprintf('%1$s (%2$s)', $server['description'], $server['dev_mode']))?> </td> <td> <a class="fa fa-pencil" title="<?=gettext('Edit server')?>" href="vpn_openvpn_server.php?act=edit&id=<?=$i?>"></a> |