diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-06-30 09:30:01 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-06-30 09:30:01 -0300 |
commit | 0b3abd3b5639676b27a78e651c6753c38e6c8bbe (patch) | |
tree | e727ffd9d36f8d868a5d080213fddcf79ef7f5b6 /usr/local/www/diag_defaults.php | |
parent | a5e9c28444e3dc6a3c1668719786c3a389ba652e (diff) | |
download | pfsense-0b3abd3b5639676b27a78e651c6753c38e6c8bbe.zip pfsense-0b3abd3b5639676b27a78e651c6753c38e6c8bbe.tar.gz |
Reset diag_ files
Diffstat (limited to 'usr/local/www/diag_defaults.php')
-rwxr-xr-x | usr/local/www/diag_defaults.php | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/usr/local/www/diag_defaults.php b/usr/local/www/diag_defaults.php index cde9d54..c462abd 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 = gettext("The system has been reset to factory defaults and is now rebooting. This may take one minute."); + $rebootmsg = "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(gettext("Diagnostics"),gettext("Factory defaults")); +$pgtitle = array("Diagnostics","Factory defaults"); include("head.inc"); ?> @@ -64,22 +64,21 @@ 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> <?=gettext("If you click") . " "" . gettext("Yes") . "", " . gettext("the firewall will")?>: - + <p><strong>If you click "Yes", the firewall will: + <ul> - <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> - + <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> </ul> - <?=gettext("Are you sure you want to proceed?");?></strong></p> + Are you sure you want to proceed?</strong></p> <p> - <input name="Submit" type="submit" class="formbtn" value=" <?=gettext("Yes");?> "> - <input name="Submit" type="submit" class="formbtn" value=" <?=gettext("No");?> "> + <input name="Submit" type="submit" class="formbtn" value=" Yes "> + <input name="Submit" type="submit" class="formbtn" value=" No "> </p> </form> <?php endif; ?> |