33 Commits

Author SHA1 Message Date
danmarsden
3ddb684e57 Fixes for Bug #3876, Bug #3816 2005-08-14 21:59:09 +00:00
moodler
51e041f42e Prettied up choice with some styles (could use work) 2005-05-05 18:34:20 +00:00
stronk7
09972dd340 Some minor things:
- Clean filename.
  - Applied format_string to choice->name and answers.
  - Better parameter handling.
Remaining:
  - A lot of notices in line 148, breaking output with debug enabled!
2005-04-14 19:00:23 +00:00
danmarsden
ae2f3b4cbc output to excel and text now checks whether unanswered column should be shown before outputing data. 2005-04-12 22:53:22 +00:00
danmarsden
647396597a now allows download of choice responses to excel or text file 2005-04-11 22:59:32 +00:00
stronk7
408f7c41b4 choice report log action wasn't saving cmid in logs table. 2005-04-10 16:55:32 +00:00
danmarsden
af40722cc5 Fix for Bug #2435 - Hidden teachers and site admins are shown in no response list. 2005-04-05 00:35:05 +00:00
danmarsden
bd3ba1ddaf Bug #2084 - Choice module has no "save my choice" for admin 2005-04-01 03:26:35 +00:00
moodler
bfe97ca600 Report works 2005-03-30 18:17:58 +00:00
danmarsden
6fd87e3bc7 Improved coice mod, allows an unlimited number of choices. 2005-03-29 23:46:17 +00:00
stronk7
c61d50b800 Now choice->name and choice->answerxx work under filterall. 2005-03-27 17:33:16 +00:00
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
moodler
a9d5f810b2 Less $THEME, more white chocolate 2005-02-09 17:15:27 +00:00
moodler
d526e68ee7 XHTML and accessibility compliance 2004-10-22 07:45:58 +00:00
gustav_delius
1c61c8d6bc fixed capitalization and quoting of attribute values 2004-09-12 15:06:29 +00:00
gustav_delius
1ff45e740f fixed breadcrumbs 2004-08-21 21:19:21 +00:00
moodler
a12f686b62 Function name change ... hope it doesn't break any third-party code,
sorry if it does!

  get_users_in_group --->  get_group_users

  ... more consistent with other functions
2004-03-13 14:24:34 +00:00
moodler
b6ee2d82ea Groups support for choice module 2004-02-15 08:17:45 +00:00
moodler
b3679ca436 Display names using fullname function 2003-11-28 15:41:18 +00:00
moodler
51600d9dab Fixed some accidental lowercasing 2003-07-07 11:52:05 +00:00
moodler
353d033843 get_course_users now calls get_site_users if the course is a site.
There is something wrong with this SQL still though ... it mostly works
but I'm still getting wierd behaviour with small numbers of users.

Need some help here ...  for example just look at get_site_users()
on your test site.

It's supposed to return a list of users who are admins, creators,
teachers or students
2003-05-20 09:33:30 +00:00
moodler
8b50d2a76e Some fixes to make choice reports work better when used at site level.
PLus some HTML lowercasing
2003-05-17 06:17:10 +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
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
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
b4ab71a6db Fixed links in navigation 2002-10-02 02:24:19 +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
66062dd310 Sort names by firstname, and include even columns with no answers 2002-08-18 09:47:59 +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
c4016bc1db Language changes to choice module 2002-08-12 08:28:04 +00:00
martin
873960de8c Changes related to timezone display. Datetime display now uses userdate()
which itself uses the USER variable timezone to alter the displayed time.
2002-06-05 03:15:30 +00:00
martin
5eb45fa058 Various small fixes across all modules. Most notable was the revised
use of add_to_log, and the new logging format.
2002-05-31 09:07:11 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00