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