summaryrefslogtreecommitdiff
path: root/modules/comment/comment.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.tpl.php')
-rw-r--r--modules/comment/comment.tpl.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/comment/comment.tpl.php b/modules/comment/comment.tpl.php
index 7b489aade..2777b3eda 100644
--- a/modules/comment/comment.tpl.php
+++ b/modules/comment/comment.tpl.php
@@ -19,6 +19,7 @@
* - $status: Comment status. Possible values are:
* comment-unpublished, comment-published or comment-preview.
* - $title: Linked title.
+ * - $contextual_links (array): An array of contextual links for the comment.
* - $classes: String of classes that can be used to style contextually through
* CSS. It can be manipulated through the variable $classes_array from
* preprocess functions. The default values can be one or more of the following:
@@ -46,6 +47,10 @@
*/
?>
<div class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
+ <?php if ($contextual_links): ?>
+ <?php print render($contextual_links); ?>
+ <?php endif; ?>
+
<?php print $picture ?>
<?php if ($new): ?>