Commit Graph

66 Commits

Author SHA1 Message Date
Frederic Massart 61fce28459 MDL-49231 mod_glossary: External function view_entry 2015-12-31 15:18:36 +01:00
Yuliya Bozhko 369484bf87 MDL-47033 general: Fix incorrect use of 'course' layout
It should use 'incourse' layout in most cases

Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-09-05 09:25:43 +12:00
Marina Glancy 7c92f9be80 MDL-40059 glossary: event for entry viewed 2014-03-21 15:48:51 +08:00
Damyon Wiese 74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c.
2013-08-21 13:42:30 +08:00
sam marshall ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00
Ankit Agarwal e0a91e119a MDL-34467 glossary: Repalce all instances of get_context_instanc() with respective context_XXX::instance() 2012-07-27 13:25:24 +08:00
sam marshall f5f19eb70e MDL-31647 Glossary: Links to glossary entries from glossary main page should not be popups 2012-02-17 10:36:18 +00:00
Petr Skoda 595646d15b MDL-28344 remove the unused $CFG->framename 2011-07-14 21:40:50 +02:00
Andrew Davis 0700c5c464 glossary MDL-23423 separated showentry.php into ajax and non ajax version and fixed a failure exposed by MDL-23739 2010-08-13 02:02:41 +00:00
Petr Skoda bce08d9a37 MDL-23739 improved ajax headers - now using application/json with the exception of YUI upload 2010-08-10 08:50:08 +00:00
Andrew Davis 7ee9d9c881 glossary MDL-23423 converted glossary autolinker to use an overlay rather than a popup 2010-07-27 01:32:51 +00:00
Andrew Davis 6528fe6b32 glossary MDL-23369 unnecessary elements when displaying glossary entries in a popup 2010-07-19 02:57:18 +00:00
Andrew Davis 218c0385ae glossary MDL-22678 made the close window button only appear if showentry.php is being shown as a popup 2010-06-08 06:25:57 +00:00
Eloy Lafuente 2e300e139a NOBUG: Fix some queries preventing showentry "popup" to work 2010-06-04 08:26:11 +00:00
Petr Skoda a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Sam Hemelryk 5633445f59 glossary MDL-19809 Fixed deprecated call to error 2009-12-07 06:06:58 +00:00
Eloy Lafuente d3c68b087d MDL-21029 glossary - fix display of entries belonging to site/course global glossaries ; merged from 19_STABLE 2009-12-05 17:46:58 +00:00
Petr Skoda e657980dfd MDL-20928 fixed glossary entry access control 2009-11-22 10:35:20 +00:00
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
samhemelryk 5fa0208ec3 mod-glossary MDL-19809 Added set_url calls, replaced deprecated functions 2009-09-24 07:29:14 +00:00
samhemelryk e6855d1aa0 mod-glossary MDL-19809 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 03:20:35 +00:00
nicolasconnault 0578c9a2a9 MDL-19809 Converted all print_footer() calls 2009-08-06 14:13:29 +00:00
nicolasconnault 9c66862d61 MDL-19809 Migrated calls to close_window_button() 2009-08-06 02:52:00 +00:00
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