Commit Graph

1666 Commits

Author SHA1 Message Date
moodler 52f1b49620 When searching for resources, use button instead of link. 2004-02-15 08:04:33 +00:00
moodler 97ea483380 Editing teachers always can see group picture.
Plus some fixes in print_group_picture()
2004-02-15 07:37:48 +00:00
moodler 3c0561cfe7 New field in the groups table to "hidepicture" from being displayed
in locations like forums etc.

Backups done too, Eloy.  :-)
2004-02-15 07:29:55 +00:00
moodler ac0024f9f4 Center the groups menu for now 2004-02-15 07:18:28 +00:00
moodler c3cbfe7fdf New function setup_and_print_groups() makes it much easier to set
up groups everywhere else.
2004-02-15 07:13:08 +00:00
moodler 546b301b44 Don't print group pictures if none is defined 2004-02-10 14:36:12 +00:00
moodler 35067c438f print_group_picture is more simple again, uses JPEGs
Put the fancy PNG code in a new function for later print_png()
2004-02-10 14:22:20 +00:00
moodler 8eaa4c61d5 The text caching is now sensitive on the temporary variable
$CFG->currenttextiscacheable

Any filter can set this to FALSE and the current text will not be cached
2004-02-10 09:59:46 +00:00
moodler d523d2ead1 Some configuration options now added to the Configuration page.
opentogoogle

  textfilters

  cachetext

They should upgrade cleanly from anything you may have in config.php
2004-02-10 05:05:28 +00:00
moodler 45121ffbf3 text_cache --> cache_text much better 2004-02-09 13:10:19 +00:00
moodler f0aa2fed24 Removed a small bit of debugging code 2004-02-09 12:33:44 +00:00
moodler b3153e4b7d Small hack to force a particular language within a course.
No interface on course/edit.php ... I want to try this on
moodle.org for a while to try and stop the encoding problems
2004-02-09 07:31:04 +00:00
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