Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quiz-3157376
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-3157376
Commits
b77dfef9
Commit
b77dfef9
authored
14 years ago
by
falcon
Browse files
Options
Downloads
Patches
Plain Diff
#831406
reported by igorik: Added id attributes to each fieldset
parent
edb345b9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
quiz.module
+4
-0
4 additions, 0 deletions
quiz.module
with
4 additions
and
0 deletions
quiz.module
+
4
−
0
View file @
b77dfef9
...
...
@@ -856,6 +856,7 @@ function quiz_form(&$node) {
'#title'
=>
t
(
'Taking options'
),
'#collapsed'
=>
isset
(
$settings_loaded
)
?
$settings_loaded
:
FALSE
,
'#collapsible'
=>
TRUE
,
'#attributes'
=>
array
(
'id'
=>
'taking-fieldset'
),
);
$form
[
'taking'
][
'allow_skipping'
]
=
array
(
'#type'
=>
'checkbox'
,
...
...
@@ -1007,6 +1008,7 @@ function quiz_form(&$node) {
'#title'
=>
t
(
'Availability options'
),
'#collapsed'
=>
TRUE
,
'#collapsible'
=>
TRUE
,
'#attributes'
=>
array
(
'id'
=>
'availability-fieldset'
),
);
$form
[
'quiz_availability'
][
'quiz_always'
]
=
array
(
'#type'
=>
'checkbox'
,
...
...
@@ -1035,6 +1037,7 @@ function quiz_form(&$node) {
'#title'
=>
t
(
'Pass/fail options'
),
'#collapsible'
=>
TRUE
,
'#collapsed'
=>
TRUE
,
'#attributes'
=>
array
(
'id'
=>
'summaryoptions-fieldset'
),
);
// If pass/fail option is checked, present the form elements.
if
(
variable_get
(
'quiz_use_passfail'
,
1
))
{
...
...
@@ -1099,6 +1102,7 @@ function quiz_form(&$node) {
'#collapsible'
=>
TRUE
,
'#collapsed'
=>
TRUE
,
'#tree'
=>
TRUE
,
'#attributes'
=>
array
(
'id'
=>
'resultoptions-fieldset'
),
);
for
(
$i
=
0
;
$i
<
$num_options
;
$i
++
)
{
...
...
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