I have prepared language packs at
http://download.moodle.org/langpack/2.0 manually for now. To be
automated once the production AMOS server is up and running.
Strings related to users uploading moved into admin.php component. Fixed
calling of new help strings. Fixed incorrect strings call.
The script also copies instructions from two previous commits as I
forgot that the commit must touch some string file to being parsed by
amos.
AMOS BEGIN
HLP uploadusers3.html,[uploadusers_help,core_admin]
HLP uploadusers2.html,[uploadusers_help,core_admin]
HLP uploadusers.html,[uploadusers_help,core_admin]
HLP uploadpictures.html,[uploadpictures_help,core_admin]
MOV [uploadusers,core],[uploadusers,core_admin]
MOV [uploadusers_help,core],[uploadusers_help,core_admin]
HLP cookies.html,[cookiesenabled_help,core]
HLP overrides.html,[overridepermissions_help,core_role]
HLP permissions.html,[permission_help,core_role]
AMOS END
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them. I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.
There's still work to do. Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0. We also could use a much better course overview block and better CSS styling of the profile pages. But it's definitely more usable this it was, I think.
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.
Several fixes and enhancements:
+ No longer fail due to timeouts or memory limits. And let apache know
that we're a memory hog so it can clean up after us.
+ Add support for user account updates (optional)
+ Add support for user account renames (optional)
+ Cleaned up the logic that deals with creation and failure
+ More robust error handling
+ Use optional_param() -- no longer depends on register_globals
-- when do we switch that off?
+ Added the relevant documentation.
A new configuration variable is avaliable to limit which fields normal user can see about other users. Teachers/admins can still see the full info.
This provides some degree of privacy for students.