Originally, the strings were prepared by Helen with _help suffix. But in
IMS Enterprise, there is no place for help icons. So the strings are
used as descriptions at the setting page and therefore they have _desc
suffix now.
AMOS BEGIN
MOV [usecapitafix_help,enrol_imsenterprise],[usecapitafix_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/capita.html,[usecapitafix_desc,enrol_imsenterprise]
MOV [createnewcategories_help,enrol_imsenterprise],[createnewcategories_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/categorisation.html,[createnewcategories_desc,enrol_imsenterprise]
MOV [createnewcourses_help,enrol_imsenterprise],[createnewcourses_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/createnewcourses.html,[createnewcourses_desc,enrol_imsenterprise]
MOV [createnewusers_help,enrol_imsenterprise],[createnewusers_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/createnewusers.html,[createnewusers_desc,enrol_imsenterprise]
MOV [deleteusers_help,enrol_imsenterprise],[deleteusers_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/deleteusers.html,[deleteusers_desc,enrol_imsenterprise]
MOV [sourceddidfallback_help,enrol_imsenterprise],[sourceddidfallback_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/sourceddidfallback.html,[sourceddidfallback_desc,enrol_imsenterprise]
MOV [restricttarget_help,enrol_imsenterprise],[restricttarget_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/target.html,[restricttarget_desc,enrol_imsenterprise]
MOV [truncatecoursecodes_help,enrol_imsenterprise],[truncatecoursecodes_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/truncatecoursecodes.html,[truncatecoursecodes_desc,enrol_imsenterprise]
MOV [allowunenrol_help,enrol_imsenterprise],[allowunenrol_desc,enrol_imsenterprise]
HLP enrol/imsenterprise/unenrol.html,[allowunenrol_desc,enrol_imsenterprise]
AMOS END
By the way, the current style of creating course_sections is ugly. We
should probably have something like
make_sure_that_at_least_default_section_exists($courseid, $sectionid=null)
and not to insert it into database at many places as we do now.
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.
The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.
Live long and prosper.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)
This code is not finished yet, a lot of work still has to be done on the
interface. However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.