Tim Hunt
9d5687893a
MDL-30145 Quiz intro not displayed on the password page
2011-11-04 22:57:17 +00:00
Tim Hunt
987c2d491e
MDL-29627 quiz access refactor password check into a generic check page.
2011-10-13 11:13:20 +01:00
Tim Hunt
0eafc98852
MDL-29627 fix code-checker issues throughout the quiz code.
2011-10-13 11:13:16 +01:00
Tim Hunt
d755b0f577
MDL-29627 quiz_access_manager move all output code to the renderer.
...
This achieves a massive clean-up. It simplifies comples code in a number
of places. It allows some methods and functions to be moved to a more
appropriate home (for example cannot_review_message to the quiz class).
It moves more logic out of the renderer.
2011-10-13 11:13:12 +01:00
Tim Hunt
babfb615c9
MDL-28424 Reviewing a quiz in 'secure mode' gives a fatal error.
...
The problem was when output was being started in relation to when the fake block was added.
Took the opportunity to clean up the quiz renderer API a bit.
2011-09-21 16:37:21 +01:00
Aparup Banerjee
a1b744594c
Merge branch 'MDL-29144' of git://github.com/timhunt/moodle
2011-08-29 12:10:30 +08:00
M Kassaei
f28ef47e8f
MDL-29144 quiz navigation: Screen-readers speak question state twice
2011-08-26 19:10:08 +01:00
Tim Hunt
918776f47d
MDL-29111 quiz was passing 0 to ->review_url when it should have been null.
2011-08-26 18:21:43 +01:00
Eloy Lafuente (stronk7)
2ed28439f6
Merge branch 'MDL-28976' of git://github.com/timhunt/moodle
2011-08-24 12:57:16 +02:00
Tim Hunt
a47a46f136
MDL-28996 Quiz view page list of attempts table is sometimes missing a cell.
2011-08-18 19:26:30 +01:00
Tim Hunt
45e5fbe11e
MDL-28976 quiz was passing 0 to ->attempt_url when it should have been null.
...
There was also one other incorrect call that is fixed in this commit.
2011-08-18 14:00:30 +01:00
Tim Hunt
4e5b9e498e
MDL-28338 fix stupid '\n's in the quiz renderer
2011-07-27 19:22:24 +01:00
Tim Hunt
8c4deb8003
MDL-28377 Call to mod_quiz_renderer is screwed up.
2011-07-25 09:14:44 +01:00
Tim Hunt
6c7da46108
MDL-26165 quiz submit are-you-sure is potentially confusing.
2011-07-06 14:49:38 +01:00
Tim Hunt
da72991636
MDL-27979 Should be an edit link for each question when previewing or reviewing a quiz.
2011-06-22 21:07:40 +01:00
Eloy Lafuente (stronk7)
aed0dbe70a
Merge branch 'MDL-27942' of git://github.com/timhunt/moodle
2011-06-20 17:05:54 +02:00
Tim Hunt
e28bbd8919
MDL-27942 Use picture not displayed during quiz attempts.
2011-06-20 10:26:01 +01:00
Sam Hemelryk
3fc7c06b99
Merge branch 'quiz_feedback_for_grade' of git://github.com/stronk7/moodle
2011-06-20 13:02:02 +08:00
Eloy Lafuente (stronk7)
1b327dec8a
MDL-27932 quiz - fix some calls to quiz_feedback_for_grade()
2011-06-20 01:46:29 +02:00
Tim Hunt
3a5da40b4c
MDL-27902 quiz reviewquestion.php page needs to be converted to use the renderer.
2011-06-17 15:27:41 +01:00
Tim Hunt
adf7fe2148
MDL-27747 Missing information and errors on the quiz view page. #720
2011-06-07 16:05:17 +01:00
Tim Hunt
97cdc1de72
MDL-27747 quiz summary, add a CSS class to the table rows based on question state.
...
The standard themes do not use this for anything, but it makes it easier for themers to do cool stuff.
Also improve the API for getting the question state class.
2011-06-07 15:11:04 +01:00
Tim Hunt
2178cd3a12
MDL-20636 Dean's refactoring had broken the quiz summary page.
2011-05-19 17:52:52 +01:00
Tim Hunt
a2ac234956
MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
...
Conflicts:
lib/filestorage/file_storage.php
mod/quiz/attemptlib.php
mod/quiz/lib.php
mod/quiz/mod_form.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
mod/quiz/report/responses/responses_table.php
mod/quiz/report/statistics/db/install.xml
mod/quiz/report/statistics/qstats.php
mod/quiz/report/statistics/report.php
mod/quiz/report/statistics/statistics_question_table.php
mod/quiz/report/statistics/statistics_table.php
mod/quiz/report/statistics/version.php
mod/quiz/review.php
mod/quiz/reviewquestion.php
mod/quiz/startattempt.php
mod/quiz/styles.css
mod/quiz/view.php
question/type/essay/questiontype.php
question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
question/type/numerical/display.html
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Dean Lennard
0de4393945
MDL-20636 moved header creation into seperate funciton
2011-05-11 15:04:19 +01:00
Dean Lennard
8e8bd3f967
MDL-20636 Changed renderer function scopes so they can be overridden.
2011-05-11 15:04:13 +01:00
Dean Lennard
2c3e2b53e6
MDL-20636 Added phpDoc comments
2011-05-11 15:04:07 +01:00
Tim Hunt
78a61cd6d0
MDL-20636 quiz renderers. Some final clean-ups.
2011-05-09 14:22:20 +01:00
Dean Lennard
7933ab8c67
MDL-20636 Code Checked
2011-05-09 12:31:13 +01:00
Dean Lennard
37015e0cd1
MDL-20636 Convverted html to html::writer and code checked
2011-05-09 12:31:11 +01:00
Dean Lennard
88c7e2a9b6
MDL-20636 Changed guest access and enrollment code checking
2011-05-09 12:31:09 +01:00
Dean Lennard
56cef201da
MDL-20636 Created view object in renderer file
2011-05-09 12:31:07 +01:00
Dean Lennard
3b7efd6d8f
MDL-20636 Added viuew object as class
2011-05-09 12:31:05 +01:00
Dean Lennard
fcd5e24506
MDL-20636 Code checked
2011-05-09 12:31:03 +01:00
Dean Lennard
da59992eda
MDL-20636 Made changes to view and renderer sections
2011-05-09 12:31:01 +01:00
Dean Lennard
8d47043fee
MDL-20636 updates to code
2011-05-09 12:30:59 +01:00
Dean Lennard
cbe8754358
MDL-20636 code checked
2011-05-09 12:30:57 +01:00
Dean Lennard
7886376a12
MDL-20636 changed accessrules to return the button instead of eco it and applied this change to render file
2011-05-09 12:30:55 +01:00
Dean Lennard
213d4cff9c
MDL-20636 updates to view/renderer code
2011-05-09 12:30:53 +01:00
Dean Lennard
06eb64b8ba
MDL-20636 added view page to the renderer file
2011-05-09 12:30:51 +01:00
Dean Lennard
13040e1452
MDL-20636 changes made to renderers, attempt and view
2011-05-09 12:30:49 +01:00
Dean Lennard
63be47d932
MDL-20636 Made changes to the three files and code checked
2011-05-09 12:30:47 +01:00
Dean Lennard
bcd42560e3
MDL-20636 Updated code to include html writer
2011-05-09 12:30:45 +01:00
Dean Lennard
9f335e76fa
MDL-20636 Fixed issues raised
2011-05-09 12:30:43 +01:00
Dean Lennard
606e07d574
MDL-20636 Attempt as converting attempt.php over to renderer
2011-05-09 12:30:41 +01:00
Tim Hunt
b3782c71bf
MDL-20636 My go and creating a renderer for mod/quiz/review.php.
...
Note that this breaks the attempt.php page; there are a lot of methods that are missing PHPdoc comment; there are probably now some unused methods that could be deleted; and there are a couple of places which could be handled a bit better.
But, overall, I think this way makes sense.
2011-05-09 12:30:39 +01:00