460 Commits

Author SHA1 Message Date
moodler
158de84670 Better loggedinas string for guest users 2005-05-05 04:22:26 +00:00
moodler
d1889a5252 Making the use prreference more consistent with the rest 2005-04-25 18:43:00 +00:00
mchurch
9e2b1877e0 Added enable/disable forum tracking in a user profile. 2005-04-24 19:46:13 +00:00
stronk7
a4f534add8 Added 'creatinggradebook' to be used in restore. 2005-04-22 00:27:27 +00:00
stronk7
cc2c59230e Added one new string needed in backup: writinggradebookinfo 2005-04-19 23:22:29 +00:00
moodler
0792e9a8af nothingtodisplay string 2005-04-14 15:37:29 +00:00
stronk7
9863d5149e One new string to convert from wiki to markdown. 2005-04-12 23:59:13 +00:00
martinlanghoff
232eafed03 Fixed notation for (mega|giga|kilo)bytes 2005-04-06 07:16:43 +00:00
moodler
a7bd52d8e4 Some new strings 2005-04-02 12:07:19 +00:00
moodler
3eb36e739e Some new strings 2005-03-31 09:12:12 +00:00
ikawhero
47819c85d2 Some spaces so string wraps in the edit language page 2005-03-26 03:41:05 +00:00
moodler
6078ba3016 Misc recent changes 2005-03-22 18:10:06 +00:00
moodler
f9a0ea699c New user tabs from Shane and myself ... these bring together the
profile interface a little better.

There is also a new feature for showing all posts from a user, as well
as all discussions from a user.
2005-03-20 12:02:14 +00:00
moodler
6e0c7c2175 New strings to turn Blocks editing on and off 2005-03-14 01:34:18 +00:00
moodler
f23ac2ac3c MOre info on registration form 2005-03-12 09:18:43 +00:00
moodler
c59eb3416a Got rid of the dead end when guests are trying to post 2005-03-06 06:20:37 +00:00
moodler
66b7c2470b Moved aspellpath configuration onto the editor page. 2005-03-05 17:25:03 +00:00
moodler
766d2bf3b3 Added user fields for Skype, AIM, Yahoo, and MSN messengers. :-)
If anyone knows good links+images to use for AIM, Yahoo and MSN let me know
2005-03-05 05:57:10 +00:00
moodler
fe9e175313 Putting shorter words last 2005-03-05 03:36:21 +00:00
moodler
fc34bbe886 Improved censor
- now blacks out words using styles
  - gets the words from the language pack
