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
4e7abeed
Commit
4e7abeed
authored
Jun 19, 2013
by
alexpott
Browse files
Issue
#2009668
followup by drupee, BarisW: Replace theme() with drupal_render() in shortcut module.
parent
a21bde54
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/shortcut/shortcut.admin.inc
View file @
4e7abeed
...
...
@@ -289,10 +289,12 @@ function theme_shortcut_set_customize($variables) {
'#theme'
=>
'table'
,
'#header'
=>
$header
,
'#rows'
=>
$rows
,
'#empty'
=>
t
(
'No shortcuts available. <a href="@link">Add a shortcut</a>.'
,
array
(
'@link'
=>
url
(
'admin/config/user-interface/shortcut/manage/'
.
$form
[
'#shortcut_set_name'
]
.
'/add-link'
),
)),
'#attributes'
=>
array
(
'id'
=>
'shortcuts'
,
'empty'
=>
t
(
'No shortcuts available. <a href="@link">Add a shortcut</a>.'
,
array
(
'@link'
=>
url
(
'admin/config/user-interface/shortcut/manage/'
.
$form
[
'#shortcut_set_name'
]
.
'/add-link'
)))
)
),
);
$output
=
drupal_render
(
$table
);
...
...
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