Commit 3cad9f41 authored by Dries's avatar Dries

- Patch #520486 by kika: after killing folded comments in #506218,...

- Patch #520486 by kika: after killing folded comments in #506218, modules/comment/comment-folded.tpl.php still exists. Kill it to death!
parent 176379aa
<?php
// $Id$
/**
* @file
* Default theme implementation for folded comments.
*
* Available variables:
* - $title: Linked title to full comment.
* - $new: New comment marker.
* - $author: Comment author. Can be link or plain text.
* - $date: Date and time of posting.
* - $comment: Full comment object.
* - $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:
* - comment-folded: The current template type, i.e., "theming hook".
* - comment-by-anonymous: Comment by an unregistered user.
* - comment-by-node-author: Comment by the author of the parent node.
* The following applies only to viewers who are registered users:
* - comment-unpublished: An unpublished comment visible only to administrators.
* - comment-by-viewer: Comment by the user currently viewing the page.
* - comment-new: New comment since last the visit.
*
* These two variables are provided for context:
* - $comment: Full comment object.
* - $node: Node object the comments are attached to.
*
* Other variables:
* - $classes_array: Array of html class attribute values. It is flattened
* into a string within the variable $classes.
*
* @see template_preprocess_comment_folded()
* @see theme_comment_folded()
*/
?>
<div class="<?php print $classes; ?>">
<span class="subject"><?php print $title . ' ' . $new; ?></span><span class="credit"><?php print t('by') . ' ' . $author; ?></span>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment