From 18464b74ffb56860e94f4e08410bb5e68ec8532f Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Tue, 27 Apr 2010 14:56:58 -0300 Subject: Implement gettext() --- usr/local/www/system_advanced_sysctl.php | 42 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'usr/local/www') diff --git a/usr/local/www/system_advanced_sysctl.php b/usr/local/www/system_advanced_sysctl.php index 0215d0e..c00871f 100644 --- a/usr/local/www/system_advanced_sysctl.php +++ b/usr/local/www/system_advanced_sysctl.php @@ -101,7 +101,7 @@ if ($_POST) { clear_subsystem_dirty('sysctl'); } - if ($_POST['Submit'] == "Save") { + if ($_POST['Submit'] == gettext("Save")) { $tunableent = array(); $tunableent['tunable'] = $_POST['tunable']; @@ -124,7 +124,7 @@ if ($_POST) { include("head.inc"); -$pgtitle = array("System","Advanced: Miscellaneous"); +$pgtitle = array(gettext("System"),gettext("Advanced: Miscellaneous")); include("head.inc"); ?> @@ -138,7 +138,7 @@ include("head.inc"); if ($savemsg) print_info_box($savemsg); if (is_subsystem_dirty('sysctl') && ($act != "edit" )) - print_info_box_np("The firewall tunables have changed. You must apply the configuration to take affect."); + print_info_box_np(gettext("The firewall tunables have changed. You must apply the configuration to take affect.")); ?> @@ -146,12 +146,12 @@ include("head.inc"); @@ -162,17 +162,17 @@ include("head.inc");
- NOTE:  + - The options on this page are intended for use by advanced users only. +

- - - + + + @@ -198,7 +198,7 @@ include("head.inc"); @@ -233,22 +233,22 @@ include("head.inc");
Tunable NameDescriptionValue
- + ')">
- + - + - + - + @@ -256,8 +256,8 @@ include("head.inc");
Edit system tunable
Tunable
Description
Value
  - - + " /> + " onclick="history.back()" /> -- cgit v1.1