Commit Graph

34 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
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
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
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
1c4e73b614 Now teachers can again grade assessments. Also various tweaks of admin interface. This is work in progress. Heavy testing and further development will take place during the coming days, so consider this code as unstable. 2004-12-09 09:34:43 +00:00
ab98918f09 Workshop module now works with dates rather than phases, see http://moodle.org/mod/forum/discuss.php?d=15541. 2004-12-05 11:49:18 +00:00
b6cc3466aa Fixed bug in the "checking for a rapid submission" code. 2004-11-15 18:18:43 +00:00
9a21768212 Version 2004111000 of workshop. 2004-11-12 17:28:07 +00:00
1bf58ea60b Version 2004092700 - tidy up of simple assignment case; addition of
password and submission late flag.
2004-09-28 15:49:49 +00:00
a557e354ed Version 2004092400 - in line student submission (plus attachments);
addition of on-the-fly grading of assessments; some bugs cleared.
2004-09-27 14:41:17 +00:00
21de6ca1db Integration of new centralised file upload code with workshop module.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-57
    2004-09-14 23:37:49 GMT
    Penny Leach <penny@catalyst.net.nz>
    added important instruction to handlevirus.php

Full logs:

Revision: moodle--eduforge--1.3.3--patch-57
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Wed Sep 15 11:37:49 NZST 2004
Standard-date: 2004-09-14 23:37:49 GMT
Modified-files: admin/handlevirus.php
    mod/workshop/locallib.php mod/workshop/upload.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-57
Summary: added important instruction to handlevirus.php
Keywords:
2004-09-15 00:03:04 +00:00
e0b7b090d3 towards XHTML compliance 2004-09-14 20:39:28 +00:00
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
4cd23ea295 Version 2004081100: auto grading of assessments. 2004-09-07 16:17:32 +00:00
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
dbda4a92ad Split lib.php into locallib.php and lib.php;
Fixed bug # 1435;
Possibly fixed bug #1489
2004-06-18 09:24:20 +00:00
530931dd21 Modified calls to add_to_log() function to include cmid at the end. It was missing
in "resubmit" logs.
2004-02-15 20:07:21 +00:00
d09ce61d1a Modified calls to add_to_log() function to include cmid at the end. It was missing
in "league_table", "submit" and "assess" logs.
2004-02-15 19:37:26 +00:00
9748030a8f Fix bug in Analysis of Assessments 2004-01-20 17:25:45 +00:00
1d23070249 Cosmetic change to index.php list; Logging of phase changes in a workshop; tidy up of log_display entries - thus the new version; 2003-10-08 18:15:22 +00:00
12fbf6995e Version 2003100200: improved handling of resubmissions (new field added to workshop_assessments) 2003-10-05 19:00:43 +00:00
bd89f04f53 Minor corrections, addition of rubics table - July 2003 2003-07-15 15:24:58 +00:00
d22d31c659 Workshop module from Ray Kingdon
This version is still beta!
2003-05-01 13:16:58 +00:00