689 Commits

Author SHA1 Message Date
moodler
9c9f7d7790 Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
6aeec7f8f8 Fixes for log display 2002-12-23 10:27:57 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
19801b2b21 More little fixups for week 0 2002-12-22 06:45:09 +00:00
moodler
d26d7ed0c3 Changes to make things work again :-) 2002-12-22 06:15:44 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
393cc5088b Improved course listing display when no courses 2002-12-15 06:00:58 +00:00
moodler
2e9e77eba0 Tweaks for highlighting 2002-12-13 08:12:14 +00:00
moodler
bfca4cffdc Different styles for content when week is highlighted 2002-12-13 07:37:47 +00:00
moodler
6daa3c2329 More hooks to hang styles from 2002-12-13 03:14:19 +00:00
moodler
31313bfb98 Fixed layout with multiplem categories 2002-12-12 02:58:05 +00:00
moodler
c78a72fc5b Added a slash. Wow! 2002-12-11 16:30:53 +00:00
moodler
d7facad81e Modifications from Greg Barnett at Crown College to add more admins.
See http://bugs.moodle.org/bug.php?op=show&bugid=202
2002-12-11 14:59:37 +00:00
moodler
e545445874 More fixes for course formats 2002-12-09 14:07:52 +00:00
moodler
920bb7ab2f Fix typo 2002-12-09 13:45:44 +00:00
moodler
1d43ffdeab Font size tweaks 2002-12-09 13:40:18 +00:00
moodler
7541bc3e87 More styles 2002-12-09 13:36:55 +00:00
moodler
469e5eb18e More style and layout tweaking 2002-12-09 12:09:33 +00:00
moodler
42fddf0237 Finish off topics display 2002-12-09 09:03:15 +00:00
moodler
fb23e3cbb9 Slight changes 2002-12-09 08:53:49 +00:00
moodler
776dc2709f Allow print_all_courses to have width 2002-12-09 07:52:47 +00:00
moodler
5e367a2d56 Various little tweaks to improve the display of course home
pages and front page ... still have some work to do though
2002-12-09 07:35:40 +00:00
moodler
7a4c13797a Default with showrecent ON 2002-12-09 06:35:14 +00:00
moodler
467aaec630 Small changes to tables to make them display better with Japanese 2002-12-07 08:39:24 +00:00
moodler
bea7a51e3c Slight change to get rid of leading zeroes in dates 2002-12-02 01:13:14 +00:00
moodler
39246b72f8 Some colour difference for my courses .... I'm not sure about it ... 2002-11-29 14:22:34 +00:00
moodler
85098089d1 Some improvements to the layout of courses when there are categories
and they are on the front page
2002-11-29 14:17:36 +00:00
moodler
71d552f677 Fix display of grades when there aren't any grades 2002-11-26 02:36:16 +00:00
moodler
c351cf2799 For long courses reduce the text printed on x axis 2002-11-21 16:19:19 +00:00
moodler
d751ddcb5d Reduce errorlevel reporting 2002-11-21 16:07:58 +00:00
moodler
3b9a79f977 Fixes to allow graphs to be translated 2002-11-21 14:57:10 +00:00
moodler
6e07f68039 Fixed background colours of recent activity and news 2002-11-20 15:24:34 +00:00
moodler
bd4707bf29 Er.. aligned center works better ;-) 2002-11-20 09:41:02 +00:00
moodler
68e1b65291 Fixed alignment on category boxes in some circumstances 2002-11-20 07:18:55 +00:00
moodler
62c13a2f3e Changed all references of %e to %d to fix strftime on Windows 2002-11-19 14:27:57 +00:00
moodler
60459ef768 Added Authentication to admin_links 2002-11-19 09:55:54 +00:00
moodler
13beeacbcd New course option to enable/disable display of "recent activity" 2002-11-12 04:26:16 +00:00
moodler
7304b852cd Slightly more info in error message 2002-11-11 08:25:05 +00:00
moodler
7c0f298426 Update course cache when modules are moved up or down 2002-11-10 14:45:11 +00:00
moodler
c408b0c49b print_section now uses cached course modinfo to lessen load in database 2002-11-10 08:55:11 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
9a22359743 Fixes to course display, tidy up of some code (could do with more)
and mainly - addition of section 0 display.
2002-11-07 09:30:41 +00:00
moodler
22710216f2 Add link to module editing ... back to module type list 2002-11-06 08:24:29 +00:00
moodler
65ccdd8cc8 When using loginas to be a student, you can now return to being
yourself using a link in the footer.  Improvements to footer display
2002-11-06 07:54:44 +00:00
moodler
ed4ed0939b Weekdays are now calculated using userdate, so that
- they are relative to the user
  - they should take advantage of locales etc
2002-10-25 02:11:58 +00:00
moodler
4313922f65 Fix for category box display on IE 2002-10-24 12:49:53 +00:00
moodler
4db9d14dad Don't show column grade when there's nothing to show 2002-10-21 08:19:15 +00:00
moodler
912c058651 Grades are not always numbers, so take care in XLS writing 2002-10-21 06:55:01 +00:00
moodler
e5dfd0f31f Improvements to help, and addition of new "Activity modules" help
for teachers adding new modules.
2002-10-21 03:00:40 +00:00
moodler
2a439ba7f6 ***NOTE NOTE NOTE **********************************************************
THIS IS A BIG CHANGE!

I've renamed the "reading" module to "resource".

This meant changing quite a few references throughout Moodle.

The automatic upgrade process should work OK (it worked OK on my
development server) and there shouldn't be any problems.

BUT PLEASE PROCEED WITH CAUTION AND KEEP BACKUPS OF EVERYTHING
UNTIL I HAVE A FEW MORE TESTS!   If you upgrade please let me know.

One thing that will break are any hard-coded links within forum messages.

What I will be doing to fix this on my apache server is to add this to
httpd.conf:

Redirect /mod/reading/ http://moodle.com/mod/resource/

Sorry about any inconvenience, but it's better this is done sooner than later.
2002-10-17 14:03:59 +00:00