43 Commits

Author SHA1 Message Date
skodak
ae8c356614 MDL-15109 glossary dml conversion 2008-06-08 10:43:39 +00:00
dongsheng
8a274bcde4 "MDL-14129, fix print_error" 2008-06-06 05:50:45 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
f3c8392617 Breadcrumbs: mod/glossary changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:16:38 +00:00
toyomoyo
5bd76d7fba merged fix for MDL-9097, xhtml fixes for glossary 2007-03-30 07:04:43 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
skodak
1936c10e54 fixed obsoleted use of course->category to find site course - now used SITEID instead MDL-1899 2006-11-12 08:55:13 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
stronk7
cd58557ae0 Close properly the showentry page. Bug 5986.
(http://moodle.org/bugs/bug.php?op=show&bugid=5986)

Merged from MOODLE_16_STABLE
2006-07-16 09:01:03 +00:00
stronk7
f84b602b44 Too much restrictive optional_param was producing
some undesired efects with formats. Bug 4858.
(http://moodle.org/bugs/bug.php?op=show&bugid=4858)

Merged from MOODLE_15_STABLE
2006-04-30 10:07:36 +00:00
skodak
9bc78f8456 fixed typo PARAM_CLEAR 2006-03-15 18:08:24 +00:00
stronk7
10c581fcc6 We were being too much strict and concepts can contain quotes and
other characters. Bug 4543.
(http://moodle.org/bugs/bug.php?op=show&bugid=4543)

Merged from MOODLE_15_STABLE
2006-01-07 12:31:48 +00:00
moodler
aa8139414e Replaced optional_var with optional_param 2005-12-07 06:21:58 +00:00
stronk7
5bd9aa933a Now glossary->name is working under filterall. It was really complex!
Just thinking about to add support for filterall inside:
   - category->name
   - concept->name
   - filter!
2005-03-30 11:14:19 +00:00
moodler
a736e963a5 New log entry to show when a glossary entry is viewed 2005-03-10 14:38:04 +00:00
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
gustav_delius
41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
moodler
359f27588b Merged from stable 2004-08-26 15:21:57 +00:00
stronk7
a359c29b79 Bulk changes to support plugin-formats in glossaries.
See the TODO.txt to get details about pending tasks.
The db upgrade should work fine (not tested under postgresql).
The plugin architecture is finished too.
See Bug 936.
(http://moodle.org/bugs/bug.php?op=show&bugid=936)
2004-07-27 17:19:47 +00:00
stronk7
7856dd5949 Opps. I forgot to commit this files yesterday... :-(
This close Bug 1370
(http://moodle.org/bugs/bug.php?op=show&bugid=1370)
2004-05-15 17:27:50 +00:00
stronk7
4528ab53dd Added missing Id: cvs tag. Bug 1394
http://moodle.org/bugs/bug.php?op=show&bugid=1394
2004-05-14 19:36:39 +00:00
moodler
ff62c65990 Some fixes to headers 2004-05-02 02:25:04 +00:00
moodler
31085e5057 Don't require login to site level glossary entries 2004-05-02 02:13:58 +00:00
moodler
916ac02608 No functional change, just me moodling 2004-01-30 07:29:08 +00:00
moodler
77362fa9ce A very quick and dirty try .... Williams? What do you think? 2004-01-17 10:18:12 +00:00
moodler
0f32a7f3f9 Require user to login to see glossary entries (if a course is specified) 2004-01-16 11:39:40 +00:00
willcast
b191803470 - Now you can override the display format of a glossary (useful to certain display format -asked by Tom Murdock-, automatic linking, etc) 2003-11-18 00:41:35 +00:00
willcast
1ac87c7397 - Rewrite of the internal API in order to, hopefully, create an easy way to handle the flow of data internally and externally.
- Adding a new frame: Browse by Author
- A new, friendly way to show entries (asked by Martin): view?id=cm&mode=term&hook=[concept | alias ]
- Handling user activies, outline and complete.
- Properly showing new entries in recent activity box.
- Adding a flag to categories to specify if a category should or should not be automatically linked.
- Adding some missing strings and files as well.
- Adding a field to each glossary that specify how many entries by pages it should show.
2003-11-15 15:55:47 +00:00
willcast
4403d2b89c - Setting as optional the course id so, by default, it look for entries in global glossaries (unless a glossary is specify that will search in both). 2003-11-09 03:29:25 +00:00
willcast
0de786f7da - Global glossaries now available. All current rules apply to its entries. 2003-10-29 23:33:54 +00:00
willcast
4d4c38f3fe - Fixed some bugs detected with Jeff's glossary (mostly with dynalink link feature) 2003-10-21 13:27:48 +00:00
willcast
3dfa6ce23a - Fixed another bug when showing "dynaentries" (it does not take in count the case sensitive setting) 2003-10-18 20:37:40 +00:00
willcast
cca6f7f1bb - Fixed bug when showing "dynaentries" (it showed all concepts no matter the course nor its dynasetting) 2003-10-18 20:23:29 +00:00
willcast
2ee6608ae4 - Fixed bug when showing "dynaentries" (it showed all concepts no matter the course nor its dynasetting) 2003-10-18 20:21:04 +00:00
moodler
21863a3bb4 Some modification so that the encyclopedia format looks
more like forum posts (in fact it uses the same styles)
2003-10-17 08:19:56 +00:00
willcast
dc36351d8b Case sensitive match
Whole words match
No match at all (a bit rude (you have to get down to the HTML code), no GUI so far either)
Categories are now linked too (I forced to be a case sensitive match)
You can automatically link one or several glossaries at once no matter if it is a main one or not.
2003-10-16 22:05:00 +00:00
willcast
de53b9ac25 - Duplicated entries are now shown together when a dynamic link is clicked on. 2003-09-30 02:17:09 +00:00
willcast
466ea2349a - Implementing output text filters for glossary entries
dynalink.php::glossary_dynamic_link($courseid, $text, $glossaryid = NULL)
2003-09-29 17:45:42 +00:00