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