204 Commits

Author SHA1 Message Date
moodler
791b42ee1d Add framename target for logs links 2004-02-03 10:21:20 +00:00
fiedorow
36268d0271 Added all the presentation and content tags from the MathML 1.01 specification 2004-01-31 22:02:01 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
moodler
1d1a623391 Added msup 2004-01-28 04:42:30 +00:00
moodler
899da17470 Allowing <algebra> tag 2004-01-27 03:30:57 +00:00
moodler
6a903e0e83 Better for CSS 2004-01-26 11:47:20 +00:00
moodler
9586c1dd6b Er, much better wayto do dividiers 2004-01-26 09:54:40 +00:00
moodler
e21e20cfd7 Mod to print_table to allow dividers between rows (used on forum listing) 2004-01-26 09:48:00 +00:00
moodler
6a751fca5a Adding more tags for matsh 2004-01-26 09:15:12 +00:00
moodler
e08061157c Added lang and mathml tags to allowed tags 2004-01-20 13:27:37 +00:00
moodler
ce57cc79eb Added stripos function and allow filters to work even when courseid
isn't set.
2004-01-20 08:51:43 +00:00
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