[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/modules/comment/ -> comment-wrapper.tpl.php (source)

   1  <?php
   2  
   3  /**
   4   * @file comment-wrapper.tpl.php
   5   * Default theme implementation to wrap comments.
   6   *
   7   * Available variables:
   8   * - $content: All comments for a given page. Also contains sorting controls
   9   *   and comment forms if the site is configured for it.
  10   *
  11   * The following variables are provided for contextual information.
  12   * - $node: Node object the comments are attached to.
  13   * The constants below the variables show the possible values and should be
  14   * used for comparison.
  15   * - $display_mode
  16   *   - COMMENT_MODE_FLAT_COLLAPSED
  17   *   - COMMENT_MODE_FLAT_EXPANDED
  18   *   - COMMENT_MODE_THREADED_COLLAPSED
  19   *   - COMMENT_MODE_THREADED_EXPANDED
  20   * - $display_order
  21   *   - COMMENT_ORDER_NEWEST_FIRST
  22   *   - COMMENT_ORDER_OLDEST_FIRST
  23   * - $comment_controls_state
  24   *   - COMMENT_CONTROLS_ABOVE
  25   *   - COMMENT_CONTROLS_BELOW
  26   *   - COMMENT_CONTROLS_ABOVE_BELOW
  27   *   - COMMENT_CONTROLS_HIDDEN
  28   *
  29   * @see template_preprocess_comment_wrapper()
  30   * @see theme_comment_wrapper()
  31   */
  32  ?>
  33  <div id="comments">
  34    <?php print $content; ?>
  35  </div>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7