annotate modules/comment/comment-wrapper.tpl.php @ 1:c1f4ac30525a 6.0

Drupal 6.0
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:28:28 +0100
parents
children
rev   line source
webmaster@1 1 <?php
webmaster@1 2 // $Id: comment-wrapper.tpl.php,v 1.2 2007/08/07 08:39:35 goba Exp $
webmaster@1 3
webmaster@1 4 /**
webmaster@1 5 * @file comment-wrapper.tpl.php
webmaster@1 6 * Default theme implementation to wrap comments.
webmaster@1 7 *
webmaster@1 8 * Available variables:
webmaster@1 9 * - $content: All comments for a given page. Also contains sorting controls
webmaster@1 10 * and comment forms if the site is configured for it.
webmaster@1 11 *
webmaster@1 12 * The following variables are provided for contextual information.
webmaster@1 13 * - $node: Node object the comments are attached to.
webmaster@1 14 * The constants below the variables show the possible values and should be
webmaster@1 15 * used for comparison.
webmaster@1 16 * - $display_mode
webmaster@1 17 * - COMMENT_MODE_FLAT_COLLAPSED
webmaster@1 18 * - COMMENT_MODE_FLAT_EXPANDED
webmaster@1 19 * - COMMENT_MODE_THREADED_COLLAPSED
webmaster@1 20 * - COMMENT_MODE_THREADED_EXPANDED
webmaster@1 21 * - $display_order
webmaster@1 22 * - COMMENT_ORDER_NEWEST_FIRST
webmaster@1 23 * - COMMENT_ORDER_OLDEST_FIRST
webmaster@1 24 * - $comment_controls_state
webmaster@1 25 * - COMMENT_CONTROLS_ABOVE
webmaster@1 26 * - COMMENT_CONTROLS_BELOW
webmaster@1 27 * - COMMENT_CONTROLS_ABOVE_BELOW
webmaster@1 28 * - COMMENT_CONTROLS_HIDDEN
webmaster@1 29 *
webmaster@1 30 * @see template_preprocess_comment_wrapper()
webmaster@1 31 * @see theme_comment_wrapper()
webmaster@1 32 */
webmaster@1 33 ?>
webmaster@1 34 <div id="comments">
webmaster@1 35 <?php print $content; ?>
webmaster@1 36 </div>