\n";
diff --git a/lang/en/admin.php b/lang/en/admin.php
index 714316d4ee5..81418df9caa 100755
--- a/lang/en/admin.php
+++ b/lang/en/admin.php
@@ -1,4 +1,4 @@
-external database fields that you specify here. If you leave these blank, then defaults will be used.
In either case, the user will be able to edit all of these fields after they log in.';
+$string['auth_dbextrafields'] = 'These fields are optional. You can choose to pre-fill some Moodle user fields with information from the external database fields that you specify here.
If you leave these blank, then defaults will be used.
In either case, the user will be able to edit all of these fields after they log in.';
$string['auth_dbfieldpass'] = 'Name of the field containing passwords';
$string['auth_dbfielduser'] = 'Name of the field containing usernames';
$string['auth_dbhost'] = 'The computer hosting the database server.';
@@ -40,12 +40,16 @@ $string['auth_ldap_update_userinfo'] = 'Update user information (firstname, last
$string['auth_ldap_user_attribute'] = 'The attribute used to name/search users. Usually \'cn\'.';
$string['auth_ldap_objectclass'] = 'The filter used to name/search users. Usually you will set it to something like objectClass=posixAccount . Defaults to objectClass=* what will return all objects from LDAP.';
$string['auth_ldap_version'] = 'The version of the LDAP protocol your server is using.';
-$string['auth_ldapdescription'] = 'This method provides authentication against an external LDAP server.
- If the given username and password are valid, Moodle creates a new user
- entry in its database. This module can read user attributes from LDAP and prefill
- wanted fields in Moodle. For following logins only the username and
+$string['auth_ldapdescription'] = 'This method provides authentication against an external LDAP server.
+
+ If the given username and password are valid, Moodle creates a new user
+
+ entry in its database. This module can read user attributes from LDAP and prefill
+
+ wanted fields in Moodle. For following logins only the username and
+
password are checked.';
-$string['auth_ldapextrafields'] = 'These fields are optional. You can choose to pre-fill some Moodle user fields with information from the LDAP fields that you specify here.
If you leave these fields blank, then nothing will be transferred from LDAP and Moodle defaults will be used instead.
In either case, the user will be able to edit all of these fields after they log in.';
+$string['auth_ldapextrafields'] = 'These fields are optional. You can choose to pre-fill some Moodle user fields with information from the LDAP fields that you specify here.
If you leave these fields blank, then nothing will be transferred from LDAP and Moodle defaults will be used instead.
In either case, the user will be able to edit all of these fields after they log in.';
$string['auth_ldaptitle'] = 'Use an LDAP server';
$string['auth_manualdescription'] = 'This method removes any way for users to create their own accounts. All accounts must be manually created by the admin user.';
$string['auth_manualtitle'] = 'Manual accounts only';
diff --git a/lang/en/block_course_list.php b/lang/en/block_course_list.php
index 570f6794c2a..2be986b4e00 100644
--- a/lang/en/block_course_list.php
+++ b/lang/en/block_course_list.php
@@ -1,4 +1,4 @@
-
diff --git a/lang/en/chat.php b/lang/en/chat.php
index 47b6dd70744..d82b00d3798 100644
--- a/lang/en/chat.php
+++ b/lang/en/chat.php
@@ -1,4 +1,4 @@
-userfrom has posted a new entry in your
-dialogue entry for \'$a->dialogue\'
-
-You can see it appended to your dialogue entry:
-
+$string['dialoguemail'] = '$a->userfrom has posted a new entry in your
+
+dialogue entry for \'$a->dialogue\'
+
+
+
+You can see it appended to your dialogue entry:
+
+
+
$a->url';
-$string['dialoguemailhtml'] = '$a->userfrom has posted a new entry in your
-dialogue entry for \'$a->dialogue\'
+$string['dialoguemailhtml'] = '$a->userfrom has posted a new entry in your
+
+dialogue entry for \'$a->dialogue\'
+
You can see it appended to your url\">dialogue.';
$string['dialoguename'] = 'Dialogue name';
$string['dialogueopened'] = 'Dialogue opened with $a';
diff --git a/lang/en/docs/background.html b/lang/en/docs/background.html
index da03dd07b60..1e094bbddc5 100644
--- a/lang/en/docs/background.html
+++ b/lang/en/docs/background.html
@@ -15,7 +15,7 @@
Dougiamas who continues to lead the project:
I've been working on it, in some way or other, for several years. It
- started in the 90's when I was webmaster at Curtin
+ started in the 90's when I was webmaster at Curtin
University of Technology and a system administrator of their WebCT installation.
I encountered many frustrations with the WebCT beast and developed an itch
that needed scratching - there had to be a better way (no, not Blackboard
diff --git a/lang/en/docs/coding.html b/lang/en/docs/coding.html
index a64537b73ab..cdd53a4a5ce 100755
--- a/lang/en/docs/coding.html
+++ b/lang/en/docs/coding.html
@@ -74,13 +74,13 @@
meaningful lowercase English words. If you really need more than one word
then run them together, but keep them short as possible. Use
plural names for arrays of objects.
- GOOD: $quiz
- GOOD: $errorstring
-GOOD: $assignments (for an array of objects)
- GOOD: $i (but only in little loops)
+ GOOD: $quiz
+ GOOD: $errorstring
+GOOD: $assignments (for an array of objects)
+ GOOD: $i (but only in little loops)
- BAD: $Quiz
- BAD: $aReallyLongVariableNameWithoutAGoodReason
+ BAD: $Quiz
+ BAD: $aReallyLongVariableNameWithoutAGoodReason
BAD: $error_string
Constants should always be in upper case,
@@ -93,7 +93,7 @@ GOOD: $assignments (for an array of objects)
lowercase words, and start with the name of the module to avoid conflicts between modules.
Words should be separated by underscores. Parameters should always have sensible
defaults if possible. Note there is no space between the function name and
- the following (brackets).
+ the following (brackets).
function forum_set_display_mode($mode=0)
{
global $USER,
@@ -123,11 +123,11 @@ GOOD: $assignments (for an array of objects)
}
Strings should be defined using single quotes
- where possible, for increased speed.
+ where possible, for increased speed.
$var = 'some text without any
- variables';
- $var = "with special characters like a new line \n";
- $var = 'a very, very long string with a '.$single.' variable in it';
+ variables';
+ $var = "with special characters like a new line \n";
+ $var = 'a very, very long string with a '.$single.' variable in it';
$var = "some $text with $many variables $within it";
Comments should use two or three slashes
@@ -148,37 +148,37 @@ GOOD: $assignments (for an array of objects)
if ($rates
= get_records("forum_ratings",
"post", $postid))
- {
+ {
//
Process each rating in turn
foreach
($rates as $rate)
- {
+ {
....etc
Space should be used liberally - don't be
afraid to spread things out a little to gain some clarity. Generally, there
should be one space between brackets and normal statements, but no space between
- brackets and variables or functions:
+ brackets and variables or functions:
foreach ($objects
as $key =>
- $thing) {
+ $thing) {
process($thing);
-
- }
-
+
+ }
+
if ($x ==
$y)
- {
+ {
$a
- = $b;
+ = $b;
} else if ($x ==
- $z) {
+ $z) {
$a
- = $c;
- } else {
+ = $c;
+ } else {
$a
- = $d;
+ = $d;
}
@@ -199,7 +199,7 @@ GOOD: $assignments (for an array of objects)
Boolean fields should be implemented as small integer fields (eg INT4) containing 0 or 1, to allow for later expansion of values if necessary.
Most tables should have a timemodified field (INT10) which is updated with a current timestamp obtained with the PHP time() function.
-
+
Moodle Documentation
Version: $Id$