summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2013-06-19 19:50:04 (GMT)
committerAlex Pott2013-06-19 20:21:35 (GMT)
commit4e7abeed4fc1369dd8b87a804d15e4a0bad1be96 (patch)
tree20c7fde0fa909fa2d0ba12e36d93f8a9b0a38521
parenta21bde544ec117a1acd360fc936b42803ec5fbbb (diff)
Issue #2009668 followup by drupee, BarisW: Replace theme() with drupal_render() in shortcut module.
-rw-r--r--core/modules/shortcut/shortcut.admin.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/modules/shortcut/shortcut.admin.inc b/core/modules/shortcut/shortcut.admin.inc
index 0671b2a..5e1d1a1 100644
--- a/core/modules/shortcut/shortcut.admin.inc
+++ b/core/modules/shortcut/shortcut.admin.inc
@@ -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);