summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_defaults.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-07-16 14:35:45 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-07-16 14:35:45 -0300
commitf8ec8de4f36c2403739acf90f32d7862e17fde6b (patch)
tree4631599235fb60f1ea3a77eb45c3968bb2692ec2 /usr/local/www/diag_defaults.php
parentb2bffb702414260f1e154f73d4c2b7c70816cc94 (diff)
downloadpfsense-f8ec8de4f36c2403739acf90f32d7862e17fde6b.zip
pfsense-f8ec8de4f36c2403739acf90f32d7862e17fde6b.tar.gz
Sync with mainline, diag_* files were missing
Diffstat (limited to 'usr/local/www/diag_defaults.php')
-rwxr-xr-xusr/local/www/diag_defaults.php29
1 files changed, 15 insertions, 14 deletions
diff --git a/usr/local/www/diag_defaults.php b/usr/local/www/diag_defaults.php
index c462abd..cde9d54 100755
--- a/usr/local/www/diag_defaults.php
+++ b/usr/local/www/diag_defaults.php
@@ -48,14 +48,14 @@ if ($_POST) {
if ($_POST['Submit'] != " No ") {
reset_factory_defaults();
system_reboot();
- $rebootmsg = "The system has been reset to factory defaults and is now rebooting. This may take one minute.";
+ $rebootmsg = gettext("The system has been reset to factory defaults and is now rebooting. This may take one minute.");
} else {
header("Location: index.php");
exit;
}
}
-$pgtitle = array("Diagnostics","Factory defaults");
+$pgtitle = array(gettext("Diagnostics"),gettext("Factory defaults"));
include("head.inc");
?>
@@ -64,21 +64,22 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<?php if ($rebootmsg): echo print_info_box($rebootmsg); else: ?>
<form action="diag_defaults.php" method="post">
- <p><strong>If you click &quot;Yes&quot;, the firewall will:
-
+ <p><strong> <?=gettext("If you click") . " &quot;" . gettext("Yes") . "&quot;, " . gettext("the firewall will")?>:
+
<ul>
- <li>Reset to factory defaults</li>
- <li>LAN IP address will be reset to 192.168.1.1</li>
- <li>System will be configured as a DHCP server on the default LAN interface</li>
- <li>Reboot after changes are installed</li>
- <li>WAN interface will be set to obtain an address automatically from a DHCP server</li>
- <li>webConfigurator admin username will be reset to 'admin'</li>
- <li>webConfigurator admin password will be reset to '<?=$g['product_name']?>'</li>
+ <li><?=gettext("Reset to factory defaults");?></li>
+ <li><?=gettext("LAN IP address will be reset to 192.168.1.1");?></li>
+ <li><?=gettext("System will be configured as a DHCP server on the default LAN interface");?></li>
+ <li><?=gettext("Reboot after changes are installed");?></li>
+ <li><?=gettext("WAN interface will be set to obtain an address automatically from a DHCP server");?></li>
+ <li><?=gettext("webConfigurator admin username will be reset to 'admin'");?></li>
+ <li><?=gettext("webConfigurator admin password will be reset to");?> '<?=$g['product_name']?>'</li>
+
</ul>
- Are you sure you want to proceed?</strong></p>
+ <?=gettext("Are you sure you want to proceed?");?></strong></p>
<p>
- <input name="Submit" type="submit" class="formbtn" value=" Yes ">
- <input name="Submit" type="submit" class="formbtn" value=" No ">
+ <input name="Submit" type="submit" class="formbtn" value=" <?=gettext("Yes");?> ">
+ <input name="Submit" type="submit" class="formbtn" value=" <?=gettext("No");?> ">
</p>
</form>
<?php endif; ?>
OpenPOWER on IntegriCloud