From: moodler Date: Fri, 23 Feb 2007 06:47:19 +0000 (+0000) Subject: Merged some fixes for MDL-8285 from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=19a9bf1b8f7eb83b496d836639010c48025358a6;p=moodle.git Merged some fixes for MDL-8285 from stable --- diff --git a/enrol/database/config.html b/enrol/database/config.html index ca2726c49f..29cc2f603d 100644 --- a/enrol/database/config.html +++ b/enrol/database/config.html @@ -80,7 +80,7 @@ - + @@ -207,9 +207,5 @@ - - - - - + diff --git a/lang/en_utf8/enrol_database.php b/lang/en_utf8/enrol_database.php index e94ada57bf..f12e986fad 100644 --- a/lang/en_utf8/enrol_database.php +++ b/lang/en_utf8/enrol_database.php @@ -9,15 +9,28 @@ $string['course_fullname'] = 'The name of the field where the course fullname is $string['course_id'] = 'The name of the field where the course ID is stored. The values of this field are used to match those in the \"enrol_db_l_coursefield\" field in Moodle\'s course table.'; $string['course_shortname'] = 'The name of the field where the course shortname is stored.'; $string['course_table'] = 'Then name of the table where we expect to find the course details in (short name, fullname, ID, etc.)'; +$string['dbtype'] = 'Database type'; +$string['dbhost'] = 'Server IP name or number'; +$string['dbuser'] = 'Server user'; +$string['dbpass'] = 'Server password'; +$string['dbname'] = 'Database name'; +$string['dbtable'] = 'Database table'; +$string['defaultcourseroleid'] = 'The role that will be assigned by default if no other role is specified.'; $string['description'] = 'You can use a external database (of nearly any kind) to control your enrolments. It is assumed your external database contains a field containing a course ID, and a field containing a user ID. These are compared against fields that you choose in the local course and user tables.'; $string['enrolname'] = 'External Database'; +$string['enrol_database_autocreation_settings'] = 'Auto-creation of new courses'; $string['general_options'] = 'General Options'; $string['host'] = 'Database server hostname.'; -$string['local_coursefield'] = 'The name of the field in the course table that we are using to match entries in the remote database (eg idnumber).'; +$string['localcoursefield'] = 'The name of the field in the course table that we are using to match entries in the remote database (eg idnumber).'; +$string['localrolefield'] = 'The name of the field in the roles table that we are using to match entries in the remote database (eg shortname).'; +$string['localuserfield'] = 'The name of the field in the user table that we are using to match entries in the remote database (eg idnumber).'; $string['local_fields_mapping'] = 'Moodle (local) database fields'; $string['name'] = 'The specific database to use.'; $string['pass'] = 'Password to access the server.'; $string['remote_fields_mapping'] = 'Enrolment (remote) database fields.'; +$string['remotecoursefield'] = 'The name of the field in the remote table that we are using to match entries in the course table.'; +$string['remoterolefield'] = 'The name of the field in the remote table that we are using to match entries in the roles table.'; +$string['remoteuserfield'] = 'The name of the field in the remote table that we are using to match entries in the user table.'; $string['server_settings'] = 'External Database Server Settings'; $string['student_coursefield'] = 'The name of the field in the student enrolment table that we expect to find the course ID in.'; $string['student_l_userfield'] = 'The name of the field in the local user table that we use to match the user to a remote record for students (eg idnumber).'; diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index c6518dea25..8494a7e946 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -208,6 +208,7 @@ img.grouppicture { .informationbox { border-width:1px; border-style:solid; + padding: 10px; } .feedbackbox {