summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsivaji2013-01-12 15:39:16 (GMT)
committer sivaji2013-01-12 15:39:16 (GMT)
commite5e51e3f7f6791c418d22ab2469ffa04a597307d (patch)
tree0d116a31d2d1d35fc17f42043a01c90e68fd79d5
parentc1842a0e8abfb4d02f84c5b70038dc5f26a68837 (diff)
Fix #1863354 - Make start quiz button and quiz summary obey content type settings.
-rw-r--r--quiz.module12
1 files changed, 12 insertions, 0 deletions
diff --git a/quiz.module b/quiz.module
index ceb7497..427502b 100644
--- a/quiz.module
+++ b/quiz.module
@@ -819,6 +819,18 @@ function quiz_update($node) {
*/
function quiz_field_extra_fields() {
$extra['node']['quiz'] = array(
+ 'display' => array(
+ 'take' => array(
+ 'label' => t('Take quiz button'),
+ 'description' => t('The take button.'),
+ 'weight' => 10,
+ ),
+ 'stats' => array(
+ 'label' => t('Quiz summary'),
+ 'description' => t('Quiz summary'),
+ 'weight' => 9,
+ ),
+ ),
'form' => array(
'taking' => array(
'label' => t('Taking options'),