Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
drupal
Commits
020e04c5
Commit
020e04c5
authored
Dec 06, 2009
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#646762
by bleen18: Fixed bug where Blocks with no title were unusable in dashboard.
parent
7d4f8c7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/dashboard/dashboard.module
modules/dashboard/dashboard.module
+2
-2
No files found.
modules/dashboard/dashboard.module
View file @
020e04c5
...
...
@@ -460,8 +460,8 @@ function theme_dashboard_disabled_block($variables) {
if
(
isset
(
$block
))
{
$output
.=
'<div id="block-'
.
$block
[
'module'
]
.
'-'
.
$block
[
'delta'
]
.
'" class="disabled-block block block-'
.
$block
[
'module'
]
.
'-'
.
$block
[
'delta'
]
.
' module-'
.
$block
[
'module'
]
.
' delta-'
.
$block
[
'delta'
]
.
'">'
.
'<h2>'
.
(
!
empty
(
$block
[
'title'
])
?
$block
[
'title'
]
:
$block
[
'info'
])
.
'</h2>'
.
' module-'
.
$block
[
'module'
]
.
' delta-'
.
$block
[
'delta'
]
.
'">'
.
'<h2>'
.
(
!
empty
(
$block
[
'title'
])
&&
$block
[
'title'
]
!=
'<none>'
?
$block
[
'title'
]
:
$block
[
'info'
])
.
'</h2>'
.
'<div class="content"></div>'
.
'</div>'
;
}
...
...
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