defacer [Tue, 1 Feb 2005 07:12:39 +0000 (07:12 +0000)]
Added a new class page_quiz, modelling the behavior of a quiz view page.
Not everything is quite right now, a few details (e.g. correct breadcrumbs)
have been ignored but most of the functionality is there.
defacer [Tue, 1 Feb 2005 06:55:02 +0000 (06:55 +0000)]
Even more automation: now blocks_execute_url_action() checks if the user
has sufficient rights to execute the action automatically. It's therefore
safe to call without ANY checks being done first.
defacer [Tue, 1 Feb 2005 06:24:28 +0000 (06:24 +0000)]
Refining the way that blocks work: now you don't have to know anything
about what editing the blocks adds to your URL. blocklib will take care
of that internally.
martinlanghoff [Tue, 1 Feb 2005 01:47:45 +0000 (01:47 +0000)]
Merged from MOODLE_14_HEAD - Better behaviour of fix_course_sortorder() -- related to bug #2334 -- includes version bump to clear out recalcitrant sortorders
defacer [Mon, 31 Jan 2005 02:18:15 +0000 (02:18 +0000)]
Dropping the use of MOODLE_PAGE_COURSE <gasp>!
The new constant is PAGE_COURSE_VIEW, and it's more streamlined with the
new CSS-related ids for 1.5. There are great possibilities for the future
here, so we 're getting ready.
On the other hand, this has to be the ugliest hack I 've ever inflicted
on any program (look at pagelib.php). Thankfully it will only stay for just
a little while.
defacer [Mon, 31 Jan 2005 00:48:23 +0000 (00:48 +0000)]
Fixing my buggy implementation of isteacherinanycourse().
This fixes bugs 2455, 2456 and maybe some others Eagle Eyes didn't have
the time to find. ;-)
urs_hunkler [Sun, 30 Jan 2005 23:32:05 +0000 (23:32 +0000)]
this is a theme for Moodle for pdas. together with the course format "pda" it can be used for small screens. I started to define width of the blocks and the content to 240px. I tested it on a sony th 55 - it looks quite promissing. It's just a start ...
urs_hunkler [Sun, 30 Jan 2005 23:09:35 +0000 (23:09 +0000)]
this is a course format for pdas. I changed the three column layout to a three row layout - the content is shown in one long row.
* first the content of the left column
* beyond the courses
* at last the content of the right column
It hasn't got a name to select in the language pack yet, so please selct it by [[formatpda]].
stronk7 [Sun, 30 Jan 2005 22:49:24 +0000 (22:49 +0000)]
Nothing todo here. New fields were there! B-)
But I've spent sometime trying to simulate one exercise and
I haven't been able to do it. Probably my own stupidity, but
things didn't work as I expected! :-(
stronk7 [Sun, 30 Jan 2005 11:39:12 +0000 (11:39 +0000)]
added support for:
- user->policyagreed:
if the destination server is different, reset it
- user_students->enrol and user_teachers->enrol
if not set or the destination server is different, set it to $CFG->enrol
somethings should be modified in the rest of moodle:
- update all the 'manual' entries to 'internal'
- modify the enrol_teacher() to use $CFG->enrol by default
- make every enrol method set this field properly.
- perhaps, mark metadata users with a new value too.
urs_hunkler [Sun, 30 Jan 2005 11:21:13 +0000 (11:21 +0000)]
added odd and even to the comments /* Alternate rows even */ and moved them to before the classes. so they can stay there and inform the reader about the function of r0 and r1.
defacer [Sun, 30 Jan 2005 04:39:55 +0000 (04:39 +0000)]
Merged from STABLE:
Stopgap measure for the wrong behavior discussed in SC#87.
I believe this ensures the required behavior, but we may still change
it because it can be confusing...