]> git.mjollnir.org Git - moodle.git/commitdiff
Auth: Replace hardcoded strings: MDL-8069
authordonal72 <donal72>
Wed, 10 Jan 2007 21:43:04 +0000 (21:43 +0000)
committerdonal72 <donal72>
Wed, 10 Jan 2007 21:43:04 +0000 (21:43 +0000)
auth/mnet/config.html
lang/en_utf8/auth.php

index b6f55a1b2514da25c662783ac6210ab93adf0cfc..432cc6aae115cf6823220c15f41fb661e7b576bc 100644 (file)
@@ -14,7 +14,7 @@ $yesno = array(get_string('no'), get_string('yes'));
 <table cellspacing="0" cellpadding="5" border="0" align="center">
 
 <tr valign="top" class="required">
-    <td align="right"> rpc_negotiation_timeout: </td>
+    <td align="right"><?php print_string('rpc_negotiation_timeout', 'auth'); ?>: </td>
     <td>
         <input name="rpc_negotiation_timeout" type="text" size="5" value="<?php echo $config->rpc_negotiation_timeout ?>" />
         <?php
@@ -35,7 +35,7 @@ $yesno = array(get_string('no'), get_string('yes'));
 </tr>
 
 <tr valign="top" class="required">
-    <td align="right"> auto_add_remote_users: </td>
+    <td align="right"><?php print_string('auto_add_remote_users', 'auth'); ?>: </td>
     <td>
         <?php
 
index b89f3204c47913a2c8a6c8d39353e159a7ad724c..457a434e20c54975711b17517f32f8b6d36ef68b 100644 (file)
@@ -120,6 +120,8 @@ $string['auth_mnettitle'] = 'Moodle Network authentication';
 $string['auth_mnetdescription'] = 'Users are authenticated according to the web of trust defined in your Moodle Network settings.';
 $string['auth_mnet_rpc_negotiation_timeout'] = 'The timeout in seconds for authentication over the XMLRPC transport.';
 $string['auth_mnet_auto_add_remote_users'] = 'When set to Yes, a local user record is auto-created when a remote user logs in for the first time.';
+$string['auto_add_remote_users'] = 'Auto add remote users';
+$string['rpc_negotiation_timeout'] = 'RPC negotiation timeout';
 
 $string['auth_multiplehosts'] = 'Multiple hosts OR addresses can be specified (eg host1.com;host2.com;host3.com) or (eg xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx)';