Marina Glancy
33683bc80c
MDL-60281 general: function each() is deprecated in PHP7.2
2017-10-16 09:37:20 +08:00
Ankit Agarwal
1c9691160b
MDL-34468 survey: Replace all instances of get_context_instance() with respective context_XXXX class in mod/survey
2012-07-24 17:07:57 +08:00
Petr Skoda
cdbea7eed1
MDL-31607 use full course object for require_login() if already available
...
This eliminates 1 db query.
2012-04-22 17:41:47 +02:00
Petr Skoda
98da60215e
MDL-22033 groupings now enabled unconditionally, groupmembersonly kept as experimental - this simplifies groups code logic a bit, user interface changes should not be significant because the groupings are not visible much until at least one created; hopefully the new description of groupmembersonly will have to preventsome gradebook complaints
2010-04-07 07:37:12 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
e5dd8e3bbd
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 15:24:58 +00:00
samhemelryk
5956e2ef3b
mod-scorm MDL-19816 Added set_url calls, replaced deprecated functions
2009-09-24 08:36:06 +00:00
samhemelryk
48876da59e
mod-survey MDL-19621 Fixed notices appearing in generated charts
2009-06-25 04:04:01 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
dongsheng
83b10e578e
"MDL-14129, fix print_error"
2008-06-15 09:14:55 +00:00
skodak
deb3a60dc3
MDL-15116 survery dml conversion
2008-06-08 14:43:39 +00:00
skodak
44e1b7d7ff
MDL-14679 remoed all instances of get_records_list()
2008-06-01 15:42:48 +00:00
skodak
3c268f2569
MDL-14978 removed obsoleted get_course_users()
2008-05-25 14:27:33 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
mattc-catalyst
07aa205712
MDL-10888: groupings - mod/survey - updated to use groupings
2007-08-28 00:12:01 +00:00
skodak
2c386f82e5
MDL-10383 - deprecated get_groups(), user_group() and ismember()
2007-08-15 20:21:01 +00:00
toyomoyo
81e956b964
added some capabilities
2006-08-30 08:43:17 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
skodak
2d5b322c0f
fixed script parameters + some warnings SC#150; merged from MOODLE_15_STABLE
2005-10-29 16:45:58 +00:00
thepurpleblob
00592b8032
changed deprecated _variable() type functions to _param() type functions.
2005-07-05 11:02:46 +00:00
stronk7
cd5d2d4b74
Now survey->name supports filterall.
2005-04-06 18:20:05 +00:00
moodler
222fd71089
FIxed some notices and now the X-axis text is rotated and readable! Yay!
2005-03-11 14:57:07 +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
paca70
d08ffdd36d
That virtualscales issue is hopefully fixed now.
2004-10-22 13:25:10 +00:00
paca70
90c6ded264
Lib.php postgresql compatibly fix
...
graph.php $virtualscales was used uninitilized, fixed.
2004-10-22 13:20:35 +00:00
gustav_delius
d1290cec39
fixed capitalization and quoting of attribute values
2004-09-12 17:34:35 +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
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
47f1da80d0
More little fixups for robustness
2002-12-30 05:13:43 +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
f39d5f4576
Use course setting for "student"
2002-11-09 06:29:21 +00:00
moodler
f762c448ef
FINALLY! Surveys are now translatable! :-)
2002-11-09 06:22:57 +00:00
martin
fb7c09cdce
Different colours (hopefully make graphs better for color-blind people)
2002-08-14 05:58:05 +00:00
martin
961669acbc
Improvements to the standard deviation bars display
2002-08-14 05:36:49 +00:00
martin
102236691c
Updated questions table to add shorttext for better graph display (actually
...
this was done a long time ago but was never incorporated into the
main Moodle codebase)
2002-08-14 05:13:41 +00:00
martin
0e30c987e5
More cleanups to survey - renamed/moved functions, modernised mod.php
2002-08-01 05:18:07 +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
a2b4ecfb10
Modified most graphs to remove the "zero" line of "No answer" because
...
this never happens (survey form forces students to always answer).
2002-04-13 06:24:45 +00:00
martin
b321d42130
Graphs now contain proper labels down the left hand side.
2002-04-12 13:58:57 +00:00
martin
c015c2bcb3
If students view surveys after having done them, then they are now shown
...
the survey results compared to the class. Needs docs still.
2002-03-28 05:52:30 +00:00
martin
fc633303ec
removed shadows from class averages when they are combined with student
...
results, so that the student graphs "jump out" more
2001-11-22 13:47:18 +00:00
martin
f9903ed0a4
Initial revision
2001-11-22 06:23:56 +00:00