Commit Graph

61 Commits

Author SHA1 Message Date
tjhunt
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
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
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
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
toyomoyo
fc9cb24a18 MDL-7861, fixes for workshop 2007-01-10 08:29:41 +00:00
skodak
0d905d9f34 MDL-7861 new class .icon and .iconsmall 2007-01-08 09:14:05 +00:00
skodak
d2ce367fb9 MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera) 2007-01-06 19:22:58 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
toyomoyo
dc808910e1 MDL-7861, fixing xhtml 2007-01-04 05:32:23 +00:00
skodak
7150b8ae20 MDL-7434 all images that convey information should have alt text to convey that information - part 3 2006-11-26 16:20:19 +00:00
vyshane
7ce56c1282 Removed mod/workshop:view 2006-09-22 03:28:56 +00:00
skodak
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
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
skodak
d2963541e2 Security related parameter cleanup in workshop code, please test it. No bug fixes... 2006-04-19 19:48:46 +00:00
stronk7
46867914ef Solve some wrong CVS Id tags
Merged from MOODLE_15_STABLE
2005-10-15 10:40:36 +00:00
thepurpleblob
f59e91bcf8 _variable() functions, _GET, _POST etc. changed to appropriate _param()
style functions.
2005-07-06 15:31:07 +00:00
stronk7
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
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
17db65ef3f Added visibility check to all workshop pages, see bug 2450. 2005-02-13 13:12:03 +00:00
moodler
a7b32ed3b6 Changes for XHTML and accessibility compatibility 2005-01-11 08:38:27 +00:00
gustav_delius
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
gustav_delius
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
gustav_delius
9e5b9a2084 fixed missing ) and undefined $timenow 2004-12-08 10:09:25 +00:00
gustav_delius
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
rkingdon
9a21768212 Version 2004111000 of workshop. 2004-11-12 17:28:07 +00:00
rkingdon
1bf58ea60b Version 2004092700 - tidy up of simple assignment case; addition of
password and submission late flag.
2004-09-28 15:49:49 +00:00
rkingdon
1410bd2695 Added code for remove attachments 2004-09-27 17:46:41 +00:00
rkingdon
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
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
e0b7b090d3 towards XHTML compliance 2004-09-14 20:39:28 +00:00
gustav_delius
1c5d9bbbec closed some br tags 2004-09-12 22:29:44 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
gustav_delius
a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +00:00
rkingdon
4cd23ea295 Version 2004081100: auto grading of assessments. 2004-09-07 16:17:32 +00:00
gustav_delius
c83712b3de fixed my own typo, bug 1798 2004-08-26 22:22:56 +00:00
gustav_delius
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
gustav_delius
067675c006 introduced the fullname() function in a lot of places. Still not complete though, especially in sorting. 2004-08-20 20:12:48 +00:00
moodler
d85035457f Convert firstname lastname to fullname() calls, fixing bug 1726 2004-08-17 05:19:21 +00:00
rkingdon
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
moodler
1bf4c86205 Suppress warnings on set_time_limit 2004-05-18 14:14:47 +00:00
rkingdon
b082b2c641 Fixed Bugs #1059 and #1061. 2004-03-12 15:28:52 +00:00
stronk7
7c11319ad7 Modified calls to add_to_log() function to include cmid at the end. It was missing
in "over allocatio" and "grade" logs.
2004-02-15 20:03:28 +00:00
stronk7
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
rkingdon
9748030a8f Fix bug in Analysis of Assessments 2004-01-20 17:25:45 +00:00
rkingdon
bfd68abc58 Added the setting of League Table options to the Administration page. 2003-12-05 17:55:54 +00:00
rkingdon
dc610c361a Correction to Final Grades. 2003-12-04 18:45:55 +00:00
rkingdon
285b8f7fef New version (2003113000), Analysis of Assessments added. 2003-12-01 12:19:48 +00:00
rkingdon
7c54bd509a Fixed bug stopping the calculation of final grades. 2003-10-16 17:17:19 +00:00