Commit Graph

31 Commits

Author SHA1 Message Date
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
Martin Langhoff f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
moodler 0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +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
moodler bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
skodak 200514e282 some bugfixing and proper conversion to new xxx_param() functions - SC#148 2006-04-17 21:14:50 +00:00
moodler 960beea394 Merging fixes from stable 2006-04-05 03:19:36 +00:00
moodler 3a6b53e80d Replaced optional_var with optional_param 2005-12-07 03:30:59 +00:00
moodler fa22fd5fff BIG FEATURE - MULTIPLE GROUPS
Users can now be assigned to multiple groups.  Thanks Yu!
Break out the Bob Marley!!

Otherwise groups work more or less like they did before.

This has been pretty well tested by Yu and myself, but since Yu started
uncovering lots of existing groups bugs it's possible there may be still
a few corner cases still lurking here and there.

Please help test this thoroughly for 1.6!!
2005-11-08 07:19:27 +00:00
stronk7 11c657f092 Now exercise->name supports filterall. 2005-03-27 23:52:56 +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
moodler f1c1d2f166 Removing the THEME variable and adding in classes where appropriate 2005-02-10 10:41:22 +00:00
rkingdon b14f1130a3 Non-editing teacher not allowed to change the phase of a Exercise nor
delete the teacher's submission(s).
2004-10-17 16:00:54 +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 1c5d9bbbec closed some br tags 2004-09-12 22:29:44 +00:00
gustav_delius b4510d5333 closed some input tags 2004-09-12 22:23:51 +00:00
gustav_delius 41905731b7 fixed capitalization and quoting of attribute values 2004-09-12 16:24:41 +00:00
rkingdon e10bb9b327 Addition of Password option - version 2004090200 2004-09-03 09:26:17 +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
rkingdon 9e6f39a42a Fixed comparison of assessments for error banded and criterion grading. 2004-08-20 09:08:33 +00:00
rkingdon 94cc7ed0f1 Removal teacher assessment of student assessments; addition of Groups,
various improvements.
2004-08-06 14:42:23 +00:00
rkingdon c8c6d4e0dc Split lib.php into lib.php and locallib.php;
Minor change: admin listings now in Surname order
2004-06-18 13:55:10 +00:00
moodler 037f99aa2d Upgraded add_to_log to send cm->id 2004-01-31 15:22:04 +00:00
rkingdon f43c849f7e A new version (2003121000). Fixes to backup/restore. Addition of "late"
work and the reduction of the number of phases to 3 (from 4).
2003-12-24 14:43:24 +00:00
rkingdon 178761415f Change to the handling of Error Banded asessments; Removed percentages
from grades.
2003-11-13 16:25:33 +00:00
rkingdon 6e1cedb5e4 Fixed a bug, referenced a non existent help file. 2003-11-05 18:31:11 +00:00
rkingdon df5405996c Fixed a bug with re-submissions. Added options for the League table of submissions (show in phase 4). 2003-11-05 18:02:06 +00:00
rkingdon 563f606731 Minor mods to phase 3 display for students.. 2003-11-04 17:19:07 +00:00
rkingdon b896875293 Additional information exercises page (index.php). 2003-10-12 17:19:19 +00:00
moodler 69901d1994 First main-tree version of the Exercise module (formerly in contrib)
by Ray Kingdon.

Works quite well, but it's not clear yet if this will be part of
major releases (due to the overlap with assignments and workshops
and the confusion this may cause).
2003-10-07 14:54:21 +00:00