]> git.mjollnir.org Git - moodle.git/log
moodle.git
19 years agoRemoved javascript for resetting templates. We reload the page to reset
vyshane [Wed, 19 Apr 2006 02:54:07 +0000 (02:54 +0000)]
Removed javascript for resetting templates. We reload the page to reset
templates.

19 years agoCorrecting code to remove warning originating from earlier commit
mjollnir_ [Wed, 19 Apr 2006 02:31:32 +0000 (02:31 +0000)]
Correcting code to remove warning originating from earlier commit
Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/chat: Normal method - introducing "Stream" updates.
martinlanghoff [Wed, 19 Apr 2006 02:20:48 +0000 (02:20 +0000)]
mod/chat: Normal method - introducing "Stream" updates.

This is an alternative version of jsupdate.php that acts
as a long-running daemon. It will feed/stall/feed JS updates
to the client. From the module configuration select "Stream"
updates.

The client connection is not forever though. Once we reach
CHAT_MAX_CLIENT_UPDATES (currently 1000), it will force
the client to re-fetch it.

This buys us all the benefits that chatd has, minus the setup,
as we are using apache to do the daemon handling.

Chat still defaults to the normal update method, which is now
optimised to take advantage of keepalives -- so this change is
safe. The instructions in the config page also indicate that this
mode may not be well supported everywhere. It hasn't been
tested on IIS for starters.

In terms of relative cost -- if each hit on jsupdate.php incurs
on ~20 db queries and delivers one update to the client, each hit
on jsupdate takes ~20 queries, and then roughly 2~3 queries to
serve each of the next 1000 updates. On busy sites, the difference
is huge.

There is still room for enhancements in both keepalive and stream
update methods. I am pretty sure we can trim DB queries more.

19 years agoFixed small typo in help file, bug 5243
gustav_delius [Tue, 18 Apr 2006 23:15:11 +0000 (23:15 +0000)]
Fixed small typo in help file, bug 5243

19 years agoChange of words suggested in bug 5245
gustav_delius [Tue, 18 Apr 2006 23:00:04 +0000 (23:00 +0000)]
Change of words suggested in bug 5245

19 years agoFixed small typo in help file.
gustav_delius [Tue, 18 Apr 2006 22:58:00 +0000 (22:58 +0000)]
Fixed small typo in help file.

19 years agoAvoiding warning in last commit:
mjollnir_ [Tue, 18 Apr 2006 22:57:28 +0000 (22:57 +0000)]
Avoiding warning in last commit:
mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/index changes to only display quiz grades when teacher allows
mjollnir_ [Tue, 18 Apr 2006 22:55:28 +0000 (22:55 +0000)]
mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/locallib bugfix get_qn_options now uses more sensible defaults.
mjollnir_ [Tue, 18 Apr 2006 22:54:51 +0000 (22:54 +0000)]
mod/quiz/locallib bugfix get_qn_options now uses more sensible defaults.
Previously get_question_options used options for
after-attempt-while-quiz-open, when called while a attempt was still in
progress.  Changed it to use options for immediately-after-attempt instead.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/view changes to only display attempt grades when teacher allows.
mjollnir_ [Tue, 18 Apr 2006 22:54:10 +0000 (22:54 +0000)]
mod/quiz/view changes to only display attempt grades when teacher allows.
Changed view.php to only display grades when the teacher has not set
options forbidding it.  Further, where there is some attempts that are
allowed to be displayed, and others not, highligting of the highest score,
and printing of the overall grade allocation has been disabled to ensure
the hidden grade is not revealed.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agoMake sure category from correct course is shown.
gustav_delius [Tue, 18 Apr 2006 22:53:38 +0000 (22:53 +0000)]
Make sure category from correct course is shown.

