58 Commits

Author SHA1 Message Date
dongsheng
550f965438 "MDL-14129, fix print_error" 2008-06-10 06:27:38 +00:00
nicolasconnault
9cf4a18b41 MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
tjhunt
d20e702956 Tidy up whitespace. 2008-04-23 10:54:51 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
1d20bb7d51 merged notice fix 2008-02-20 06:52:43 +00:00
skodak
1f106b3f1d MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE 2008-02-05 21:40:21 +00:00
skodak
dd97c32868 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 2008-01-24 20:33:50 +00:00
tjhunt
c5f1ff788d MDL-12675 - Give teachers a direct link from the quiz index page to the results. 2007-12-20 15:11:03 +00:00
tjhunt
2a13e454f9 MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".
I also took the opportunity to improve the layout of this message slightly, and clarify the message that tells you that you cannot add or remove questions from the quiz if there are attemts.

Merged from MOODLE_19_STABLE.
2007-12-12 17:23:55 +00:00
tjhunt
f63a4ff2cc Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE. 2007-11-07 15:26:37 +00:00
tjhunt
8de9f89a56 MDL-11624 - /mod/quiz/index.php too dependant on individual course format names. I basically changed it to do the same as the forum module. Merged from MOODLE_18_STABLE. 2007-10-31 16:42:02 +00:00
tjhunt
6c58e1985b MDL-6376 - fix minor errors in the previous commit.
More significantly, this patch changes the '1 Students have made 1 attempts' string.

To start with, this code was being produced in five different places, so I made a function to do the work!. Next, as you can see, it is not gramatical. Also, some people find it confusing, as in MDL-6376.

Therefore, it now just says 'Attempts: 1'.

Merged from MOODLE_19_STABLE.
2007-10-30 19:29:45 +00:00
poltawski
b18921676e MDL-11124 - Allowed 'There are no [modulename]' translations. This is currently
hardcoded and can be discovered through the user interface resonably easily.

Merged from MOODLE_19_STABLE
2007-10-29 10:44:50 +00:00
tjhunt
771b1a46f7 MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE. 2007-09-26 20:45:23 +00:00
tjhunt
f0bb0a8738 MDL-10338 - quiz index page does not work in weekscss format. Merged from MOODLE_18_STABLE. 2007-09-21 11:10:37 +00:00
jamiesensei
271e6decda merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:51:09 +00:00
mattc-catalyst
01e3838853 MDL-9473: Initialise navlinks array before use
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:55:24 +00:00
mattc-catalyst
3b27b0fe21 MDL-9615: Correct incorrect use of term breadcrumbs
- $crumbs -> $navlinks


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-07-05 04:40:48 +00:00
mattc-catalyst
70c6c0ad70 MDL-9474: Updated build_navigation() to use global $COURSE
- Removed $course parameter from build_navigation()
- Updated all calls to build_navigation()


Author: Matt Clarkson <mattc@catalyst.net.nz>
Committer: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-23 21:11:10 +00:00
mattc-catalyst
9ac0c1b328 Breadcrumbs: mod/quiz changes
- Modified to use build_navigation() for breadcrumb generation.
- Removed print_header method is now provided by base class.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-16 21:23:17 +00:00
toyomoyo
66c574c908 replacing fieldsets with divs for small forms 2007-03-02 01:03:50 +00:00
vyshane
0927589412 Xhtml fixes for MDL-7861. 2007-01-09 09:07:16 +00:00
tjhunt
77ed3ba5fd MDL-8002 - Don't show overall feedback for incomplete quiz attempts.
Also, cleanup of mod/quiz/index.php
2006-12-22 12:52:13 +00:00
tjhunt
6a126d3c3f Fix function arguments. 2006-11-19 21:28:15 +00:00
tjhunt
bdf84aca92 Typo in function name. Merged from MOODLE_17_STABLE. 2006-11-16 16:46:11 +00:00
moodler
bf7288a2c0 Simplified a bit and removed a notice 2006-09-24 12:02:00 +00:00
toyomoyo
17d6a25e5c adding capabilitiies 2006-09-13 09:08:14 +00:00
tjhunt
212b7b8cd9 MDL-5270 - give students a feeback comment for their performance in the entire quiz.
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
toyomoyo
5cf38a57cd some quiz capabilities 2006-08-22 09:04:23 +00:00
mjollnir_
40377b188b mod/quiz/index changes to only display quiz grades when teacher allows
Changes to index.php to only allow student to view overall quiz scores when
teacher has not set options forbidding this, and it can't give away what
scores were for attempts where results should still be hidden.
Credit: Peter Bulmer peterbulmer@catalyst.net.nz
2006-04-18 22:55:28 +00:00
gustav_delius
ffa6ed53e4 Fixed display of information about existing attempts. 2006-04-12 23:24:58 +00:00
gustav_delius
20d6d84d43 Fixed call to required_param() 2006-04-05 07:39:32 +00:00
gustav_delius
70c01adb91 Improvement to tabbed interface 2006-03-01 09:30:21 +00:00
gustav_delius
bb52d44c6a Due date and start date are now optional, as requested in bug 867 and bug 3635 2005-07-07 17:16:56 +00:00
gustav_delius
7bbe08a267 Merged from stable 2005-06-04 09:58:35 +00:00
gustav_delius
ee1fb969c8 Merging in from the MOODLE_15_QUIZREFACTOR branch.
The quiz module now can handle adaptive questions and can render remote questions via RQP web services.
2005-05-06 06:24:04 +00:00
stronk7
b681000402 Now quiz->name supports filterall. 2005-04-03 00:19:11 +00:00
stronk7
e37da3a536 Now decimalpoints is used to show grades
(I had to modify quiz_get_best_grade() slighty)
2005-02-14 19:41:52 +00:00
defacer
cb8057dee2 Semantically it's better if quiz_get_best_grade returns NULL
if there is no such grade.
2005-01-27 02:39:15 +00:00
defacer
e7a935aafa This was pulling out all those records and doing absolutely nothing
with them. Sanitized the place a bit.
2005-01-27 02:26:00 +00:00
gustav_delius
76cacec819 split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle. 2005-01-08 20:06:00 +00:00
gustav_delius
d1290cec39 fixed capitalization and quoting of attribute values 2004-09-12 17:34:35 +00:00
gustav_delius
90fcc576ea Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic. 2004-08-21 20:20:58 +00:00
moodler
858c8a05e8 Better dividers in the table 2004-01-26 12:07:34 +00:00
moodler
b0be6c79bf Some fixes for displaying empty grades in quizzes
suggested by Marilyn Fleming http://moodle.org/mod/forum/discuss.php?d=4636
2004-01-18 06:17:02 +00:00
moodler
3fcc331fee Better info about quizzes 2003-12-29 09:28:14 +00:00
kaipe
1e085edc43 The Quizzes page is given an "Edit questions" button that links to a possibility to edit questions without opening a quiz. 2003-12-10 20:03:59 +00:00
moodler
8748278c60 FIxed widths properly 2003-09-10 14:06:07 +00:00
moodler
d8d7a2d107 Fixed some typos when defining tables 2003-09-10 14:00:18 +00:00
moodler
cccb016ae4 When displaying index lists of a particular module's activities,
ensure that the order they are displayed in is always the same as the
order they have been defined in.   See bug 553.

This involved API changes to the function get_all_instances_in_course()
2003-07-12 05:19:18 +00:00