Closed (fixed)
Project:
Quiz
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2006 at 16:29 UTC
Updated:
22 Jun 2014 at 16:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
webchickIf we're going to make a setting for this (there's always locale ...) it should be free-entry, not drop-down.
Comment #2
nicholasthompsonFree entry takes less code too ;-)
Comment #3
rfolk commentedAttached is a patch that allows the user to replace "take test" or "quiz" with an assessment type that is configured in the quiz settings menu. It is free-entry with a default assessment type value of "quiz". A user now has the ability to refer to assessment types as tests, exams, etc.
Something to note: If "quiz" is directly referring to the quiz module it will not be replaced.
Comment #4
rfolk commentedAfter review, I noticed a few references to "quizzes" that needed to be updated. The most current patch for this issue is attached. Thanks!
Comment #5
webchickFirst of all, major props for remembering to check_plain stuff on output!
However, that's an awful lot of duplicated code. What if we just did:
And from then on did %quiz => $quiz_name ?
Comment #6
rfolk commentedThanks webchick! Your right... there was a bit of duplicated code. I've taken your suggestion and built a new patch accordingly.
Comment #7
seanbfuller commentedCommitted to HEAD.
Attached is the updated version that was applied to HEAD. Contains several version fixes for the lastest version after http://drupal.org/node/27133 was applied and code moved around.
Comment #8
(not verified) commented