8
|
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 <table>
|
|
43 <tr>
|
|
44 <td valign="top" width="190pt" style="padding-right: 0.5em">
|
|
45 <?php if ($exposed): ?>
|
|
46 <div class="view-filters">
|
|
47 <?php print $exposed; ?>
|
|
48 </div>
|
|
49 <?php endif; ?>
|
|
50 </td><td valign="top" >
|
|
51 <?php if ($attachment_before): ?>
|
|
52 <div class="attachment attachment-before">
|
|
53 <?php print $attachment_before; ?>
|
|
54 </div>
|
|
55 <?php endif; ?>
|
|
56
|
|
57 <?php if ($rows): ?>
|
|
58 <div class="view-content">
|
|
59 <?php print $rows; ?>
|
|
60 </div>
|
|
61 <?php elseif ($empty): ?>
|
|
62 <div class="view-empty">
|
|
63 <?php print $empty; ?>
|
|
64 </div>
|
|
65 <?php endif; ?>
|
|
66
|
|
67 <?php if ($pager): ?>
|
|
68 <?php print $pager; ?>
|
|
69 <?php endif; ?>
|
|
70
|
|
71 <?php if ($attachment_after): ?>
|
|
72 <div class="attachment attachment-after">
|
|
73 <?php print $attachment_after; ?>
|
|
74 </div>
|
|
75 <?php endif; ?>
|
|
76
|
|
77 <?php if ($more): ?>
|
|
78 <?php print $more; ?>
|
|
79 <?php endif; ?>
|
|
80 </td>
|
|
81 </tr>
|
|
82 </table>
|
|
83 <?php if ($footer): ?>
|
|
84 <div class="view-footer">
|
|
85 <?php print $footer; ?>
|
|
86 </div>
|
|
87 <?php endif; ?>
|
|
88
|
|
89 <?php if ($feed_icon): ?>
|
|
90 <div class="feed-icon">
|
|
91 <?php print $feed_icon; ?>
|
|
92 </div>
|
|
93 <?php endif; ?>
|
|
94
|
|
95 </div><?php /* class view */ ?>
|