#130366: Better styling for signature separator (thanks webchick).
parent
dd30a14208
commit
a2baa44499
|
@ -1776,7 +1776,7 @@ function theme_comment($comment, $links = array()) {
|
|||
$output .= '<div class="subject">'. l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) . ' ' . theme('mark', $comment->new) ."</div>\n";
|
||||
$output .= '<div class="credit">'. t('by %a on %b', array('%a' => theme('username', $comment), '%b' => format_date($comment->timestamp))) ."</div>\n";
|
||||
$output .= '<div class="body">'. $comment->comment .'</div>';
|
||||
$output .= '<div class="user-signature clear">'. $comment->signature .'</div>';
|
||||
$output .= '<div class="clear"><div>—</div>'. $comment->signature .'</div>';
|
||||
$output .= '<div class="links">'. theme('links', $links) .'</div>';
|
||||
$output .= '</div>';
|
||||
return $output;
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
<div class="content">
|
||||
<?php print $content; ?>
|
||||
<?php if ($signature): ?>
|
||||
<div class="user-signature clear-block">
|
||||
<div class="clear-block">
|
||||
<div>—</div>
|
||||
<?php print $signature ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
|
@ -165,7 +165,8 @@ function chameleon_comment($comment, $links = "") {
|
|||
$output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], NULL, NULL, "comment-$comment->cid") ."</h3>\n";
|
||||
$output .= " <div class=\"content\">". $comment->comment;
|
||||
if ($signature) {
|
||||
$output .= " <div class=\"user-signature clear-block\">";
|
||||
$output .= " <div class=\"clear-block\">";
|
||||
$output .= "<div>—</div>\n";
|
||||
$output .= $signature ."\n";
|
||||
$output .= " </div>\n";
|
||||
}
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
<div class="content">
|
||||
<?php print $content ?>
|
||||
<?php if ($signature): ?>
|
||||
<div class="user-signature clear-block">
|
||||
<div class="clear-block">
|
||||
<div>—</div>
|
||||
<?php print $signature ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ($links): ?>
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
<div class="content">
|
||||
<?php print $content ?>
|
||||
<?php if ($signature): ?>
|
||||
<div class="user-signature clear-block">
|
||||
<div class="clear-block">
|
||||
<div>—</div>
|
||||
<?php print $signature ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
|
Loading…
Reference in New Issue