Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b547567e
Commit
b547567e
authored
Nov 22, 2008
by
Dries
Browse files
- Patch
#335621
by Dave Reid: fixed warning.
parent
3e0e9c6f
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/block/block.admin.inc
View file @
b547567e
...
...
@@ -391,6 +391,7 @@ function template_preprocess_block_admin_display_form(&$variables) {
$variables
[
'form'
][
$i
][
'region'
][
'#attributes'
][
'class'
]
=
'block-region-select block-region-'
.
$region
;
$variables
[
'form'
][
$i
][
'weight'
][
'#attributes'
][
'class'
]
=
'block-weight block-weight-'
.
$region
;
$variables
[
'block_listing'
][
$region
][
$i
]
=
new
stdClass
();
$variables
[
'block_listing'
][
$region
][
$i
]
->
row_class
=
isset
(
$block
[
'#attributes'
][
'class'
])
?
$block
[
'#attributes'
][
'class'
]
:
''
;
$variables
[
'block_listing'
][
$region
][
$i
]
->
block_modified
=
isset
(
$block
[
'#attributes'
][
'class'
])
&&
strpos
(
$block
[
'#attributes'
][
'class'
],
'block-modified'
)
!==
FALSE
;
$variables
[
'block_listing'
][
$region
][
$i
]
->
block_title
=
drupal_render
(
$block
[
'info'
]);
...
...
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