[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/views/theme/ -> views-view.tpl.php (source)

   1  <?php
   2  // $Id: views-view.tpl.php,v 1.13.2.2 2010/03/25 20:25:28 merlinofchaos Exp $
   3  /**
   4   * @file views-view.tpl.php
   5   * Main view template
   6   *
   7   * Variables available:
   8   * - $classes_array: An array of classes determined in
   9   *   template_preprocess_views_view(). Default classes are:
  10   *     .view
  11   *     .view-[css_name]
  12   *     .view-id-[view_name]
  13   *     .view-display-id-[display_name]
  14   *     .view-dom-id-[dom_id]
  15   * - $classes: A string version of $classes_array for use in the class attribute
  16   * - $css_name: A css-safe version of the view name.
  17   * - $css_class: The user-specified classes names, if any
  18   * - $header: The view header
  19   * - $footer: The view footer
  20   * - $rows: The results of the view query, if any
  21   * - $empty: The empty text to display if the view is empty
  22   * - $pager: The pager next/prev links to display, if any
  23   * - $exposed: Exposed widget form/info to display
  24   * - $feed_icon: Feed icon to display, if any
  25   * - $more: A link to view more, if any
  26   * - $admin_links: A rendered list of administrative links
  27   * - $admin_links_raw: A list of administrative links suitable for theme('links')
  28   *
  29   * @ingroup views_templates
  30   */
  31  ?>
  32  <div class="<?php print $classes; ?>">
  33    <?php if ($admin_links): ?>
  34      <div class="views-admin-links views-hide">
  35        <?php print $admin_links; ?>
  36      </div>
  37    <?php endif; ?>
  38    <?php if ($header): ?>
  39      <div class="view-header">
  40        <?php print $header; ?>
  41      </div>
  42    <?php endif; ?>
  43  
  44    <?php if ($exposed): ?>
  45      <div class="view-filters">
  46        <?php print $exposed; ?>
  47      </div>
  48    <?php endif; ?>
  49  
  50    <?php if ($attachment_before): ?>
  51      <div class="attachment attachment-before">
  52        <?php print $attachment_before; ?>
  53      </div>
  54    <?php endif; ?>
  55  
  56    <?php if ($rows): ?>
  57      <div class="view-content">
  58        <?php print $rows; ?>
  59      </div>
  60    <?php elseif ($empty): ?>
  61      <div class="view-empty">
  62        <?php print $empty; ?>
  63      </div>
  64    <?php endif; ?>
  65  
  66    <?php if ($pager): ?>
  67      <?php print $pager; ?>
  68    <?php endif; ?>
  69  
  70    <?php if ($attachment_after): ?>
  71      <div class="attachment attachment-after">
  72        <?php print $attachment_after; ?>
  73      </div>
  74    <?php endif; ?>
  75  
  76    <?php if ($more): ?>
  77      <?php print $more; ?>
  78    <?php endif; ?>
  79  
  80    <?php if ($footer): ?>
  81      <div class="view-footer">
  82        <?php print $footer; ?>
  83      </div>
  84    <?php endif; ?>
  85  
  86    <?php if ($feed_icon): ?>
  87      <div class="feed-icon">
  88        <?php print $feed_icon; ?>
  89      </div>
  90    <?php endif; ?>
  91  
  92  </div> <?php /* class view */ ?>


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7