30 Commits

Author SHA1 Message Date
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
danmarsden
af834f3e7c Bug #3623 - doesn't like when $value = 0 2005-06-27 00:58:24 +00:00
stronk7
7cfc54b918 Now user reports support filterall.
Bug 2930 fixed too.
(http://moodle.org/bugs/bug.php?op=show&bugid=2930)
2005-04-14 22:37:43 +00:00
danmarsden
c9ff813c41 new limit feature in choice. 2005-04-14 21:10:39 +00:00
danmarsden
b9135eca2c fix for Bug #2883 - Choice Mod, - can't delete an existing option 2005-04-11 20:34:13 +00:00
danmarsden
f6eb109943 updating old choices didn't work. 2005-04-05 21:53:08 +00:00
stronk7
dfde3b2069 alt tags in radio buttons were breaking display it they contain
lang tags. Now they are filtered against strip_tags() and processed
by format_text().

In vertical display, format_text() was using format_text (FORMAT_PLAIN),
not sure why and it was breaking multilang support, replacing all <> to
their htmlentities().
2005-03-30 23:34:04 +00:00
moodler
d1a673622a Fixed the rest of the basic interface now 2005-03-30 18:33:56 +00:00
moodler
864e30c968 Removed some unnecessary stuff 2005-03-30 17:07:09 +00:00
moodler
a77a600994 First cut at new lib.php 2005-03-30 16:26:36 +00:00
moodler
5a9726e7ab This module is completely broken .... I'm working on it.
Here are some cleanups to start with
2005-03-30 04:32:36 +00:00
danmarsden
6fd87e3bc7 Improved coice mod, allows an unlimited number of choices. 2005-03-29 23:46:17 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00
stronk7
95e72c12d0 Now retrieving only needed fields! 2005-02-13 00:42:29 +00:00
gustav_delius
1c61c8d6bc fixed capitalization and quoting of attribute values 2004-09-12 15:06:29 +00:00
gustav_delius
ff458eb5ad removed some notices 2004-08-21 20:59:13 +00:00
moodler
d30772b256 Added new feature to restrict time for this activity.
Cleaned up logic by adding a separate menu for publishing vs privacy.
2004-07-01 12:52:15 +00:00
moodler
f9af7fd020 constant values changed to reflect changes in database 2004-07-01 09:20:51 +00:00
stronk7
0585509135 Simply, move the XXXX_get_participants() function from
bottom to the common function area.
See bug 807
2003-09-29 15:27:30 +00:00
stronk7
8033a70237 Included choice_get_participants() function. 2003-09-04 22:18:14 +00:00
moodler
6d6c938999 New feature: choices can now be published (like polls) with names
or without.
2003-01-01 06:34:13 +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
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
417e6821bd Removed some blank lines that were causing output 2002-10-17 10:33:13 +00:00
martin
cd3fccff00 Choices now support up to 6 choices. Backward compatible to 2-choice format. 2002-09-08 09:42:07 +00:00
martin
da664183e1 Cleaned up the Choice report - it's easier to make sense of now 2002-08-18 09:43:01 +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
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
0d22e7cc7e Got rid of the user.php code fragments and implemented much cleaner
system which certain-named functions in lib.php ... called from /course/user.php
2002-07-25 13:48:14 +00:00