234 Commits

Author SHA1 Message Date
moodler
a1d72936b1 Strip tags from module names .... sigh 2004-04-02 13:42:20 +00:00
moodler
47b307976b Removing a line from stripslashes_safe ... not sure why we were replacing
these double slashes ...
2004-03-31 08:45:11 +00:00
moodler
09cbeb40a2 An improvemement, I think, in the way Javascript is stripped in clean_text 2004-03-28 06:31:27 +00:00
moodler
8dcd43f3fe Checking in Eloy's Javascript/smiley fixes from bug 1185 Thanks! 2004-03-25 06:31:44 +00:00
moodler
d0ec93fbd6 Guests can no longer see email addresses if "show only to course participants"
has been set by that user
2004-03-24 12:23:43 +00:00
moodler
f038d9a313 Fixed bug with empty string 2004-03-16 07:11:14 +00:00
stronk7
54be24ecec Avoid login as himself to teachers. One missing USER
variable was the cause ;-)
2004-03-14 02:17:26 +00:00
moodler
4e3a60929c Finally fixed those annoying 'loginas' links on the main user listing 2004-03-13 14:34:32 +00:00
moodler
4a5644e51a New generic function to break up long words 2004-03-10 02:19:17 +00:00
moodler
b7a3d3b24c Filter text files as well 2004-03-09 06:44:27 +00:00
moodler
58abc13554 Removed troublesome code - don't think it was helping much 2004-03-07 01:41:55 +00:00
moodler
e9a551b341 Tidy up the menu a bit 2004-02-24 06:43:13 +00:00
moodler
743a92ff49 Slightly more correct terminology on groups menu 2004-02-24 06:38:26 +00:00
moodler
2d8b2369c5 Trying a new logo on the home page ... hope it doesn't clash too much
with themes ...
2004-02-22 13:47:56 +00:00
moodler
828aeff2d6 A proper GUI for filters :-)
Still needs work, but it works fine now.

Later I want to add config pages for each filter, like modules have.
2004-02-22 12:17:27 +00:00
moodler
cadb96f29e GUI to allow disabling of user email addresses (from user profile) 2004-02-20 10:27:24 +00:00
moodler
1d9fc41755 Groups menu now includes "All groups"
Titles have tags stripped
2004-02-19 17:56:05 +00:00
stronk7
4866a36714 Initilize selectmod in navmenu() function to avoid some warnings
when showing the menu and no cm has been selected. No risk with this
change, I suppose. :-)
2004-02-16 00:41:52 +00:00
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