2005-03-05 03:32:38 +00:00
moodler
832b9f8204 Removed filter and put badwords list in string files 2005-03-05 03:14:45 +00:00
moodler
21618f9320 Enrolment strings 2005-03-04 01:54:08 +00:00
moodler
181a96e6b1 Updated the copyright 2005-03-01 12:16:23 +00:00
moodler
8fcdbee3c9 Added "Advanced" 2005-02-25 06:22:01 +00:00
moodler
28012da1f6 Missed one 2005-02-18 13:47:21 +00:00
moodler
e381bc1a48 Returning the strings to old-style format. :-) 2005-02-18 13:38:02 +00:00
defacer
cec884ab33 New string for the user profile, please translate for other language packs. 2005-02-18 04:03:22 +00:00
defacer
4694488110 English time format strings changed to new style.
We should now be changing these accordingly in ALL the language packs.
2005-02-17 23:00:35 +00:00
defacer
85351042d1 Starting to fix userdate() to recognize DST as well. 2005-02-17 22:43:18 +00:00
stronk7
29acd3efbc One string to fix orphaned questions. See bug 2380
(http://moodle.org/bugs/bug.php?op=show&bugid=2380)
2005-02-15 19:44:34 +00:00
gustav_delius
fe48879334 fixed typo 2005-02-13 21:27:50 +00:00
gustav_delius
db837a6645 Fixed behaviour of groups.php in the case of an empty group, see bug 2346 2005-02-13 19:38:10 +00:00
stronk7
9597a4d970 Needed strings for MIM restore. 2005-02-13 18:56:52 +00:00
gustav_delius
4bd2e69a51 When course is hidden a student trying to enter gets the new message "This course is currently unavailable to students", see bug 2511 2005-02-13 11:43:05 +00:00
gustav_delius
eb58929bbb Added string 'counteditems' to allow better translation of things like "8 students", see bug 2530 2005-02-13 11:22:48 +00:00
stronk7
ff377532bd Being a bit more detailed... 2005-02-13 11:20:33 +00:00
stronk7
fbd7202c3e Add an empty string 2005-02-13 11:10:39 +00:00
moodler
1f15db9dee Changed the wording again .. should be easier to scan I hope 2005-02-13 06:15:12 +00:00
moodler
da2224f83d Change the string for the hide/show ... showimmediately makes sense
on a new creation but not when editing an activity
2005-02-13 06:07:06 +00:00
stronk7
289c39d0f5 New string to backup messages in SITE backups 2005-02-13 01:12:54 +00:00
gustav_delius
48e535bc35 Activities can now be hidden/shown from the activity editing page. Also for modules that know about groups the groupmode can be set from there. See bug 2533. This required adding to the mod.html files calls to new functions print_visible_setting() and print_groupmode_setting() which are combined in print_standard_coursemodule_settings().
The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately.

If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar.

If deleting a coursemodule its events are deleted from the calendar.

The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu.

For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible().
2005-02-12 21:41:22 +00:00
moodler
197becb829 Enrolment period -> Enrolment duration ... same thing but clearer to teachers maybe 2005-02-11 02:22:44 +00:00
moodler
32e2b30209 This more or less completes the PHP side of the 1.5 themes
Added $user->theme and $course->theme choices, controlled by admin
variables on the main config variables page.

By default this is all turned off, since multiple themes can be
a little disorienting.

A hidden feature is session themes ... you can change the theme
on any page by passing theme=xxxx as a parameter.  By default this
requires sesskey (so that people don't change theme on each other),
but this security can be switched off using a hidden variable
$CFG->allowthemechangeonurl = true;   Good for quick tests.
2005-02-10 10:28:27 +00:00
moodler
2d47c851f9 Better selection of themes, and screenshot support 2005-02-09 12:44:36 +00:00
defacer
4be2a84bfe New string for the "parent folder" icon. 2005-02-08 18:08:23 +00:00
mjollnir_
bb64b51aa3 First cut of email to module (or core) processing.
This patch contains:

* email_to_user will set the envelope sender to a special bounce processing address (based on $CFG settings)
* email_to_user will accept (and set) a reply-to header, to be generated by the module calling the function.

* new functions:

	* generate_email_processing_address - ALWAYS use this to generate the reply-to header. reply-to header will look like this:

	(LIMIT: 64 chars total)
	prefix - EXACTLY four chars
	encodeded, packed, moduleid (0 for core) (2 chars)
	up to 42 chars for the modules to put anything they want it (can contain userid (or, eg for forum, postids to reply to), or anything really. 42 chars is ABSOLUTE LIMIT)
	16 char hash (half an md5) of the first part of the address, together with a site "secret"

	* moodle_process_email - any non-module email processing goes here (currently used for processing bounces)

* bounce handling:

	* config settings for bounce threshold and ratio (and whether to handle bounces at all)
	* if too many bounces occur against any given user, user_not_fully_set_up will force an email address change
	* associated functions (over_bounce_threshold, set_send_count, set_bounce_count)

* handling emails to noreply address (see below)

* new script - admin/process_email.php

	This script needs to be called from your mail program for anything starting with the 4 char prefix described above (and optionally, the noreply address)
	It will bounce emails to the noreplyaddress, with a friendly "this is not a real email address" message

	It will break down and unencode the email address into moduleid and validate the half md5 hash, and call $modname_process_email (if it exists). Arguments to these functions are: $modargs (any part of the email address that isn't the prefix, modid or the hash) and the contents of the email (read from STDIN).

* associated string changes/additions

* changes in config-dist.php to give clues as to how to set this up.

MODULE WRITERS!

take a look at new functions moodle_process_email and generate_email_processing_address  in moodlelib.php for ideas about how to

	* encode and unencode the arguments your module needs to do the processing
	* how to deal with multiple "actions" for any given module.

Martin Langhoff <martin@catalyst.net.nz> will be writing up some PROPER documentation, containing amongst other things config settings for different mail servers (this was developed against Postfix).  Feel free to email me with any feedback on the code or design, penny@catalyst.net.nz.  Or post on the developer fourm.
2005-02-08 02:57:14 +00:00
stronk7
0e90d8ec2c Some strings needed to backup & restore metacourse info. 2005-02-07 17:55:12 +00:00
defacer
fc0551248e Polishing that Add/Edit Blocks button 2005-02-01 08:35:06 +00:00
moodler
cdf3925518 Messaging can now be completely disabled using $CFG->messaging 2005-01-31 07:11:42 +00:00
moodler
3eea7601ab New string 2005-01-31 03:35:45 +00:00