martin
729be1ab37
Experimental filters to remove returns from before and after tags, which
...
should mean neater formatting of lists and so on. Needs testing.
2002-08-22 07:53:41 +00:00
martin
bd2ad32fba
Added recent upgrades (course->guest, and user->maildisplay)
2002-08-22 06:40:48 +00:00
martin
28b1e3ecec
Just some comments about not removing the Moodle logo from the front page.
2002-08-21 14:08:40 +00:00
martin
ab24749566
Fixed dates when no-one is logged in (uses server time now, not GMT)
2002-08-21 13:55:49 +00:00
martin
7363ff911f
Fixed up guest access PROPERLY - it's now more obvious and simple for teachers
...
to set it how they want. Guest access now has THREE states (off, on, on with key).
2002-08-21 12:54:27 +00:00
martin
1e3e716f1d
Changes related to new way of setting and recalling themes.
...
The CFG->theme variable is now obsolete in config.php - use the
admin page to set themes interactively.
2002-08-17 13:01:06 +00:00
martin
4efeb8c3e3
Changes to add login/logout button to the right-hand top corner of every page
...
... this is to help encourage people to log out after a session, especially
on shared or public terminals.
2002-08-17 07:02:35 +00:00
martin
d82c85456b
Cleanups for footer on home page
2002-08-15 04:37:35 +00:00
martin
11c6da5972
Accidentally checked in a test version of setup.php - reverting
2002-08-15 04:17:25 +00:00
martin
8697022530
Fixes to finding list of subscribers to a forum for site-level forums
...
which affected both the displayed list and the mailouts.
2002-08-15 04:16:39 +00:00
martin
4c26ac16d3
Orange
2002-08-14 05:58:36 +00:00
martin
fb8418d9bc
Added some new colours
2002-08-14 05:27:35 +00:00
martin
909f539dad
Minor tweaking and cleaning up
2002-08-12 13:45:41 +00:00
martin
23feeabf00
Slightly bigger wordlist
2002-08-12 07:44:53 +00:00
martin
618b22c57c
Language changes to weblib
2002-08-12 07:40:53 +00:00
martin
ae350059b3
Language changes for main library
2002-08-12 07:37:47 +00:00
martin
6ee4579665
Moved the help files into their own directory in lang/en/help
2002-08-11 14:12:15 +00:00
martin
3ce2f1e08a
Moved code from footer.html into print_footer()
...
Don't update user on login check if it isn't a real user.
2002-08-11 05:07:15 +00:00
martin
2c0411e2ed
Tweaks and tidy-ups for course home pages (weekly and topics)
2002-08-10 13:42:12 +00:00
martin
b0ccbd923b
Further little fixes to user image displaying
2002-08-09 09:25:17 +00:00
martin
2447921f18
Changes to make uploaded user pictures work properly on Windows :-(
2002-08-09 09:09:36 +00:00
martin
53bfe78cd4
New functions get_list_of_modules() and moodle_needs_upgrading().
...
Used on the home page when admin is logged in, to check for any
upgrading of the databases that might need to be done.
2002-08-09 02:45:15 +00:00
martin
4606d9bb9f
Fixed a tricky little bug with usergetmidnight() when no timezone was defined.
2002-08-08 17:28:30 +00:00
martin
a3447e1053
Cleanup of the admin interface - especially the user management
...
Bugs fixed, duplicate code removed, plus you can now add new users.
Aaah much better. :-)
2002-08-08 14:17:55 +00:00
martin
e5a57e853a
Fixed tiny buglet on insert_record which made it ignore NULL values
2002-08-08 12:41:21 +00:00
martin
989bfa9d7b
get_real_size() for translating text to byte sizes (eg 2M)
2002-08-07 08:26:48 +00:00
martin
8223d27193
Widespread changes throughout Moodle to make sure it works on
...
servers that have register_globals turned off (this is the
default setting on newer version of PHP).
In fact it's partly a hack that globalises all GET, POST, FILES
AND COOKIE variables. Unfortunately though the SESSION and
USER global session variables are only available as $_SESSION["USER"]
and $_SESSION["SESSION"], which is cumbersome to use.
So, for every request I now make a copy of these two session variables
into $USER and $SESSION. Whenever I update them thoughout Moodle I
now have to call save_session("USER") which copies them back to the
session variable. This seems to be working well now.
Because I'm using $_SESSION etc now this will raise
the required minimum version of PHP to 4.1.0
2002-08-06 17:23:45 +00:00
martin
6b1746806c
Misc small changes while I was working on assignments
2002-08-04 16:20:30 +00:00
martin
e84ef82411
In email_to_user, change AddBCC back to AddAddress ... this was a hangover
...
from the old bulk-email method, but now we just send one email at a time,
so it makes sense for the address to be visible again
2002-08-04 02:39:54 +00:00
martin
565f7a9504
Fixes to two database fields log_display(table -> mtable) and
...
user_teachers(authority from varchar -> int)
2002-08-04 02:08:43 +00:00
martin
dbcb136a69
print_continue() to print continue
2002-08-03 04:43:29 +00:00
martin
7ea53a1fb1
Removed fullname and search fields from modules table. Fullname is now
...
derived from the string 'modulename' in the lang files for each module.
2002-08-02 17:42:59 +00:00
martin
5750729092
get_course_users was buggy when teachers or students was empty.
...
The SQL looked good to me, but I had to do it another way to make
it work.
2002-08-02 17:41:14 +00:00
martin
058eec1868
Language files have been moved to keep them altogether under /lang
...
This should make it easier on translators.
2002-08-02 09:24:50 +00:00
martin
9132e8666f
DOn't add to logs when teacher is "logged in as" a student
2002-08-01 07:05:01 +00:00
martin
1ea8303c1f
Slowly implementing courseid type variables where i see them
2002-07-31 17:13:17 +00:00
martin
501cdbd8bb
OK, some massive changes with many files removed or changed.
...
Basically the changes are:
- I've merged the 'discuss' module into the forum module
which makes the interface MUCH clearer for everyone
- I've added a new 'single' forum type that replicates
what the old discuss course modules used to look like.
- I've got rid of the "discussion" forum type - it will
still exist in upgraded courses but as a normal forum.
- the 'discuss' module is completely deleted - gone.
- the 'chat' module is completely deleted - gone.
- The upgrading system has been improved, and all code
is stored in version.php.
- I've put in upgrading commands to do the best I can
(right now) to upgrade courses that used the discuss
module. It should mostly work, just leaving some
"orphan" coursemodules on you course front page. You
can easily delete these using the little 'x'.
I may have forgotten something - I've only tested on
my testing server and I'm about to test on my production
server to see how it goes.
- Forums have a lot of little new features and fixes. The
main one is the subscription process. Teachers can 'force'
subscriptions on any forum. This disallows everyone from
choosing their own mail subscription - it's just on.
- The assignment module is half-finished and not working yet
I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
0a786cab75
Removed version (replaced by /version.php
2002-07-30 10:45:36 +00:00
martin
2c309dc22a
Definition and use of new isediting() function for checking whether a user
...
is not only in editing mode, but ALLOWED to be editing the current course.
Used to show editing buttons etc
2002-07-29 15:45:46 +00:00
martin
3c720ccee1
Moved some functions around - no functonal difference
2002-07-29 15:11:23 +00:00
martin
4c550bc013
changed function get_course_participants --> get_course_users (naming consistency)
2002-07-29 07:00:32 +00:00
martin
8a9e3fd753
New functions for getting lists of people in a course, and some cleanups
2002-07-29 06:52:48 +00:00
martin
39917a09c4
New functions for printing date selector forms and reconstructing dates
...
afterwards. Also a new function for counting words in a text
2002-07-29 06:21:37 +00:00
martin
dafa318bab
Dropping any pretense of Postgres support for the moment, and added a README
2002-07-27 12:38:06 +00:00
martin
1afd014ea2
Better error checking in update_record
2002-07-27 06:10:37 +00:00
martin
65cf9fc390
Improvements to the help system
2002-07-21 08:34:25 +00:00
martin
37b155148d
Slight formatting tweaks (forum index)
2002-07-20 18:20:19 +00:00
martin
8553b7005a
Changes related to internationalision strings and printing them
2002-07-11 05:30:57 +00:00
martin
a83fded1a9
Consistent use of get_site() instead of checking course->category directly
2002-07-11 05:30:10 +00:00
martin
6d9d8344b4
Typo in userdate
2002-07-04 08:01:26 +00:00