diff options
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index e5d1337ba..fd46cd7c0 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -2204,8 +2204,10 @@ function template_preprocess_comment(&$variables) { $variables['signature'] = $comment->signature; $uri = entity_uri('comment', $comment); + $uri['options'] += array('attributes' => array('class' => 'permalink', 'rel' => 'bookmark')); + $variables['title'] = l($comment->subject, $uri['path'], $uri['options']); - $variables['permalink'] = l('#', $uri['path'], $uri['options']); + $variables['permalink'] = l(t('Permalink'), $uri['path'], $uri['options']); // Preprocess fields. field_attach_preprocess('comment', $comment, $variables['elements'], $variables); |