Log of /moodle/mod/survey/lib.php
Parent Directory
Revision
1.86 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Dec 28 03:47:23 2009 WST (2 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.85: +1 -1 lines
Diff to
previous 1.85
MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars
Revision
1.83 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 17 12:11:46 2009 WST (6 months ago) by
samhemelryk
Branch:
MAIN
Changes since
1.82: +82 -0 lines
Diff to
previous 1.82
mod-survey MDL-20262 Upgraded survey module in the following ways
* Upgraded legacy code to use PAGE and OUTPUT methods
* Added integration with the new navigation blocks
* Fixed up several bugs within the download script
Revision
1.82 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 20 16:46:16 2009 WST (6 months, 4 weeks ago) by
nicolasconnault
Branch:
MAIN
Changes since
1.81: +8 -8 lines
Diff to
previous 1.81
MDL-19816 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
Revision
1.78 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jun 19 22:26:01 2009 WST (9 months ago) by
skodak
Branch:
MAIN
Changes since
1.77: +4 -1 lines
Diff to
previous 1.77
MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions
Revision
1.74 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 25 05:59:14 2008 WST (19 months, 3 weeks ago) by
skodak
Branch:
MAIN
Changes since
1.73: +8 -1 lines
Diff to
previous 1.73
MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE
Revision
1.63.2.6 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jul 25 05:58:05 2008 WST (19 months, 3 weeks ago) by
skodak
Branch:
MOODLE_19_STABLE
CVS Tags:
MOODLE_193,
MOODLE_194,
MOODLE_195,
MOODLE_196,
MOODLE_197,
MOODLE_19_MERGED,
MOODLE_19_WEEKLY
Changes since
1.63.2.5: +8 -1 lines
Diff to
previous 1.63.2.5
, to
branch point 1.63
, to
next main 1.88
MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks
Revision
1.66 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jan 25 05:33:52 2008 WST (2 years, 1 month ago) by
skodak
Branch:
MAIN
Changes since
1.65: +43 -29 lines
Diff to
previous 1.65
MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE
Revision
1.59.2.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 22 00:26:21 2007 WST (2 years, 3 months ago) by
nfreear
Branch:
MOODLE_18_STABLE
CVS Tags:
MOODLE_1810,
MOODLE_1811,
MOODLE_184,
MOODLE_185,
MOODLE_186,
MOODLE_187,
MOODLE_188,
MOODLE_189,
MOODLE_18_MERGED,
MOODLE_18_WEEKLY
Changes since
1.59.2.2: +53 -44 lines
Diff to
previous 1.59.2.2
, to
branch point 1.59
, to
next main 1.88
Fixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes use of USER->screenreader using get_accesshide + many other accessibility fixes. MERGED.
Revision
1.63.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 22 00:06:04 2007 WST (2 years, 3 months ago) by
nfreear
Branch:
MOODLE_19_STABLE
Changes since
1.63: +53 -44 lines
Diff to
previous 1.63
Fixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes use of USER->screenreader using get_accesshide + many other accessibility fixes. MERGED.
Revision
1.64 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 21 23:50:34 2007 WST (2 years, 3 months ago) by
nfreear
Branch:
MAIN
Changes since
1.63: +53 -44 lines
Diff to
previous 1.63
Fixes reopened bug MDL-7472, "Explicitly label radio buttons in Survey" - removes use of USER->screenreader using get_accesshide + many other accessibility fixes.
Revision
1.62 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 16 03:28:13 2007 WST (2 years, 7 months ago) by
skodak
Branch:
MAIN
Changes since
1.61: +4 -3 lines
Diff to
previous 1.61
MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9
Revision
1.61 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Aug 10 09:46:17 2007 WST (2 years, 7 months ago) by
stronk7
Branch:
MAIN
Changes since
1.60: +7 -8 lines
Diff to
previous 1.60
Fixing one SQL that could cause problems with coincidences
in the associative array. MDL-10787
Merged from MOODLE_18_STABLE
Revision
1.57 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 3 13:55:24 2007 WST (3 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.56: +3 -3 lines
Diff to
previous 1.56
Checking in Nick Freear's changes and evolution of Julette White's code
with a few modifications made to the install process) for further work in HEAD.
See MDL-7380 for details.
Revision
1.55 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 23 12:49:48 2006 WST (3 years, 3 months ago) by
toyomoyo
Branch:
MAIN
Changes since
1.54: +13 -10 lines
Diff to
previous 1.54
fix for MDL-7472, explicitly label radio buttons in survey. Note you need $USER->screenreader flag for this to be active
Revision
1.51.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Oct 25 17:02:31 2006 WST (3 years, 4 months ago) by
moodler
Branch:
MOODLE_17_STABLE
CVS Tags:
MOODLE_17,
MOODLE_171,
MOODLE_172,
MOODLE_173,
MOODLE_174,
MOODLE_175,
MOODLE_176,
MOODLE_177,
MOODLE_17_BETA2,
MOODLE_17_MERGED,
MOODLE_17_WEEKLY
Changes since
1.51: +4 -4 lines
Diff to
previous 1.51
, to
next main 1.88
More rogue AS keywords MDL-7207
Revision
1.51 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 24 22:01:52 2006 WST (3 years, 5 months ago) by
vyshane
Branch:
MAIN
CVS Tags:
MOODLE_17_BETA
Branch point for:
MOODLE_17_STABLE
Changes since
1.50: +2 -2 lines
Diff to
previous 1.50
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?
Revision
1.50 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Apr 28 05:30:18 2006 WST (3 years, 10 months ago) by
skodak
Branch:
MAIN
CVS Tags:
MOODLE_16,
MOODLE_161,
MOODLE_162,
MOODLE_163,
MOODLE_164,
MOODLE_165,
MOODLE_166,
MOODLE_167,
MOODLE_168,
MOODLE_169,
MOODLE_16_BETA,
MOODLE_16_MERGED,
MOODLE_16_WEEKLY,
MOODLE_17_NEWGROUPS_PRE
Branch point for:
MOODLE_16_STABLE,
MOODLE_17_NEWGROUPS,
MOODLE_17_ROLES
Changes since
1.49: +3 -3 lines
Diff to
previous 1.49
fixed some long standing and some new problems and SC#249, please consider backporting into STABLE
Revision
1.47 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 10 21:30:55 2005 WST (5 years ago) by
moodler
Branch:
MAIN
Changes since
1.46: +8 -12 lines
Diff to
previous 1.46
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.
Revision
1.43 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 22 21:20:35 2004 WST (5 years, 4 months ago) by
paca70
Branch:
MAIN
Changes since
1.42: +2 -2 lines
Diff to
previous 1.42
Lib.php postgresql compatibly fix
graph.php $virtualscales was used uninitilized, fixed.
Revision
1.40 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Sep 17 01:13:32 2004 WST (5 years, 6 months ago) by
gustav_delius
Branch:
MAIN
Changes since
1.39: +4 -4 lines
Diff to
previous 1.39
XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
Revision
1.36 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 13 16:57:39 2004 WST (5 years, 10 months ago) by
moodler
Branch:
MAIN
CVS Tags:
MOODLE_13,
MOODLE_131,
MOODLE_134,
MOODLE_135,
MOODLE_13_MERGED,
MOODLE_14,
MOODLE_141,
MOODLE_142,
MOODLE_143,
MOODLE_144,
MOODLE_145,
MOODLE_14_BETA,
MOODLE_14_MERGED,
MOODLE_14_RESOURCE_PRE,
MOODLE_15_LDAP_PRE,
Moodle_13_pre14merge
Branch point for:
MOODLE_13_STABLE,
MOODLE_14_RESOURCE,
MOODLE_14_STABLE,
MOODLE_15_LDAP,
Moodle_14_dev
Changes since
1.35: +34 -2 lines
Diff to
previous 1.35
Fix for Bug 1383. Added support for the Critical Incident Survey type in the Complete Activity Reports
(Shane Elliott)
Revision
1.31 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 17 00:13:31 2004 WST (6 years, 1 month ago) by
moodler
Branch:
MAIN
Changes since
1.30: +25 -19 lines
Diff to
previous 1.30
Complete clean-up of the survey reports.
Frames are GONE. :-)
Also, a new survey: CIQ = Critical Incident Questionnaire
Revision
1.28 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 29 23:27:30 2003 WST (6 years, 5 months ago) by
stronk7
Branch:
MAIN
Changes since
1.27: +29 -30 lines
Diff to
previous 1.27
Simply, move the XXXX_get_participants() function from
bottom to the common function area.
See bug 807
Revision
1.26 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Apr 26 23:08:33 2003 WST (6 years, 10 months ago) by
moodler
Branch:
MAIN
CVS Tags:
Moodle_109,
Moodle_109_B1,
Moodle_11,
Moodle_11b
Changes since
1.25: +24 -22 lines
Diff to
previous 1.25
Trying a different tack for recent_activity since the old way was
still producing too much data and overflowing PHP memory on busier
sites (eg moodle.org).
Now, there are more database queries, which is unfortunate, but the
data is much more specific, and no sorting needs to be done, so
this is a performance boost.
I don't know how these will cancel out ... my guess is that very
small sites may be very slightly slower on the course page, but
that large sites will be much faster.
Let's see.
Revision
1.25 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Apr 26 20:59:41 2003 WST (6 years, 10 months ago) by
moodler
Branch:
MAIN
Changes since
1.24: +17 -14 lines
Diff to
previous 1.24
Performance improvements
- better checking of data before processing
- used logs are removed to avoid re-processing by other modules
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Apr 26 20:17:30 2003 WST (6 years, 10 months ago) by
moodler
Branch:
MAIN
Changes since
1.23: +2 -2 lines
Diff to
previous 1.23
Cleaned up definition of constant COURSE_* values in course/lib.php
Moved COURSE_TEACHER_COLOR out to style sheets where it belongs (.teacheronly)
Added some efficiency when printing recent activity
- don't print more than one weeks worth of updates
- don't keep re-parsing logs once they've been used
Revision
1.21 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 15 18:55:54 2003 WST (7 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.20: +6 -3 lines
Diff to
previous 1.20
Displayed time formats are now stored in lang files
(see the new strftime* strings) so they can be customised per language
Revision
1.20 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 5 14:45:20 2003 WST (7 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.19: +14 -2 lines
Diff to
previous 1.19
OK a number of small changes here.
Firstly, I'm replacing all use of old-style global variables like
$HTTY_REFERER with their new-style equivalent $_SERVER["HTTP_REFERER"]
Also using $_POST instead $HTTP_POST_VARS etc
Secondly, if gdversion == 0 (ie GD is not installed) then:
- users are not even allowed to upload new images
- graphs now just print a message instead of failing.
this allows Moodle to still be used even if GD is not present
Revision
1.19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Dec 23 17:39:26 2002 WST (7 years, 2 months ago) by
moodler
Branch:
MAIN
Changes since
1.18: +24 -23 lines
Diff to
previous 1.18
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
Revision
1.10 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 3 10:29:21 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
Changes since
1.9: +65 -1 lines
Diff to
previous 1.9
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
Revision
1.7 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 1 12:49:26 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
Changes since
1.6: +29 -38 lines
Diff to
previous 1.6
Big clean up of survey functions and removal of deadwood (more to go still though)
Revision
1.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jul 25 21:48:14 2002 WST (7 years, 7 months ago) by
martin
Branch:
MAIN
Changes since
1.4: +32 -1 lines
Diff to
previous 1.4
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
Revision
1.4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jul 2 15:02:28 2002 WST (7 years, 8 months ago) by
martin
Branch:
MAIN
Changes since
1.3: +2 -2 lines
Diff to
previous 1.3
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.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.