19 years agomod/quiz/review only display grade summary if student allowed to see scores
mjollnir_ [Tue, 18 Apr 2006 22:50:04 +0000 (22:50 +0000)]
mod/quiz/review only display grade summary if student allowed to see scores
Change to review.php so that the student will only see the grade summary
if they are allowed to view their scores - as determined by quiz options
set by the teacher.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/quiz/review quiz options loaded once per pageload, not once per qn.
mjollnir_ [Tue, 18 Apr 2006 22:47:56 +0000 (22:47 +0000)]
mod/quiz/review quiz options loaded once per pageload, not once per qn.
Moved loading of quiz review options from loop iterating over each qn to be
displayed, to the top of the pageload.  Should give efficency gains
on quizes with long pages, as well as making the options available
earlier in the process.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz

19 years agomod/chat - cope with missing $USER->lastIP
martinlanghoff [Tue, 18 Apr 2006 22:40:56 +0000 (22:40 +0000)]
mod/chat - cope with missing $USER->lastIP

$USER->lastIP is sometimes not set properly during login, fetch it if we can
or error out clearly -- we won't be able to login the user to the chat if
we don't have an IP address to match him/her against.

19 years agoDon't forget the prefix_ for table names
gustav_delius [Tue, 18 Apr 2006 21:49:14 +0000 (21:49 +0000)]
Don't forget the prefix_ for table names

19 years agoadmin/cron.php - fix typo
martinlanghoff [Tue, 18 Apr 2006 21:22:04 +0000 (21:22 +0000)]
admin/cron.php - fix typo

Nothing like being pedantic on a tuesday afternoon...

19 years agoIMS CP styling
urs_hunkler [Tue, 18 Apr 2006 19:59:04 +0000 (19:59 +0000)]
IMS CP styling

19 years agoUpdated IMS CP help file (bug 4628)
wildgirl [Tue, 18 Apr 2006 18:17:36 +0000 (18:17 +0000)]
Updated IMS CP help file (bug 4628)

19 years agoUpdated IMS CP help file (bug 4628) and added repository help file
wildgirl [Tue, 18 Apr 2006 18:15:32 +0000 (18:15 +0000)]
Updated IMS CP help file (bug 4628) and added repository help file

19 years agoAdded IMS CP strings
wildgirl [Tue, 18 Apr 2006 18:09:11 +0000 (18:09 +0000)]
Added IMS CP strings

19 years agoresource.class.php changes:
wildgirl [Tue, 18 Apr 2006 18:04:30 +0000 (18:04 +0000)]
resource.class.php changes:
1. Added logic to process repository paths. A repository path is marked with a # as the first character of the reference field.
2. Added a new error code for repository items not being deployed / bad reference.

ims.html change:
Added a button to link to the repository browser.

New files:
finder.php \96 browser for the repository
preview.php \96 cut down display routine from resource.class.php, forces sidemenu etc.
repository_deploy.php \96 deploy for repository items (same results as deploy.php)
repository_config.php (repository disabled by default)
resize.js - for iframe resizing
dummyapi.js - dummy SCORM API

