11305 Commits

Author SHA1 Message Date
moodler
9f7bf72393 Zap old file 2005-02-09 03:46:44 +00:00
moodler
19221c7e06 Removed old script 2005-02-09 03:45:17 +00:00
moodler
d73754ee84 Removed old file 2005-02-09 03:44:41 +00:00
defacer
d4f7a8152d Redoing the hide/show thingy for blocks purely through CSS.
Instance id's next time, Urs! ;-)
2005-02-09 01:23:06 +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
skodak
475bd5cb71 fixed problems with forced course language 2005-02-08 21:30:47 +00:00
skodak
a776c371e7 fixed typos in chat_force_language(), added encoding to message page, minor cleanup 2005-02-08 21:23: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
defacer
783453129b Fix for bug 2488:
Extending mdl_log column module to varchar(20).
It was already 20 chars in Postgres, so no changes there.
2005-02-08 20:29:17 +00:00
koenr
e4d8d0bcc5 xhtml compliance 2005-02-08 19:28:59 +00:00
moodler
fa966efe7a FIxed some old <p> tags 2005-02-08 18:33:08 +00:00
fiedorow
01e8cf8893 New highlight color for forum/search.php 2005-02-08 18:13:43 +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
fiedorow
cdea3a531c Highlight search terms found only in HTML markup 2005-02-08 18:06:06 +00:00
defacer
f4b351a30e Fix for bug 2491:
Implementing a "parent folder" icon in the file manager.
2005-02-08 18:03:43 +00:00
moodler
210eddc7df Various cleanups for XHTML and so on 2005-02-08 17:56:22 +00:00
moodler
bcd4d06b2f Consistent admin pages 2005-02-08 17:34:02 +00:00
moodler
206483974f Just a little tidying up 2005-02-08 17:33:13 +00:00
moodler
ac91569f91 Styles for notify and notice stuff 2005-02-08 17:11:28 +00:00
moodler
a8f6842661 Fixing some of the standard notice functions, adding styles and buttons 2005-02-08 17:09:41 +00:00
moodler
c7a9e29326 Just a robustness test 2005-02-08 17:07:31 +00:00
moodler
05049d161b Keep $THEME global in print_header for backward compatibility 2005-02-08 14:51:38 +00:00
moodler
3c5206598d FIxed some formatting 2005-02-08 14:49:57 +00:00
moodler
21c7f77048 Removed a lot of needless <p> tags 2005-02-08 09:36:21 +00:00
moodler
b61aed4297 Fixed up some layout issues in the configuration files 2005-02-08 09:23:21 +00:00
moodler
33aa00b4c7 Removed some stupid paragraphs 2005-02-08 08:14:53 +00:00
moodler
bdfd310316 Improved styles for admin/modules.php page 2005-02-08 08:13:23 +00:00
moodler
fb830a1b60 Merged isteacher fix from stable 2005-02-08 07:45:53 +00:00
moodler
3dcdf943a2 Some better feedback about lack of XSLT functions 2005-02-08 07:23:04 +00:00
moodler
9ff5e44a93 Added Blackboard restore using XSLT. Works with BB 5.5 and BB 6.0.
Completely untested by me but it LOOKS like it should work.  It's quite
standalone, and is basically a single function call during the restore
precheck which looks in the backup to see if it's a BB file, then
converts it using XSLT.

Apart from a little tidyup and renaming, I added a check so that it
should just silently fail if XSLT functions aren't available

Many thanks to Ziba Scott <ziba@linuxbox.com> who wrote it!
2005-02-08 07:19:49 +00:00
moodler
9c41fb8eb4 Merged from stable bug 2513 2005-02-08 06:22:04 +00:00
martinlanghoff
d6a49dab9f Merged from MOODLE_14_STABLE - fix_course_sortorder() bug #2509 - Should fix overlaps when moving categories with large gaps -- affects only mysql. Prevent from landing even near the newly assigned range during the temporary shift. 2005-02-08 03:42:20 +00:00
mjollnir_
0bedb18792 Removing mdl_ in sync_metacourse 2005-02-08 03:39:40 +00:00
defacer
8a47e075b3 Changing the way that applicable formats for each block are defined:
The format for each page is now the same as the id attribute of the
BODY tag, which in turn is a simple function of the script's relative path:

The format for e.g. a quiz view page is "mod-quiz-view". The format for the
site index is "site-index". Exception: the format for courses is not just
"course-view", but "course-view-weeks" etc.

Obviously the applicable_formats() override for each block should now take
this into account. The matching rules now are:

* You can specify the full format, e.g. "mod-quiz-view" => true
  will allow the block to be added in quizzes
* Prefixes match the full page format, e.g. "mod" matches ALL activities
* You can use "*" as a wildcard, e.g. "mod-*-view" matches just the view.php
  page of all activities
* These rules interoperate, thus "mod-*" is the same as "mod"
* "all" remains as a catch-all situation
2005-02-08 02:59:44 +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
defacer
b70b8fe1e0 Adding test for empty db password. 2005-02-08 02:43:36 +00:00
defacer
f6b8182732 This isn't quite ready yet, but get this diff out of my sight... 2005-02-08 02:42:29 +00:00
defacer
83a305a7e7 Renaming some $course to $courseid to make it clear to anyone reading the code... 2005-02-08 01:34:14 +00:00
mits
fb347d6c4d translated some. 2005-02-08 01:08:48 +00:00
stronk7
fff86611a2 Small typo (bug 2512)
(http://moodle.org/bugs/bug.php?op=show&bugid=2512)

Merged from MOODLE_14_STABLE
2005-02-08 01:07:45 +00:00
defacer
86a956a42a Fixing this to not show notices if a block doesn't have an id attribute. 2005-02-08 00:53:55 +00:00
defacer
0fdce319fb Centering the contents of the "add blocks" block. 2005-02-08 00:24:33 +00:00