Commit Graph

38 Commits

Author SHA1 Message Date
sam_marshall 9bef587a84 MDL-17164: Glossary autolinking doesn't work for entries similar to current entry 2008-11-12 17:00:04 +00:00
skodak f62fdb21d7 MDL-15455 fixed incomplete dml query conversion 2008-06-28 11:10:33 +00:00
skodak ae8c356614 MDL-15109 glossary dml conversion 2008-06-08 10:43:39 +00:00
skodak c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
stronk7 5fe600ebe7 Deleting one ='' condition that isn't cross-db nor necessary. MDL-12186
Merged from MOODLE_19_STABLE
2007-11-22 22:47:49 +00:00
toyomoyo 5bd76d7fba merged fix for MDL-9097, xhtml fixes for glossary 2007-03-30 07:04:43 +00:00
martinlanghoff 9aa9080756 Auto-linking filters: fix serious caching bug in forum mailouts
Autolinking of glossaries, activity, resources and wiki names were using a
trivial single-entry cache implemented with static vars. The cache was _not_
keyed on course.

This bug was visible during forum_cron() which walks many courses. The cache
would get "stuck" on the first course that had something to put in the cache.
All mailouts from there onwards would autolink to stuff in the wrong course.
2007-03-19 06:33:45 +00:00
moodler f274fe073c Merged AS keyword fixes from stable MDL-7207 2006-10-25 09:04:25 +00:00
moodler 8213916d2b Merged extra style from stable 2005-05-27 14:58:15 +00:00
moodler 17bb32a9a9 Two more typos!! Big ones! 2005-04-22 21:24:21 +00:00
moodler 6001eb4f9b Whoops, another typo 2005-04-22 19:49:28 +00:00
moodler 48065f32e5 Typo 2005-04-22 19:11:29 +00:00
moodler d38139764c Yay! New super-fast glossary filter!
This is shaving some very significant time from my pages, even with
caching turned off.   :-D
2005-04-21 09:04:54 +00:00
moodler 29a2718672 Added some reminders of an important problem we need to fix 2005-04-20 13:52:18 +00:00
moodler d38577e226 Simplify autolink styles to "modulename autolink" 2005-03-15 08:38:27 +00:00
bawjaws e72f10f496 change class from 'autolink' to 'glossary-autolink' to differentiate
(at least potentially) from other autolinks.
2005-03-11 20:55:04 +00:00
moodler dbc6b4447c Duplicate entries are now removed. (SE) 2005-03-08 07:48:00 +00:00
moodler facc743aa2 Rewritten to use the new generic filter function. (SE) 2005-03-04 10:12:44 +00:00
moodler 8af04b002d Filter will now not link within the head tags 2005-03-01 08:42:07 +00:00
ikawhero d7d93ee995 Fixed incorrect order of rebuilding excluded text 2005-02-25 23:18:09 +00:00
stronk7 73e97c3113 Now the glossary filter only links to concepts in visible glossaries (for everybody!)
Bug 2566
(http://moodle.org/bugs/bug.php?op=show&bugid=2566)
2005-02-17 19:28:21 +00:00
julmis d00ffdf949 Adding <span class="nolink"> filter. It doesn't break in editor. 2005-01-29 16:45:08 +00:00
ikawhero c7444a36a5 General removal of <nolink> tags for XHTML compatibility.
Moved from the glossary filter as the filter may not be enabled.
2005-01-18 06:57:59 +00:00
stronk7 68600084f4 One space out 2005-01-14 08:36:48 +00:00
moodler d3709d95c4 Changes for XHTML compatibility and other HTML code cleanup 2005-01-13 10:08:23 +00:00
stronk7 41c980286b Now print-view availability for students can be configured by glossary.
Bug 2080 (http://moodle.org/bugs/bug.php?op=show&bugid=2080)
2005-01-12 00:55:38 +00:00
moodler 34b5847a1a Some changes for XHTML and accessibility compliance 2004-09-30 08:42:34 +00:00
gustav_delius 839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius 41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
gustav_delius 222ac91bc9 removed unnecessary calls to get_site() 2004-08-29 14:15:40 +00:00
moodler df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
stronk7 2ed07cc70a Solved bug 1491 in all the "linking" filters.
(http://moodle.org/bugs/bug.php?op=show&bugid=1491)
Bugfix 001
2004-05-30 01:00:16 +00:00
stronk7 f878539f42 Applied some changes to filter (not commited before 1.3 due its proximity).
I think it solves Bug 1487 and makes things a bit clear in this filter...
(http://moodle.org/bugs/bug.php?op=show&bugid=1487)
2004-05-27 23:32:55 +00:00
stronk7 ea596d330b Now integers < 1000 in conceps and aliases are avoided in the filter. Bug 1446.
(http://moodle.org/bugs/bug.php?op=show&bugid=1446)
2004-05-23 18:54:01 +00:00
moodler ae6f861d20 A problem with brackets was reported, but I couldn't duplicate it.
Just in case, I've added an escape for them.
2004-05-20 03:37:57 +00:00
moodler 4da52954df Escape some concept strings that can cause trouble in eregi 2004-03-31 07:46:59 +00:00
moodler 940fca1a36 Fixed a little bug when glossary filter called from front page or
anywhere else a course is not defined
2004-03-09 16:30:36 +00:00
moodler 08df81a8e6 Renamed dynalink.php to filter.php for consistency with other filters 2004-02-22 00:20:14 +00:00