summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-01 13:27:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-01 13:27:27 +0000
commitc908edebeb0fb24c943071f5ac9f1d0631b08c98 (patch)
tree4a9bf6cd6edd39ea21b838bb0088972260ba085a /modules/system
parent5fbaa631cb7bb40eb03be5aebe4b2de89b2fddc0 (diff)
downloadbrdo-c908edebeb0fb24c943071f5ac9f1d0631b08c98.tar.gz
brdo-c908edebeb0fb24c943071f5ac9f1d0631b08c98.tar.bz2
- Patch #601150 by eojthebrave, bganicky, sun, seutje, JacobSingh, ivansf: improved UI for contextual links.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 9e771aa3f..f1d9851d4 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -3634,6 +3634,8 @@ function system_build_contextual_links($element) {
$build = array();
if ($links) {
$build = array(
+ '#prefix' => '<div class="contextual-links-wrapper">',
+ '#suffix' => '</div>',
'#theme' => 'links',
'#links' => $links,
'#attributes' => array('class' => array('contextual-links')),