Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
a0bea004
Commit
a0bea004
authored
Dec 17, 2007
by
Gábor Hojtsy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#200763
by JirkaRybka: add body field wrapper in node form for easier themeing
parent
ebbd7ddc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/node/node.pages.inc
modules/node/node.pages.inc
+3
-0
No files found.
modules/node/node.pages.inc
View file @
a0bea004
...
...
@@ -266,6 +266,9 @@ function node_body_field(&$node, $label, $word_count) {
$form
=
array
(
'#after_build'
=>
array
(
'node_teaser_js'
));
$form
[
'#prefix'
]
=
'<div class="body-field-wrapper">'
;
$form
[
'#suffix'
]
=
'</div>'
;
$form
[
'teaser_js'
]
=
array
(
'#type'
=>
'textarea'
,
'#rows'
=>
10
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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