moodler
c4ae4fa1a8
Fixes so that $courseid can be passes to format_text (and this filter_text)
2004-01-16 10:49:07 +00:00
moodler
3da4752434
Added log links for teachers from each activity page
2004-01-15 07:17:47 +00:00
moodler
499795e84d
Links in print_user are absolute
2004-01-10 16:47:14 +00:00
moodler
951b22a829
Completely got rid of user/lib.php
...
- print_user() went to weblib.php and got tidied up
- The graphics functions went to lib/gdlib.php
See Bug 922
2004-01-10 16:41:29 +00:00
moodler
02759cb587
On group images use description in the title ...
2004-01-01 08:36:53 +00:00
moodler
f2c80965f5
Some improvements when displaying PNGs
2003-12-31 13:39:08 +00:00
moodler
f374fb1006
This is the first check-in of support for groups.
...
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)
From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.
Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00
moodler
e3b343e0e3
Some improvements to style_sheet_setup based on this from John Dell
...
http://moodle.org/mod/forum/discuss.php?d=4171
2003-12-22 02:43:51 +00:00
moodler
60b9a5658f
FIxed some faulty form 'target's that weren't using $CFG->framename
2003-12-14 15:03:23 +00:00
moodler
69d51d3a81
Prevent funny-looking text when trying to highlight a null string
2003-12-13 06:27:25 +00:00
moodler
6942583e02
Larger steps on minutes when printing times - see bug 912
2003-12-08 17:20:31 +00:00
moodler
db0d033776
Fix navigation buttons for hidden buttons
2003-11-29 02:27:04 +00:00
moodler
2d71e8ee23
Use fullname function for name in login string
2003-11-28 11:00:46 +00:00
moodler
f2d91421fd
Added new navmenu function that now prints next/previous buttons - it's
...
based on code from Gustav Delius. Thanks, Gustav!
2003-11-25 04:19:58 +00:00
moodler
fbfc267591
New language file called pix.php for defining alt-text of pix files.
...
Smileys code is changed over to use this, both in replace_smileys
and in editor/popups/dlg_ins_smile.php
Needs testing please!
2003-11-07 14:55:44 +00:00
moodler
4110d37f45
Added style as a valid tag
2003-11-07 04:53:54 +00:00
moodler
428aaa2911
Accidentally deleted a $CFG line
2003-11-07 04:14:38 +00:00
moodler
6ff45b597e
Use the new html2text function for converting html to text.
...
This function is still being tested - it seems fast enough so far
but I'm checking it in to do some further testing on moodle.org
for a while.
2003-11-07 03:27:21 +00:00
moodler
7fc0f9e5e4
Add fancy help cursors on help icons
2003-11-06 11:47:23 +00:00
moodler
2b23eea312
Removed header redirect for cases where output already occurred
...
(thougn it shouldn't happen)
2003-11-04 03:35:05 +00:00
moodler
47037513fe
Goodbye Richtext editor!
...
This does not affect any of the existing modules - I've kept some
stub functions to retain backward compatibility.
2003-11-03 15:17:21 +00:00
moodler
8a55c98423
More redirect tweaks
2003-11-03 03:13:14 +00:00
moodler
ff01945522
Fixed Mozilla redirection-after-htmlediting bug using Javascript!
2003-11-01 06:59:31 +00:00
moodler
5d6c043a39
Using Location header is not subject to the meta-refresh bug in Mozilla
2003-10-31 08:13:44 +00:00
moodler
4c46c425db
Changes to integrate the new HTML editor into Moodle in an optional way
...
until it's stable enough to replace Richtext
To enable the new editor, add this line into config.php:
$CFG->useneweditor = true;
2003-10-29 08:06:11 +00:00
moodler
2eea2ccedc
Remove quotes from title - these can cause the stylesheet to not load
...
properly on Internet Explorer.
2003-10-24 06:27:15 +00:00
moodler
5f546a46f0
Slightly nicer code when redirecting
2003-10-21 06:42:10 +00:00
moodler
39dda0fc4f
Added nolink tag
2003-10-16 14:25:36 +00:00
moodler
3528bae253
Fixed comments on str_ireplace
2003-10-16 10:20:35 +00:00
moodler
7ec2fc00a0
Improved version of str_ireplace() for older versions of PHP (now handles arrays)
2003-10-16 09:28:27 +00:00
moodler
c53be4c013
Some cleaning up ... shouldn't make much difference
2003-10-15 02:48:40 +00:00
moodler
e67b9e31e5
NEW EXPERIMENTAL FEATURE: text filters.
...
This new feature allows arbitrary text filters to be added to
any HTML that is printed (forum posts, resources etc) ... anything
that uses the standard format_text function.
The first one properly supported is the glossary dynamic linking
feature.
2003-10-13 14:11:17 +00:00
moodler
408e62f865
FIxed bug when no courseid
2003-10-12 17:24:46 +00:00
moodler
50bdc74de2
A new feature to allow teachers to browse course files to
...
find images to insert into Richtext editor windows.
This hack was started by Janne Mikkonen, and I further refined it
to fit better into Moodle.
See: http://moodle.org/mod/forum/discuss.php?d=2126
2003-10-12 17:12:02 +00:00
moodler
950cf40381
<acronym> is an allowed tag
2003-10-06 18:09:27 +00:00
moodler
d8152d04c0
Language direction is now set in the language file, rather than
...
as a site-level setting. This currently only affects Arabic but
will affect Hebrew later and maybe others.
2003-10-05 14:05:57 +00:00
moodler
a1f8ff87c7
Small fix to avoid warnings on empty tables
2003-09-23 12:18:27 +00:00
moodler
e4576482d5
Robustness on an optional variable
2003-09-21 16:35:49 +00:00
moodler
66a51452d9
Changes from Mad Alex and Gustav Delius:
...
- make more of the HTML into XHTML
- add a $usexml parameter to print_header that sets up the page as XML
(in the first case, for MathML)
2003-09-21 15:45:24 +00:00
moodler
ab2df10cc8
Hide labels from nav menu
2003-09-15 11:59:15 +00:00
moodler
c9f6251ea8
Two things are in this checkin:
...
1) Support for the new "label" module has been added. It's unfortunate
about having to make these exceptions but this was the overall cleanest
way I could think of.
2) All local calculation of pixpath and modpixpath has been removed and
replaced with a single calculation which is done in setup.php and
stored in $CFG->pixpath and #CFG->modpixpath. All graphics should
use these variables so that themes can easily override them.
2003-09-14 12:25:16 +00:00
moodler
2b09e37782
Fixes for obfuscate_text() when printing emails with numbers in them.
...
(Patch from Zbigniew Fiedorowicz - thanks)
2003-09-09 02:22:36 +00:00
moodler
b48f834cfb
Some cleaning up and improvement of the course listings, especially when
...
courses are listed under multiple categories
2003-09-03 12:13:08 +00:00
moodler
559573a2be
Default redirection time should be zero
2003-09-02 01:28:46 +00:00
moodler
27326a3eb6
Move Library parsing code into text_to_html
2003-08-27 06:08:34 +00:00
moodler
a751a4e56f
Added a hook to the text formatting, so that if the library module
...
is activated, then all Moodle text is parsed by it to have links
added to words.
2003-08-26 18:44:09 +00:00
moodler
5b47275684
Plain text emails now include URLs in a nice way. Thanks to Russell Jungwirth
...
for the code.
Also a few docs tweaks
2003-08-26 13:18:10 +00:00
moodler
1ca0226071
Removed useless function
2003-08-26 12:54:50 +00:00
moodler
16ef5e7812
Some fixes so that navmenus don't jump out of frames any more.
...
The navmenu function now takes a third parameter that specifies
the window to change location of (default 'self', but could be "parent" or "top")
2003-08-26 06:01:13 +00:00
moodler
d6bdd9d5e9
Forum grades can now be numerical as well (like the other modules).
...
If so, grades in the gradebook are printed as proper numbers and
contribute to the total of the course.
2003-08-25 12:47:36 +00:00