Commit Graph

35 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
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 631264347b fixed bug #5572 missing PARAM_CLEAN; merged from MOODLE_16_MOODLE 2006-05-22 06:00:51 +00:00
skodak 34ffb5cae2 some extra cleaning of comments and feedback before storage. normaly the text is cleaned before display, this is just a preventive measure because I did not want to study this code all day ;-) 2006-04-19 20:10:04 +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
stronk7 6a2c151a9e Replacing some HTTP_POST_VARS uses because it doesn't work always!
Using data_submitted() or $_POST

Merged form MOODLE_14_STABLE
2005-04-02 17:45:29 +00:00
stronk7 11c657f092 Now exercise->name supports filterall. 2005-03-27 23:52:56 +00:00
moodler 07b9b0b94d Removing HTTP_POST_VARS which isn't always there 2005-03-10 05:19:49 +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 65d92fbcd9 Fixed bug #1952. 2004-09-20 15:01:41 +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 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
gustav_delius a9ef4a630a closed <input /> <br /> <hr /> 2004-09-12 14:41:49 +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
rkingdon 9e6f39a42a Fixed comparison of assessments for error banded and criterion grading. 2004-08-20 09:08:33 +00:00
rkingdon 46b64701ab Correction to the Error banded assessment grade. 2004-08-17 23:29:43 +00:00
rkingdon 3c4a6298bc Fixed bug #1642. 2004-08-11 10:47:43 +00:00
rkingdon 8bd6b4a2b1 Addition of Grade Analysis tables to Administration page; Re-grading of
student assessemnts.
2004-08-11 10:23:55 +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
rkingdon 6a6f95c3cb Fix minor bug in Administration page. 2003-12-01 17:18:08 +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 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 3d24fbafb5 Minor fix in assessments.php. Revisions to backup and restore to always include teacher's submissions. 2003-11-03 18:45:05 +00:00
rkingdon c50365cd38 Fix to the Complete isting. Upload now checks the submission for spurious re-submission caused by using the Back button. User and Teacher deletions of submissions are now logged. Redirect delay when marking submissions shortened to one second. 2003-11-01 17:25:13 +00:00
rkingdon 0d1bd24dad Index.php now ignores grading grades; Teacher Assessment Table added to Administration. 2003-10-30 17:45:47 +00:00
rkingdon 32a2b23f43 More information to teachers on resubmissions. Add submission entry to log only if upload is successful. 2003-10-16 17:35:01 +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