313 Commits

Author SHA1 Message Date
martin
e137027fa1 Cleaned up the whole interface (more consistent now) and lots of labguage stuff 2002-08-12 17:54:00 +00:00
martin
3db1919baf More language fixes 2002-08-12 09:38:31 +00:00
martin
6821bec5d7 Modernised insert and update of answers (using standard functions) 2002-08-12 08:56:36 +00:00
martin
c4016bc1db Language changes to choice module 2002-08-12 08:28:04 +00:00
martin
7482d8b9f5 Small fix to the full list of available assignments 2002-08-10 14:56: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
c679054a0a Missing 'auto_increment' on assignment_submissions table, for 'id' 2002-08-07 08:46: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
5d13db8aba Better looking search boxes 2002-08-06 09:24:40 +00:00
martin
5e5c3119cb Changed a variable name for clarity 2002-08-06 09:23:28 +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
f282e6314c Cron tidy-ups 2002-08-05 08:40:00 +00:00
martin
dcd3dc47ac WHoops - typo on function call 2002-08-04 18:19:42 +00:00
martin
b0f01dff9e More tweaks to feedback display (consistency with forum posts) 2002-08-04 17:24:46 +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
14ffed8b2b Formatting tweak 2002-08-04 16:44:43 +00:00
martin
f9641a9d24 Updated version numbers 2002-08-04 16:42:27 +00:00
martin
6b1746806c Misc small changes while I was working on assignments 2002-08-04 16:20:30 +00:00
martin
d699cd1e54 New assignment module finally complete! 2002-08-04 16:19:37 +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
b62f150b7c Moved a function to lib.php 2002-08-04 07:06:45 +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
martin
8c3c848114 Just a couple of changes 2002-08-02 19:01:14 +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
9b9f9ab449 bugfixes and clean up 2002-08-02 17:35:40 +00:00
martin
ffe1164090 SOme major bugfixes to forum_cron() and lots of translating 2002-08-02 17:34:26 +00:00
martin
7a12aab48b Fixed up some forum functions and constants (consistency) 2002-08-02 09:50:53 +00:00
martin
f781b79425 Changes related to language strings and clean up 2002-08-02 09:19:45 +00:00
martin
238a826393 This file is not linked to or used by anything yet, but I've found it
useful to delete forums properly while testing stuff.
2002-08-02 09:19:22 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
3b9af3dd6f Centered new topic link 2002-08-01 09:38:45 +00:00
martin
bc9ab4dd62 Changed the ratings to new separate/connected system - just for testing 2002-08-01 09:36:18 +00:00
martin
96c2453634 Clean up - modernised choice mod.php 2002-08-01 05:34:00 +00:00
martin
0e30c987e5 More cleanups to survey - renamed/moved functions, modernised mod.php 2002-08-01 05:18:07 +00:00
martin
362f9c9c74 typo 2002-08-01 04:54:23 +00:00
martin
551b0b9806 Big clean up of survey functions and removal of deadwood (more to go still though) 2002-08-01 04:49:26 +00:00
martin
8f9c8aaf31 Yet more improvements to user discussion listing (added forum link to each discussion printed) 2002-08-01 04:05:56 +00:00
martin
b76128b0f5 More improvements to user discussion display 2002-08-01 04:00:56 +00:00
martin
4ca090910e Whoops! Hide teacher discussions when printing list of user discussions 2002-08-01 03:56:55 +00:00
martin
11b0c46971 A big clean up of all the forum functions (including renaming them all
to start with forum_ ) and all the follow-on effects that caused
Some miscellaneous bug fixes and code clean-ups along the way
2002-08-01 03:50:27 +00:00
martin
21999551b1 Some work so far on the assignment module ... NOT FINISHED YET!
I just want to get it out the way of some other commits
2002-08-01 03:49:01 +00:00
martin
d7d1f618e8 Fixes to logging and log display 2002-07-31 16:53:32 +00:00