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...
moodler [Sat, 29 Jan 2005 09:49:42 +0000 (09:49 +0000)]
MAJOR NEW FEATURE: Tracking of read/unread posts
Many thanks to Mike Churchward for his work on this and persevering
with sending updated versions to me. :-)
Shane and I have polished it up, rewritten a few parts (display-related)
and here it is, finally in CVS!
I think there will still need to be some optimisation for the SQL,
since it's still pretty intensive. Perhaps some sort of caching in
the session that gets modified along with the database whenever
something gets read.
However if there are problems the whole thing can be switched off
in the forum module config so this is not crucially urgent.
dhawes [Sat, 29 Jan 2005 04:45:57 +0000 (04:45 +0000)]
fix bug reported by Martin D. - now when you edit a feed you are returned to a page with the full feed listings rather than just the edited feed. As an added bonus when editing a feed you will see that feed's data on the edit page instead of simply the edit form.