Commit Graph

23 Commits

Author SHA1 Message Date
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
0baafc173a Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-09 21:43:28 +00:00
263017bbdd MDL-10888: groupings - mod/workshop - add grouping support 2007-09-06 01:35:37 +00:00
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
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
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
e210cd9447 Breadcrumbs: mod/workshop changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:35:36 +00:00
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
fc9cb24a18 MDL-7861, fixes for workshop 2007-01-10 08:29:41 +00:00
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
7ce56c1282 Removed mod/workshop:view 2006-09-22 03:28:56 +00:00
6b9a1fec8f initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?) 2006-09-06 08:41:47 +00:00
82e6ea72a9 Bug #5684 - frameset page in UTF8 doesn't appear on IE; merged from MOODLE_16_STABLE 2006-06-01 14:50:41 +00:00
d2963541e2 Security related parameter cleanup in workshop code, please test it. No bug fixes... 2006-04-19 19:48:46 +00:00
46867914ef Solve some wrong CVS Id tags
Merged from MOODLE_15_STABLE
2005-10-15 10:40:36 +00:00
f59e91bcf8 _variable() functions, _GET, _POST etc. changed to appropriate _param()
style functions.
2005-07-06 15:31:07 +00:00
b79aa685fb Finally we have to use the 'nomatch' because we can come
from other script (assess.php).

filterall work in progress.
2005-04-10 18:22:18 +00:00
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
17db65ef3f Added visibility check to all workshop pages, see bug 2450. 2005-02-13 13:12:03 +00:00
a7b32ed3b6 Changes for XHTML and accessibility compatibility 2005-01-11 08:38:27 +00:00
eb89027f5b More changes to the user interface. See http://moodle.org/mod/forum/view.php?id=740. 2004-12-12 11:20:07 +00:00