Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
10917b12
Commit
10917b12
authored
Mar 14, 2004
by
Dries Buytaert
Browse files
- Patch
#6470
by Brian: fixed XHTML error with multiple selection boxes.
parent
73ab05f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/taxonomy.module
View file @
10917b12
...
...
@@ -627,7 +627,7 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
$size
=
min
(
12
,
count
(
$options
));
return
form_item
(
$title
,
"<select name=
\"
edit[
$name
][]
\"
"
.
(
$multiple
?
" multiple size=
\"
$size
\"
"
:
""
)
.
(
$extra
?
"
$extra
"
:
""
)
.
">
$select
</select>"
,
$description
);
return
form_item
(
$title
,
"<select name=
\"
edit[
$name
][]
\"
"
.
(
$multiple
?
" multiple
=
\"
multiple
\"
size=
\"
$size
\"
"
:
""
)
.
(
$extra
?
"
$extra
"
:
""
)
.
">
$select
</select>"
,
$description
);
}
}
...
...
modules/taxonomy/taxonomy.module
View file @
10917b12
...
...
@@ -627,7 +627,7 @@ function _taxonomy_term_select($title, $name, $value, $vocabulary_id, $descripti
$size
=
min
(
12
,
count
(
$options
));
return
form_item
(
$title
,
"<select name=
\"
edit[
$name
][]
\"
"
.
(
$multiple
?
" multiple size=
\"
$size
\"
"
:
""
)
.
(
$extra
?
"
$extra
"
:
""
)
.
">
$select
</select>"
,
$description
);
return
form_item
(
$title
,
"<select name=
\"
edit[
$name
][]
\"
"
.
(
$multiple
?
" multiple
=
\"
multiple
\"
size=
\"
$size
\"
"
:
""
)
.
(
$extra
?
"
$extra
"
:
""
)
.
">
$select
</select>"
,
$description
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment