4482 Commits

Author SHA1 Message Date
koenr
64d79d168d extended guidelines for xml-compliance 2005-02-10 11:18:32 +00:00
martignoni
422b303779 XHTML compliant 2005-02-10 10:44:24 +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
koenr
73cffa5416 xhtml compliance
removing the valign
replacing alt with  alt=""
closing img-tag
various other things I missed
2005-02-10 08:35:53 +00:00
koenr
0545f923bb xhtml compliance
removing the valign
replacing alt with  alt=""
closing img-tag
2005-02-10 08:23:46 +00:00
moodler
1695b68032 New feature: maintenance mode.
Admin can put a site on hold during an upgrade or theme changing etc

Controlled by a file in dataroot, so it can also be controlled via command line:

    touch moodledata/1/maintenance.html

    rm moodledata/1/maintenance.html
2005-02-10 05:11:34 +00:00
stronk7
7c2f5523b3 Latest modifications added 2005-02-10 00:09:29 +00:00
koenr
63dc8ab940 xhtml compliance 2005-02-09 23:20:55 +00:00
koenr
255dcb52aa more guidance: trying to prevent frequent errors 2005-02-09 23:13:54 +00:00
koenr
6cf0d79bca More guidance: trying to prevent frequent errors 2005-02-09 23:12:49 +00:00
anvergara
6f79803000 Updated! 2005-02-09 22:45:38 +00:00
martignoni
437fa2a748 Towards XHTML compliance 2005-02-09 22:15:10 +00:00
koenr
9fb96edd4d trying to be more clear for new languages 2005-02-09 21:39:14 +00:00
martignoni
12d3186f60 Modification for XHTML compliance 2005-02-09 21:39:12 +00:00
defacer
0e85e8f856 Extra . for cuteness :) 2005-02-09 19:51:21 +00:00
moodler
2c5d79d437 Added some new strings and de-capitalised most of the others. :-) 2005-02-09 15:20:59 +00:00
martignoni
6a698f7a4b Towards XHTML compatibility (once again !) 2005-02-09 14:59:24 +00:00
moodler
3e060c5c69 Updated strings, moved from moodle.php 2005-02-09 13:49:49 +00:00
carlesbellver
6432503e6a *** empty log message *** 2005-02-09 13:48:50 +00:00
moodler
2d47c851f9 Better selection of themes, and screenshot support 2005-02-09 12:44:36 +00:00
djachenko
ba5318ef53 "" 2005-02-09 11:58:23 +00:00
martignoni
6453719c97 Towards XHTML compatibility 2005-02-09 11:03:44 +00:00
martignoni
37121d3ab5 moving to xhtml doctype 2005-02-08 22:23:11 +00:00
martignoni
80b51cc00d First cut of email to module (or core) processing. 2005-02-08 22:10:36 +00:00
martignoni
504cbfdf2f Some strings needed to backup & restore metacourse info. 2005-02-08 22:04:09 +00:00
martignoni
07d295215a Another unclosed <p> 2005-02-08 21:57:35 +00:00
martignoni
0dd9a39c2a Typo corrected 2005-02-08 21:55:18 +00:00
martignoni
889e724902 Nolink is not only for glossaries 2005-02-08 21:53:56 +00:00
paca70
67bcfee642 updates. 2005-02-08 21:41:19 +00:00
borinsky2407
9a9ebde280 adapted from the de-version, should xhtml compatible 2005-02-08 20:52:47 +00:00
borinsky2407
43eb257412 adapted from the de-version, should xhtml-compatible 2005-02-08 20:51:09 +00:00
koenr
e4d8d0bcc5 xhtml compliance 2005-02-08 19:28:59 +00:00
fiedorow
ff01c1f5db New string for forum search 2005-02-08 18:09:59 +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
mits
fb347d6c4d translated some. 2005-02-08 01:08:48 +00:00
koenr
8c3270ef5c xhtml compliance 2005-02-08 00:12:17 +00:00
koenr
de1315e3d5 forgot to commit 2005-02-07 23:54:25 +00:00
anvergara
d160861fdf Cambiado "Periodo de Matriculación" por "Periodo de vigencia de la matrícula" y cambiada la explicación correspondiente. 2005-02-07 23:24:54 +00:00
anvergara
7f29369723 Changed the enrolperiod string 2005-02-07 23:23:20 +00:00
borinsky2407
c546ca5d81 by c.borowski 2005-02-07 23:18:29 +00:00
borinsky2407
e4c54f455b by c.borowski@web.de 2005-02-07 23:17:43 +00:00
borinsky2407
c2418e53a4 *** empty log message *** 2005-02-07 23:02:29 +00:00
koenr
6c3c1c96a1 xhtml compliance -de_du done 2005-02-07 22:37:16 +00:00
koenr
fb4b8fc8aa another go to get the notation of the be language correct. Hope this is the right one. 2005-02-07 18:27:43 +00:00
koenr
b08c38b0dc removed untranslated markdown.html and a temporary file 2005-02-07 18:04:01 +00:00
stronk7
0e90d8ec2c Some strings needed to backup & restore metacourse info. 2005-02-07 17:55:12 +00:00
moodler
7c37216deb Nolink is not only for glossaries 2005-02-07 15:06:13 +00:00
koenr
4593b527fb xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
2005-02-07 10:41:52 +00:00
koenr
c459de0b1e xhtml compliance
removed head, html and body tags. Not allowed here since they are provided by moodle when parsing the page.
2005-02-07 09:41:29 +00:00