diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-04-28 11:02:39 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-04-28 11:02:39 -0300 |
commit | e2f0ac59490b8eb907416588d4d058e03f674fdc (patch) | |
tree | e07f8eefbfc76b9941a16f8e48ae8d83750cdb31 /usr | |
parent | b79454a71b0a93e943efbce46baa2a43d15f7628 (diff) | |
download | pfsense-e2f0ac59490b8eb907416588d4d058e03f674fdc.zip pfsense-e2f0ac59490b8eb907416588d4d058e03f674fdc.tar.gz |
Implementing gettext()
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_usermanager_settings.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php index 8fa652c..1298852 100755 --- a/usr/local/www/system_usermanager_settings.php +++ b/usr/local/www/system_usermanager_settings.php @@ -51,7 +51,7 @@ $pconfig['authmode'] = &$config['system']['webgui']['authmode']; $pconfig['backend'] = &$config['system']['webgui']['backend']; // Page title for main admin -$pgtitle = array("System","User manager settings"); +$pgtitle = array(gettext("System"),gettext("User manager settings")); if ($_POST) { unset($input_errors); @@ -93,7 +93,7 @@ include("head.inc"); echo "<script language='javascript'>\n"; echo "myRef = window.open('system_usermanager_settings_test.php?authserver={$pconfig['authmode']}','mywin', "; echo "'left=20,top=20,width=700,height=550,toolbar=1,resizable=0');\n"; - echo "if (myRef==null || typeof(myRef)=='undefined') aleart('Popup blocker detected. Action aborted.');\n"; + echo "if (myRef==null || typeof(myRef)=='undefined') alert('" . gettext("Popup blocker detected. Action aborted.") ."');\n"; echo "</script>\n"; } ?> @@ -121,7 +121,7 @@ if(!$pconfig['backend']) <form id="iform" name="iform" action="system_usermanager_settings.php" method="post"> <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6"> <tr> - <td width="22%" valign="top" class="vncell">Session Timeout</td> + <td width="22%" valign="top" class="vncell"><?=gettext("Session Timeout"); ?></td> <td width="78%" class="vtable"> <input name="session_timeout" id="session_timeout" type="text" size="8" value="<?=htmlspecialchars($pconfig['session_timeout']);?>" /> <br /> @@ -129,7 +129,7 @@ if(!$pconfig['backend']) </td> </tr> <tr> - <td width="22%" valign="top" class="vncell">Authentication Server</td> + <td width="22%" valign="top" class="vncell"><?=gettext("Authentication Server"); ?></td> <td width="78%" class="vtable"> <select name='authmode' id='authmode' class="formselect" > <?php |