242 Commits

Author SHA1 Message Date
moodler
e1947876ec Moved the object code out into a function print_textarea 2002-10-12 07:23:16 +00:00
moodler
a5a5a129b7 Added help buttons about the richtext editor (when active) 2002-10-12 05:43:00 +00:00
moodler
113bb2a26b Better placing of standard links etc when there are lots of images and
other funny formatting in HTML posts
2002-10-11 05:20:23 +00:00
moodler
213e8cc67d Better default options, and hiding of moodle-text help when htmlediting is operational 2002-10-10 09:27:49 +00:00
moodler
73bb08357c Initial attempt at adding html text editor features to these forms. 2002-10-10 07:27:57 +00:00
moodler
c0d6bcc508 Moved upgrade functions into db/mysql.sql 2002-10-05 17:20:24 +00:00
moodler
abf59b15bd Fixed definition of forum->open 2002-10-03 11:17:51 +00:00
moodler
70c476a79e Fixes bug 112
Changes to expand "open" option in forums.  Now have a choice between
three options:  new discussions and new replies, new replies only and
no new discussions or new replies.

Three new options in lang/forum.php and I changed "allowdiscussions".
2002-10-03 11:15:50 +00:00
martin
b362b85e99 Better format for text version of emails 2002-09-26 16:02:13 +00:00
martin
7fd6bb7cf6 Whoops teacher checking was back to front 2002-09-23 06:49:30 +00:00
martin
ae2e0dddad Changes to not include deleted users in some things 2002-09-22 03:05:39 +00:00
martin
3869a2ac3d Changes to print_recent_activity in course/lib.php. It is now more
modular (at slight cost to performance) and every modules can now
have a module_print_recent_activity() function.  This function
takes a list of logs, searches for things to display and does so.

So far I've done forum and journal functions
2002-09-21 17:11:08 +00:00
martin
a16c2180d0 Make sure user language works OK (it does now) 2002-09-21 08:40:27 +00:00
martin
a5a4cd60cb Make sure mailouts are in the user's chosen language 2002-09-21 07:46:30 +00:00
martin
5319c6adf6 Make sure mailouts are in the chosen language of each user 2002-09-21 07:42:54 +00:00
martin
99b5e56207 Whoops, left attachment field out of the database schema (affected
new installations of 1.0.2 and later)
2002-09-10 02:13:44 +00:00
martin
8f66d49a77 Added an "unsubscribe" link to emails 2002-09-08 16:04:51 +00:00
martin
28e1e8b912 Fixed a bug. When replying to an email copy, you would be forwarded
to the login screen to login first.  However, this was being saved
as the place to go back to after replying.

I added a check for this so now it behaves as you'd expect.
2002-09-08 15:39:44 +00:00
martin
cf38360f58 Language fixes, added english strings etc 2002-09-03 13:11:40 +00:00
martin
8aed46c7eb *** empty log message *** 2002-09-02 06:25:27 +00:00
martin
e92ea3d85f Fix the display when USER display mode is flat, and a parent is selected.
In this case, the display is temporarily changed to nested
2002-09-02 05:03:54 +00:00
martin
5a83a0a84e Default forum display mode is actually used now 2002-09-02 03:48:47 +00:00
martin
7f6689e4e0 Attachments can now be added to postings.
They are stored in the course moddata area.
They appear as links within the message, including mailed-out messages.
They are deleted when the post is deleted.
2002-09-01 14:34:38 +00:00
martin
40b13d9ff4 Choose "general" forum now as a default 2002-08-26 10:01:46 +00:00
martin
3335f6fbc6 Forums with many discussions (> 10) become abbreviated to a shorter display 2002-08-26 08:35:02 +00:00
martin
19a55d6776 Changes to improve layout and formatting on old Netscape (eg version 4) 2002-08-23 03:55:49 +00:00
martin
0ab851127f If a post is updated that is also a discussion definition, then the discussion
name is updated with the post subject.
2002-08-22 08:01:21 +00:00
martin
1ff53f25ac Updated versions in preparation for 1.0 release tomorrow 2002-08-18 16:39:50 +00:00
martin
61ee082fd8 Improved help buttons for forums 2002-08-18 14:40:19 +00:00
martin
3bc9bf9790 Teachers can now unsubscribe anyone from the "list of subscribers" list.
Made the feedback display when subscribing/unsubscribing a little more
generic.
2002-08-17 07:53:32 +00:00
martin
31d160d3b9 Forum language fixes, and addition of help for separate/connected knowing 2002-08-15 17:41:24 +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
2fe33daded Fixes to list of subscribers (language fixes, and fix for site-level forums) 2002-08-15 03:45:09 +00:00
martin
3db1919baf More language fixes 2002-08-12 09:38:31 +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
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
5d13db8aba Better looking search boxes 2002-08-06 09:24:40 +00:00
martin
1ebede32c2 Bug in rated posts counting 2002-08-06 06:23:19 +00:00
martin
75d10a02db Whoops ... make sure rated posts still show ratings! :-) 2002-08-06 06:17:59 +00:00
martin
9d1b97c5d4 forum_print_discussion now checks to see whether there are any
ratings that haven't been done yet on a discussion.  If not, then
it won't print the ratings form.  This avoids a slight confusion
about the interface that existed previously.
2002-08-06 06:09:44 +00:00
martin
f7fe342d6a Better wording for eachuser forum 2002-08-06 04:21:45 +00:00
martin
46a8b35f44 Whoops ... more forum->assessed 2002-08-06 04:17:40 +00:00
martin
fe25fc9b38 Whoops ... using forum->assessed to determine whether discussions should
be assessable now
2002-08-06 04:04:40 +00:00
martin
64eacd6f76 A teacher can now delete any post (as long as it doesn't have replies). 2002-08-05 09:48:17 +00:00
martin
77db7e4c49 Fixes in display of standard user_complete and user_outline functions
for journal, forum and assignments
2002-08-04 17:13:49 +00:00
martin
f9641a9d24 Updated version numbers 2002-08-04 16:42:27 +00:00
martin
7c8a2faae7 Get a string from moodle.php instead of forum.php 2002-08-04 13:14:20 +00:00
martin
4d871a721b Added FORUM_SHORT_POST 2002-08-04 13:13:59 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
04eba58f57 Moved all mod.php functions from modules into lib.php, and
updated course/mod.php to use them there.  No longer need module/mod.php
2002-08-03 02:29:21 +00:00