478 Commits

Author SHA1 Message Date
moodler
3ac1dedc35 Added some popup help for topic/week summaries 2003-03-11 05:57:00 +00:00
moodler
1e5a2bf584 You can now use Richtext editor to edit section texts, plus the page is a
bit more consistent now
2003-03-11 05:43:39 +00:00
moodler
068e57cebc Courses are forced to have unique shortnames (see bug 299) 2003-03-01 12:52:04 +00:00
moodler
7a361c8b55 Removed save_session() - no longer needed. 2003-02-27 02:46:37 +00:00
moodler
ff20ee79f6 Use caching if necessary, so that teachers can't lock themselves out
accidentally during the current session.
2003-02-26 05:58:44 +00:00
moodler
d92a53d182 No need for ismainteacher() ... it's enough to check that the user is
a teacher in a course, and a creator.
2003-02-26 05:55:31 +00:00
moodler
c0f271aa5c Cleanups for course creator. 2003-02-26 04:18:46 +00:00
paca70
d7466bdecb Redirect teachers to course after coursecreation. 2003-02-25 10:45:37 +00:00
moodler
5b337cdf3b No need for course creators to have a link to the admin page. 2003-02-25 04:22:57 +00:00
moodler
8b2fc31ce0 Fix link in admin links 2003-02-25 03:57:14 +00:00
paca70
1924074c76 Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
moodler
2a231ed650 Remove English word 'ago' 2003-02-16 09:22:52 +00:00
moodler
de5aabd2d2 Password had no default 2003-01-20 09:30:24 +00:00
moodler
fdf5a1e2fb Changes to Course catagery editor to prevent duplicates 2003-01-17 02:03:42 +00:00
moodler
722d4d1e14 Cleaned up the logic a bit 2003-01-16 11:57:34 +00:00
moodler
dcde9f020a Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
2003-01-15 10:55:54 +00:00
moodler
7af6281f22 Don't bother working with empty course modules (can happen when an
module is uninstalled improperly)
2003-01-14 14:56:57 +00:00
moodler
9ae687afb0 A little more robustness 2003-01-13 14:11:05 +00:00
moodler
13770d0c36 More fixes for robustness 2003-01-13 12:16:46 +00:00
moodler
ce78926df0 Small robustness fixes 2003-01-06 13:55:37 +00:00
moodler
3bd402300e Shot down some rebel strings 2003-01-06 02:43:50 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
8b3235f57f Fixes to use new mysql module with frame 2003-01-05 12:00:57 +00:00
moodler
607809b3ba OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS  etc

Secondly, if gdversion == 0 (ie GD is not installed) then:

 - users are not even allowed to upload new images
 - graphs now just print a message instead of failing.

this allows Moodle to still be used even if GD is not present
2003-01-05 06:45:20 +00:00
moodler
15ac90653d Replaced &sect with &sect to avoid some buggy browsers 2003-01-03 05:33:17 +00:00
moodler
14217044a5 Some little fixes 2003-01-02 15:25:51 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
a44d18e70e More consistency when printing editing stuff in section 2003-01-02 06:44:20 +00:00
moodler
1c0200e074 More little robustness things 2003-01-01 08:21:19 +00:00
moodler
30d6173ed6 Fixes for Log display 2003-01-01 07:37:19 +00:00
moodler
13469b820d Introduce links to personal grade page 2003-01-01 07:03:23 +00:00
moodler
1df0ab5d8d Cleaned up a bit 2003-01-01 06:53:00 +00:00
moodler
b0cef1ec45 Grade display for current user 2003-01-01 06:42:11 +00:00
moodler
c2045f3436 Changes for robustness 2003-01-01 06:41:35 +00:00
moodler
5eda92d0e2 Little robustness fixes 2002-12-30 15:47:54 +00:00
moodler
814ada432c Fixes to XLS routines that were causing some problems 2002-12-30 15:46:15 +00:00
moodler
149f85f035 Robustness fixes 2002-12-30 06:07:03 +00:00
moodler
bdece65d72 More debugging 2002-12-30 05:31:54 +00:00
moodler
47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +00:00
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