393 Commits

Author SHA1 Message Date
defacer
89adb17442 Merging the changes from 1.4 dev branch (site index blocks + various bugfixes) 2004-05-28 10:53:54 +00:00
defacer
ab9f24ad00 Small fix (added method attribute to form) and some comments for the future 2004-05-21 13:07:11 +00:00
stronk7
ab892a4fa2 Modified slighty the format_text() function!!
Now, in PLAIN AND WIKI formats, the rebuildnolinktag() function
is called to rebuild:

    &lt;nolink&gt;  to <nolink> again (open and close tags)

This should avoid showing the "<nolink>" word always in this formats!!

Used to solve Bug 1232 and potentially, others...
(http://moodle.org/bugs/bug.php?op=show&bugid=1232)

Please check it because it's really a CORE change!!
2004-05-11 23:17:25 +00:00
stronk7
67591c6706 Small change in navmenu() to hide hiddensections,
aplying latest Martin's changes... Ciao :-)
2004-05-01 23:46:02 +00:00
moodler
e226c03b7e SMall fix to make new cached encoding work with course languages 2004-04-28 15:02:14 +00:00
moodler
931d5119f5 Minimum rows can be smaller 2004-04-28 02:57:37 +00:00
stronk7
ca189cecf8 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
Small change to navmenu() to support it
2004-04-27 16:29:21 +00:00
moodler
48151fd02e Whoops, forgot part of the optimisation. 2004-04-27 13:58:54 +00:00
moodler
cec0a0fc30 New developmental setting to force UTF for the whole server
Plus, some optimisation on the way encoding is stored (in the session).
2004-04-27 13:57:46 +00:00
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