(Tom's work, with help from Andy)

19 years agoParamater cleaning for category name too restrictive for non-ascii
thepurpleblob [Tue, 18 Apr 2006 14:20:02 +0000 (14:20 +0000)]
Paramater cleaning for category name too restrictive for non-ascii
language encodings. Bug #5224

19 years agocorrected handling of tables within JCloze text (a lot of vertical space was being...
gbateson [Tue, 18 Apr 2006 12:20:18 +0000 (12:20 +0000)]
corrected handling of tables within JCloze text (a lot of vertical space was being added)

19 years agoClean up code (Bugs 5027, 5161), 'weekscss' course format.
nfreear [Tue, 18 Apr 2006 11:02:21 +0000 (11:02 +0000)]
Clean up code (Bugs 5027, 5161), 'weekscss' course format.

19 years agoFix, Bug 5161 "Course format weekscss looks unfinished". Added ommitted 'hidden'...
nfreear [Tue, 18 Apr 2006 11:00:25 +0000 (11:00 +0000)]
Fix, Bug 5161 "Course format weekscss looks unfinished". Added ommitted 'hidden' style, background-color.

19 years agoFixed bug #5230 and the hardcoded admin folder
moodler [Tue, 18 Apr 2006 09:46:35 +0000 (09:46 +0000)]
Fixed bug #5230 and the hardcoded admin folder

19 years agoFIx for slashes problem in bug 5222 (and some others)
moodler [Tue, 18 Apr 2006 09:16:22 +0000 (09:16 +0000)]
FIx for slashes problem in bug 5222 (and some others)

19 years agotypo
toyomoyo [Tue, 18 Apr 2006 09:08:53 +0000 (09:08 +0000)]
typo

19 years agofix for 5204
toyomoyo [Tue, 18 Apr 2006 09:05:07 +0000 (09:05 +0000)]
fix for 5204

19 years agoA little HTML hint since styles are not working here for me somehow
moodler [Tue, 18 Apr 2006 07:28:44 +0000 (07:28 +0000)]
A little HTML hint since styles are not working here for me somehow

19 years agoBetter style for picture next to chat text
moodler [Tue, 18 Apr 2006 07:27:11 +0000 (07:27 +0000)]
Better style for picture next to chat text

19 years agofix for 5207
toyomoyo [Tue, 18 Apr 2006 07:22:18 +0000 (07:22 +0000)]
fix for 5207

19 years agoMore efficient chat listings (less database calling)
moodler [Tue, 18 Apr 2006 07:14:21 +0000 (07:14 +0000)]
More efficient chat listings (less database calling)

19 years agofix for 5210
toyomoyo [Tue, 18 Apr 2006 07:12:39 +0000 (07:12 +0000)]
fix for 5210

19 years agofix for 5209
toyomoyo [Tue, 18 Apr 2006 06:43:29 +0000 (06:43 +0000)]
fix for 5209

19 years agoblock unicode migration bugs
toyomoyo [Tue, 18 Apr 2006 06:17:30 +0000 (06:17 +0000)]
block unicode migration bugs

19 years ago"Reset template" button now only resets the template textarea with the default
vyshane [Tue, 18 Apr 2006 06:11:38 +0000 (06:11 +0000)]
"Reset template" button now only resets the template textarea with the default
template. User needs to hit "Save template" to save the changes.

19 years agoadded a comment
toyomoyo [Tue, 18 Apr 2006 03:45:23 +0000 (03:45 +0000)]
added a comment

19 years agothe table_column function ate my auto_increments
toyomoyo [Tue, 18 Apr 2006 03:30:57 +0000 (03:30 +0000)]
the table_column function ate my auto_increments

19 years agoPutting back in the fix for authorize enrol plugin not originally having correct...
mjollnir_ [Tue, 18 Apr 2006 02:50:46 +0000 (02:50 +0000)]
Putting back in the fix for authorize enrol plugin not originally having correct pg version number and table sync with mysql tables and version number

19 years agobug #5234, so I took out has_config, this block has no config globals right?
toyomoyo [Tue, 18 Apr 2006 02:37:44 +0000 (02:37 +0000)]
bug #5234, so I took out has_config, this block has no config globals right?

19 years agovarious small changes
toyomoyo [Tue, 18 Apr 2006 01:59:13 +0000 (01:59 +0000)]
various small changes

19 years agoblog access rights fix, forgot to check in last week
toyomoyo [Tue, 18 Apr 2006 01:30:00 +0000 (01:30 +0000)]
blog access rights fix, forgot to check in last week

19 years agofixed bug #5225, fix provided by hachiman
skodak [Mon, 17 Apr 2006 21:26:05 +0000 (21:26 +0000)]
fixed bug #5225, fix provided by hachiman

19 years agosome bugfixing and proper conversion to new xxx_param() functions - SC#148
skodak [Mon, 17 Apr 2006 21:14:50 +0000 (21:14 +0000)]
some bugfixing and proper conversion to new xxx_param() functions - SC#148

19 years agomod/chat: Normal method -- collate 2 SELECTs into one
martinlanghoff [Mon, 17 Apr 2006 21:06:28 +0000 (21:06 +0000)]
mod/chat: Normal method -- collate 2 SELECTs into one

We really don't need to ask about the user table _twice_ here. Just ask for the
right fields, and done.

19 years agomod/chat: Normal method -- faster, lighter DB updates
martinlanghoff [Mon, 17 Apr 2006 21:05:51 +0000 (21:05 +0000)]
mod/chat: Normal method -- faster, lighter DB updates

Use set_field() keyed on PK instead of update_record() or set_field()
keyed on non-PKs.

19 years agomod/chat - Normal method - users pane only uses keepalive when refreshing fast
martinlanghoff [Mon, 17 Apr 2006 21:05:17 +0000 (21:05 +0000)]
mod/chat - Normal method - users pane only uses keepalive when refreshing fast

To avoid wasting server resources, user's pane now only uses keepalive
when the refresh is lower than apache's timeout.

19 years agomod/chat - Normal method now supports HTTP Keep-Alive - users pane
martinlanghoff [Mon, 17 Apr 2006 21:04:47 +0000 (21:04 +0000)]
mod/chat - Normal method now supports HTTP Keep-Alive - users pane

User's pane now also uses keepalives -- if the refresh freq is below
the disconnect timeout, then it is a win. Otherwise it wastes memory
at the server end.

19 years agomod/chat - Normal method now support HTTP Keep-Alive
martinlanghoff [Mon, 17 Apr 2006 21:04:19 +0000 (21:04 +0000)]
mod/chat - Normal method now support HTTP Keep-Alive

By using output buffering, we now support HTTP Keep-Alive, which means
that each client gets tightly bound to a single apache child - this means
that we get

 + lower resource usage on the webserver
 + _much_ lower resource usage on webserver and dbserver if pconnects are used
 + a good case for further caching (memcache/mmcache)

Using ab via localhost or fast LAN using keepalives is actually slower from the
client perspective -- still lighter on the server. Via slower links (DSL/modem)
the responses are faster.

19 years agomod/chat: make http-chat more database friendly and change msg insertion to use POST
martinlanghoff [Mon, 17 Apr 2006 21:03:44 +0000 (21:03 +0000)]
mod/chat: make http-chat more database friendly and change msg insertion to use POST

+ we are now more conservative in the fields it asks from the db
+ also more conservative with upates to chat_users
+ messages are now added via POST requests instead of GET

19 years agofixed double header warning in redirect()
skodak [Mon, 17 Apr 2006 20:40:33 +0000 (20:40 +0000)]
fixed double header warning in redirect()

19 years agoMoved all question deletion code to showbank.php. Fixed bug 5186
gustav_delius [Mon, 17 Apr 2006 05:31:21 +0000 (05:31 +0000)]
Moved all question deletion code to showbank.php. Fixed bug 5186

19 years agoTidied up the upgrade dialog
moodler [Sun, 16 Apr 2006 16:56:09 +0000 (16:56 +0000)]
Tidied up the upgrade dialog

19 years agoFixed the upgrade_plugins function so that it automatically
moodler [Sun, 16 Apr 2006 16:50:55 +0000 (16:50 +0000)]
Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)

19 years agoDon't show tabs when creating admin user
moodler [Sun, 16 Apr 2006 16:49:28 +0000 (16:49 +0000)]
Don't show tabs when creating admin user

19 years agoMoodle Docs link on home page could be a bit confusing
moodler [Sun, 16 Apr 2006 16:21:50 +0000 (16:21 +0000)]
Moodle Docs link on home page could be a bit confusing

19 years agoNo agreement to license sends you to docs.moodle.org
moodler [Sun, 16 Apr 2006 16:09:12 +0000 (16:09 +0000)]
No agreement to license sends you to docs.moodle.org

19 years agoFix for chat character sets bug 5010
moodler [Sun, 16 Apr 2006 16:01:40 +0000 (16:01 +0000)]
Fix for chat character sets   bug 5010

19 years agoThe install script should always be Unicode.
moodler [Sun, 16 Apr 2006 15:58:24 +0000 (15:58 +0000)]
The install script should always be Unicode.

19 years agoRemoved blank line
moodler [Sun, 16 Apr 2006 15:56:36 +0000 (15:56 +0000)]
Removed blank line

19 years agoimproved readability of reg. exp. in adjust_media_urls function
gbateson [Sun, 16 Apr 2006 02:10:14 +0000 (02:10 +0000)]
improved readability of reg. exp. in adjust_media_urls function

19 years agoTwo more uses of format_string() agains entry->concept
stronk7 [Sat, 15 Apr 2006 19:28:26 +0000 (19:28 +0000)]
Two more uses of format_string() agains entry->concept

19 years agoFilter one more string if filterall is enabled.
stronk7 [Sat, 15 Apr 2006 19:24:44 +0000 (19:24 +0000)]
Filter one more string if filterall is enabled.

19 years agoAdded one missing string
stronk7 [Sat, 15 Apr 2006 19:21:36 +0000 (19:21 +0000)]
Added one missing string

19 years agostrstr(string haystack,string needle). We were doing the opossite. Bug 5037.
stronk7 [Sat, 15 Apr 2006 17:30:23 +0000 (17:30 +0000)]
strstr(string haystack,string needle). We were doing the opossite. Bug 5037.
(http://moodle.org/bugs/bug.php?op=show&bugid=5037)

19 years agofix "Force Plugins" behavior to correctly detect media players in JavaScript
gbateson [Sat, 15 Apr 2006 08:17:30 +0000 (08:17 +0000)]
fix "Force Plugins" behavior to correctly detect media players in JavaScript

19 years agoDOn't show intro on first page of single view
moodler [Sat, 15 Apr 2006 06:02:21 +0000 (06:02 +0000)]
DOn't show intro on first page of single view

19 years agoFIxes for bug 5197
moodler [Sat, 15 Apr 2006 02:41:27 +0000 (02:41 +0000)]
FIxes for bug 5197

19 years agoremoved outdated xxx_param() functions
skodak [Fri, 14 Apr 2006 15:57:59 +0000 (15:57 +0000)]
removed outdated xxx_param() functions

19 years agoDuring installation, if the database isn't UTF and it is empty,
moodler [Fri, 14 Apr 2006 11:57:11 +0000 (11:57 +0000)]
During installation, if the database isn't UTF and it is empty,
then try and set it to UTF automatically.

I did MySQL only, can someone tackle this for PostgreSQL?

19 years agoAnother fix for creating links.
julmis [Fri, 14 Apr 2006 09:57:41 +0000 (09:57 +0000)]
Another fix for creating links.

19 years agochanges needed for new s() and p() - see bug #2338
skodak [Fri, 14 Apr 2006 08:02:32 +0000 (08:02 +0000)]
changes needed for new s() and p() - see bug #2338

19 years agomodified instructions for uploading to "lang" directory, to reflect the fact that...
gbateson [Fri, 14 Apr 2006 07:34:59 +0000 (07:34 +0000)]
modified instructions for uploading to "lang" directory, to reflect the fact that the default Moodle 1.6 location for the "lang" directory is now within $CFG->dataroot

19 years agoDefault blog level is site level
moodler [Fri, 14 Apr 2006 06:39:14 +0000 (06:39 +0000)]
Default blog level is site level

19 years agoFIx license display
moodler [Fri, 14 Apr 2006 06:38:52 +0000 (06:38 +0000)]
FIx license display

19 years agoFIxed an alt string
moodler [Fri, 14 Apr 2006 04:58:09 +0000 (04:58 +0000)]
FIxed an alt string

19 years agoRSS feed based on modified date, not created date
moodler [Fri, 14 Apr 2006 04:53:45 +0000 (04:53 +0000)]
RSS feed based on modified date, not created date

19 years agoDisable gui for forum timed posts since we are not quite ready for it. All code is...
mjollnir_ [Fri, 14 Apr 2006 04:51:43 +0000 (04:51 +0000)]
Disable gui for forum timed posts since we are not quite ready for it. All code is still there but hidden & controlled by a config var forum_enabletimedposts.

19 years agoAfter discussion with Penny I think it's best to not include the forum
moodler [Fri, 14 Apr 2006 04:47:43 +0000 (04:47 +0000)]
After discussion with Penny I think it's best to not include the forum
timed posts in 1.6 for now.   It still needs some work and we are
running out of time.

19 years agoRemoved settings tab, see bug 5189
gustav_delius [Thu, 13 Apr 2006 21:35:24 +0000 (21:35 +0000)]
Removed settings tab, see bug 5189

19 years agostripslashes_safe() improvement - now works also for arrays and objects see bug ...
skodak [Thu, 13 Apr 2006 21:27:01 +0000 (21:27 +0000)]
stripslashes_safe() improvement - now works also for arrays and objects see bug #2338

19 years agoFixed bug 5187 that led to error when creating cloze question
gustav_delius [Thu, 13 Apr 2006 21:23:15 +0000 (21:23 +0000)]
Fixed bug 5187 that led to error when creating cloze question

19 years agoMajor fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug...
nfreear [Thu, 13 Apr 2006 16:07:12 +0000 (16:07 +0000)]
Major fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug 5161). 'weekscss' course format.

19 years agoClean up code (Bugs 5027, 5161), 'weekscss' course format.
nfreear [Thu, 13 Apr 2006 14:37:32 +0000 (14:37 +0000)]
Clean up code (Bugs 5027, 5161), 'weekscss' course format.

19 years agoMajor fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug...
nfreear [Thu, 13 Apr 2006 14:28:36 +0000 (14:28 +0000)]
Major fix for Bug 5027, "Three-col layout breaks when window is narrow" (also, Bug 5161). 'weekscss' course format.

19 years agoA few changes to improve readability/correctness.
thepurpleblob [Thu, 13 Apr 2006 12:20:39 +0000 (12:20 +0000)]
A few changes to improve readability/correctness.

19 years agoNew string - importfromthisfile
thepurpleblob [Thu, 13 Apr 2006 12:11:12 +0000 (12:11 +0000)]
New string - importfromthisfile

19 years agoMore logical wording on button to import from local file
thepurpleblob [Thu, 13 Apr 2006 12:10:28 +0000 (12:10 +0000)]
More logical wording on button to import from local file

19 years agoMerged fixes from stable
moodler [Thu, 13 Apr 2006 12:05:37 +0000 (12:05 +0000)]
Merged fixes from stable

19 years agoFIx for bug 5188 - seach with no results -> dead end
moodler [Thu, 13 Apr 2006 10:41:12 +0000 (10:41 +0000)]
FIx for bug 5188 - seach with no results -> dead end

19 years agoDon't compare floats for equality! Bug #5176
thepurpleblob [Thu, 13 Apr 2006 10:29:20 +0000 (10:29 +0000)]
Don't compare floats for equality! Bug #5176

19 years ago(Bug tracker 4997) Clean up code comments.
nfreear [Thu, 13 Apr 2006 09:44:33 +0000 (09:44 +0000)]
(Bug tracker 4997) Clean up code comments.

19 years agoDon't prefill username in shibboleth bug 5184
moodler [Thu, 13 Apr 2006 09:00:05 +0000 (09:00 +0000)]
Don't prefill username in shibboleth    bug 5184

19 years agoSOme help file polishing
moodler [Thu, 13 Apr 2006 08:55:34 +0000 (08:55 +0000)]
SOme help file polishing

19 years agoFIxed a typo
moodler [Thu, 13 Apr 2006 08:49:31 +0000 (08:49 +0000)]
FIxed a typo

19 years agoBug #5163 - user/action_redir.php should print properly formatted error
vyshane [Thu, 13 Apr 2006 08:48:51 +0000 (08:48 +0000)]
Bug #5163 - user/action_redir.php should print properly formatted error
messages

19 years agoAdded unknownuseraction string
vyshane [Thu, 13 Apr 2006 08:48:14 +0000 (08:48 +0000)]
Added unknownuseraction string

19 years agomissing courseid parameter in "grades not not add up to 100%" check.
thepurpleblob [Thu, 13 Apr 2006 08:45:11 +0000 (08:45 +0000)]
missing courseid parameter in "grades not not add up to 100%" check.

19 years agoAdded a new string idnumber course to allow more customisation bug 4337
moodler [Thu, 13 Apr 2006 08:44:20 +0000 (08:44 +0000)]
Added a new string idnumber course to allow more customisation  bug 4337