Commit Graph

103 Commits

Author SHA1 Message Date
danmarsden
8c74e3f676 fix for MDL-11063 - thanks to Wen for the patch. 2007-10-22 21:25:06 +00:00
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
6d5b7706da MDL-10888: groupings - mod/choice - updated to support groupings 2007-08-27 21:52:35 +00:00
skodak
3a233b85c5 MDL-10947 https was replaced with httpss when wwwroot already is https credit goes to Tobias Marx 2007-08-22 19:36:24 +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
danmarsden
243ac1feb4 MDL-8394 Allow students to remove their choice when they are allowed to update their choice. 2007-05-03 00:04:53 +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
161fbddf13 Breadcrumbs: mod/choice changes
- Modified to use build_navigation() for breadcrumb generation.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:02:24 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
moodler
c1afef8059 FIxed up the intro boxes XHTML Strict 2007-01-11 08:06:15 +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
danmarsden
a337045d86 merged choice fix from Stable MDL-7171 2006-10-31 19:00:55 +00:00
moodler
523e1a21ff Merged choice fixes from stable 2006-10-23 07:01:18 +00:00
moodler
4e19d85bd9 Merged choice/guest fixes from stable MDL-7171 2006-10-23 03:00:30 +00:00
skodak
86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +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
danmarsden
019c47d6c1 Fixes bug 5464 also makes response clearer to students -see:
http://moodle.org/mod/forum/discuss.php?d=45504

also finishes off Bug 662
2006-05-15 23:24:42 +00:00
skodak
69e3c41688 page parameter cleanup 2006-04-23 21:07:44 +00:00
gustav_delius
87b18f4ab7 Fixed call to required_param() 2006-04-05 07:46:52 +00:00
danmarsden
acaf7b86e3 Bug Fixes for:
Bug 5042
Bug 4600
Bug 4021
Bad code - need to check vars aren't empty b4 using them!
2006-04-04 23:03:15 +00:00
danmarsden
90ca2ce87d fixed bug with limits not limiting for only enrolled students - limit was counting non-enrolled students as well. - also removed checkboxes to delete response from not-answered column. 2006-02-23 21:20:44 +00:00
danmarsden
348630d87e moving duplicated code into Lib.php as functions & clean up the code a bit. - also now include users group info in text/excel downloads. - preparation for new choice block! 2006-02-23 01:20:24 +00:00
danmarsden
df5fb55cbc Bug #4452 link names to profiles 2006-02-09 21:50:21 +00:00
danmarsden
c100a341a6 Bug 3768 - Release is now a reserved word in MySql 5 2006-02-08 23:46:21 +00:00
moodler
39ee02a3b1 Various old fixes that had not been checked in 2006-01-05 07:09:35 +00:00
thepurpleblob
ac04332685 Removed check for student/teacher on submit and replaced with check for (not)
guest, as (a) it didn't stop guests and (b) it broke the studentview mode
2005-09-20 09:22:06 +00:00
danmarsden
3ddb684e57 Fixes for Bug #3876, Bug #3816 2005-08-14 21:59:09 +00:00
thepurpleblob
440dcd3123 require_variable() changed to required_param(). 2005-08-09 12:07:09 +00:00
danmarsden
af834f3e7c Bug #3623 - doesn't like when $value = 0 2005-06-27 00:58:24 +00:00
thepurpleblob
07bc47e0e5 require_variable() replaced with required_param() 2005-06-10 11:09:39 +00:00
danmarsden
9e1fc2da9c XHTML fix, 2005-05-23 22:13:15 +00:00
danmarsden
5634beeaa5 -shouldn't have been using Javascript there! - few more fixes coming. - choice mod limit function doesn't seem to be working properly - doesn't seem to display results anymore! 2005-05-18 21:50:45 +00:00
moodler
51e041f42e Prettied up choice with some styles (could use work) 2005-05-05 18:34:20 +00:00
moodler
232b51bb7b SPacing fixes 2005-04-22 19:17:06 +00:00
thepurpleblob
86cc5db12a get_record(...)->field generates a parse error on my machine, so I split
it into two steps where it occurs.
2005-04-15 08:13:27 +00:00
danmarsden
cabf7c2397 show user what selection they made when updates are not allowed. 2005-04-15 01:40:22 +00:00
danmarsden
c9ff813c41 new limit feature in choice. 2005-04-14 21:10:39 +00:00
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
danmarsden
7b056dd39a problem with "not answererd yet" column on anon responses page. - diplaying admins and hidden teachers. 2005-04-12 20:49:51 +00:00
danmarsden
03ff2092c4 $options used by something else. 2005-04-07 22:22:22 +00:00
stronk7
524d7b9a7b One missing string to make choice->name works under filterall
(showing anonymous results)
2005-04-05 23:08:00 +00:00
danmarsden
af40722cc5 Fix for Bug #2435 - Hidden teachers and site admins are shown in no response list. 2005-04-05 00:35:05 +00:00
danmarsden
9bf3c5de4f Bug #2084 - Choice module has no "save my choice" for admin - missed a bit.... :-) 2005-04-01 03:33:44 +00:00
danmarsden
bd3ba1ddaf Bug #2084 - Choice module has no "save my choice" for admin 2005-04-01 03:26:35 +00:00
danmarsden
1c49ca9a09 Fix for Bug #2452 - Choice shows a bad number of answers 2005-04-01 02:37:19 +00:00
danmarsden
74550a3cbd this time..... :-) 2005-03-31 23:58:37 +00:00