24 Commits

Author SHA1 Message Date
skodak
d81b7ffbd7 MDL-7996 Add ods export support - more reports 2006-12-21 19:46:29 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
skodak
8f414ab8aa fixed some long standing and some new problems and SC#249, please consider backporting into STABLE 2006-04-27 21:30:18 +00:00
stronk7
9661a2d321 Now Survey is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:47:45 +00:00
skodak
2d5b322c0f fixed script parameters + some warnings SC#150; merged from MOODLE_15_STABLE 2005-10-29 16:45:58 +00:00
stronk7
cd5d2d4b74 Now survey->name supports filterall. 2005-04-06 18:20:05 +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
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
moodler
deba41af8c Clean filenames to prevent possible problems with IE 2004-04-17 03:27:27 +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
a9ccbf60bf Groups support on Surveys. Phew. 2004-02-20 16:03:05 +00:00
moodler
1bdcef1051 Worksheet name can't be longer than 31 characters 2003-11-27 07:10:27 +00:00
moodler
329cbe682b Excel report now uses the new library. Conversion by Russell Jungwirth - thanks! 2003-09-30 13:23:05 +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
814ada432c Fixes to XLS routines that were causing some problems 2002-12-30 15:46:15 +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
e323955db8 Changes to use new database stuff 2002-12-23 05:57:05 +00:00
moodler
f762c448ef FINALLY! Surveys are now translatable! :-) 2002-11-09 06:22:57 +00:00
martin
7a302afc5f Slight changes to userdate() function. It now uses gmstrftime() instead of
gmdate to format times, thus allowing it to take advantage of locale, if set,
to print dates in the appropriate language.  Several userdate invocations
had to be changed, though, to use the different formatting specs.
2002-07-02 07:02:28 +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
ee990b193a Fixed download for virtual scale questions with type = -1 (eg ATTLS) 2002-04-15 05:22:43 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00