comment.tpl.php

Version 1.4.2.1 (checked in on 2008/03/21 at 21:58:28 by goba)

comment.tpl.php Default theme implementation for comments.

Available variables:

  • $author: Comment author. Can be link or plain text.
  • $content: Body of the post.
  • $date: Date and time of posting.
  • $links: Various operational links.
  • $new: New comment marker.
  • $picture: Authors picture.
  • $signature: Authors signature.
  • $status: Comment status. Possible values are: comment-unpublished, comment-published or comment-preview.
  • $submitted: By line with date and time.
  • $title: Linked title.

These two variables are provided for context.

  • $comment: Full comment object.
  • $node: Node object the comments are attached to.

See also

template_preprocess_comment()

@see theme_comment()

Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.