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