summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-03-30 07:45:20 +0000
committerDries Buytaert <dries@buytaert.net>2007-03-30 07:45:20 +0000
commit9e94bb610136ceb8cfedf2cc139c4b34ed7a46c4 (patch)
tree176d85b021b3d0b64d96a7a227d6508168002fdb /themes/engines/phptemplate
parent630277cc89546d8ba913bfec0a6bb3daedd4fe47 (diff)
downloadbrdo-9e94bb610136ceb8cfedf2cc139c4b34ed7a46c4.tar.gz
brdo-9e94bb610136ceb8cfedf2cc139c4b34ed7a46c4.tar.bz2
- Patch #130366 by webchick and steven: improved signature handling. Step 1 of 2.
Diffstat (limited to 'themes/engines/phptemplate')
-rw-r--r--themes/engines/phptemplate/comment.tpl.php5
-rw-r--r--themes/engines/phptemplate/phptemplate.engine1
2 files changed, 6 insertions, 0 deletions
diff --git a/themes/engines/phptemplate/comment.tpl.php b/themes/engines/phptemplate/comment.tpl.php
index c7211b9bf..ac4eeb88a 100644
--- a/themes/engines/phptemplate/comment.tpl.php
+++ b/themes/engines/phptemplate/comment.tpl.php
@@ -14,6 +14,11 @@
<div class="content">
<?php print $content ?>
+ <?php if ($signature): ?>
+ <div class="user-signature clear-block">
+ <?php print $signature ?>
+ </div>
+ <?php endif; ?>
</div>
<?php print $links ?>
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index 329762d8d..acde67a34 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -313,6 +313,7 @@ function phptemplate_comment($comment, $links = 0) {
'date' => format_date($comment->timestamp),
'links' => isset($links) ? theme('links', $links) : '',
'new' => $comment->new ? t('new') : '',
+ 'signature' => $comment->signature,
'picture' => theme_get_setting('toggle_comment_user_picture') ? theme('user_picture', $comment) : '',
'submitted' => t('Submitted by !a on @b.',
array('!a' => theme('username', $comment),