summaryrefslogtreecommitdiff
path: root/themes/garland
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-06 01:00:27 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-06 01:00:27 +0000
commit66f740c58475b84b907326a0e50e4d91c2fc03ee (patch)
tree9e43dac217331cf78042de4edfefe7b56308086a /themes/garland
parent882fa0ab33cec0aaa9ebe942cbfe759fcf8f4a4e (diff)
downloadbrdo-66f740c58475b84b907326a0e50e4d91c2fc03ee.tar.gz
brdo-66f740c58475b84b907326a0e50e4d91c2fc03ee.tar.bz2
- Patch #626286 by sun, David_Rothstein, Rob Loach: make contextual links a module.
Diffstat (limited to 'themes/garland')
-rw-r--r--themes/garland/block.tpl.php2
-rw-r--r--themes/garland/node.tpl.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/garland/block.tpl.php b/themes/garland/block.tpl.php
index 9474ba72a..da147997e 100644
--- a/themes/garland/block.tpl.php
+++ b/themes/garland/block.tpl.php
@@ -3,7 +3,7 @@
?>
<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
-<?php if ($contextual_links): ?>
+<?php if (!empty($contextual_links)): ?>
<?php print render($contextual_links); ?>
<?php endif; ?>
diff --git a/themes/garland/node.tpl.php b/themes/garland/node.tpl.php
index 47f9cc974..4a2733f42 100644
--- a/themes/garland/node.tpl.php
+++ b/themes/garland/node.tpl.php
@@ -3,7 +3,7 @@
?>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
- <?php if (!$page && $contextual_links): ?>
+ <?php if (!$page && !empty($contextual_links)): ?>
<?php print render($contextual_links); ?>
<?php endif; ?>