diff --git a/bean.module b/bean.module index d75a115..fdb049c 100644 --- a/bean.module +++ b/bean.module @@ -886,12 +886,6 @@ function bean_block_view($delta = '') { ); } - if (!empty($return['content']) && module_exists('contextual')) { - $return['content']['#contextual_links']['bean'] = array( - 'block', array($bean->Identifier(), 'edit') - ); - } - return $return; } diff --git a/bean.tpl.php b/sites/all/modules/bean/bean.tpl.php index dcdb9dc..451c63b 100644 --- a/bean.tpl.php +++ b/bean.tpl.php @@ -28,7 +28,11 @@ */ ?>
> - + + title)): ?> + >title ?> + +
> Identifier()]['#contextual_links']['bean'] = array( + 'block', array($bean->Identifier(), 'edit') + ); + } return $content; } }