0
|
1 <?php
|
|
2
|
|
3 /**
|
|
4 * @file
|
|
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 *
|
|
27 * @ingroup views_templates
|
|
28 */
|
|
29 ?>
|
|
30 <div class="<?php print $classes; ?>">
|
|
31 <?php print render($title_prefix); ?>
|
|
32 <?php if ($title): ?>
|
|
33 <?php print $title; ?>
|
|
34 <?php endif; ?>
|
|
35 <?php print render($title_suffix); ?>
|
|
36 <?php if ($header): ?>
|
|
37 <div class="view-header">
|
|
38 <?php print $header; ?>
|
|
39 </div>
|
|
40 <?php endif; ?>
|
|
41
|
|
42 <?php if ($exposed): ?>
|
|
43 <div class="view-filters">
|
|
44 <?php print $exposed; ?>
|
|
45 </div>
|
|
46 <?php endif; ?>
|
|
47
|
|
48 <?php if ($attachment_before): ?>
|
|
49 <div class="attachment attachment-before">
|
|
50 <?php print $attachment_before; ?>
|
|
51 </div>
|
|
52 <?php endif; ?>
|
|
53 <?php if ($pager): ?>
|
|
54 <?php print $pager; ?>
|
|
55 <?php endif; ?>
|
|
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 </div><?php /* class view */ ?>
|