comment.tpl.php

  1. drupal
    1. drupal6
    2. drupal7

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()

theme_comment()

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen