Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quiz-3346955
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
quiz-3346955
Commits
aef1a70f
There was an error fetching the commit references. Please try again later.
Commit
aef1a70f
authored
15 years ago
by
falcon
Browse files
Options
Downloads
Patches
Plain Diff
#652208
reported by biocomp.pat: Comment trouble...
parent
7d53d3c9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
question_types/quiz_question/quiz_question.pages.inc
+0
-22
0 additions, 22 deletions
question_types/quiz_question/quiz_question.pages.inc
quiz.install
+1
-1
1 addition, 1 deletion
quiz.install
with
1 addition
and
23 deletions
question_types/quiz_question/quiz_question.pages.inc
+
0
−
22
View file @
aef1a70f
...
...
@@ -7,28 +7,6 @@
*/
/**
* Menu callback. Prints a listing of containers that reference the question node nodes.
*
* @param $qid
* ID of question to look up
* @return
* String containing the markup.
*/
function
quiz_question_references
(
$node
)
{
$parents
=
_quiz_question_parents
(
$node
);
if
(
empty
(
$parents
))
{
return
'<div>No references.</div>'
;
}
else
{
$output
=
'<div>'
;
foreach
(
$parents
as
$parent
)
$output
.
=
node_view
(
$parent
,
true
);
$output
.
=
'</div>'
;
return
$output
;
}
}
/**
* @param $question_nid
*
...
...
This diff is collapsed.
Click to expand it.
quiz.install
+
1
−
1
View file @
aef1a70f
...
...
@@ -339,7 +339,7 @@ function quiz_install() {
$temp_array
[
'toggle_node_info_quiz'
]
=
0
;
variable_set
(
'theme_settings'
,
$temp_array
);
// Default the comment settings to disabled.
$temp_array
=
variable_set
(
'comment_quiz'
,
'0'
);
variable_set
(
'comment_quiz'
,
'0'
);
drupal_set_message
(
t
(
'Quiz module has been enabled. To !create_a_quiz go to Content Management -> Create Content -> Quiz.'
,
array
(
'!create_a_quiz'
=>
l
(
t
(
'create a quiz'
),
'node/add/quiz'
))));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment