root / drupal7 / sites / all / modules / advanced_forum / styles / naked / advanced-forum.naked.topic-list-outer-view.tpl.php @ 384fc62a
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* @file views-view.tpl.php
|
4 |
* Main 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 |
* - $admin_links: A rendered list of administrative links
|
26 |
* - $admin_links_raw: A list of administrative links suitable for theme('links')
|
27 |
* - $forum_description: Forum description
|
28 |
*
|
29 |
* - $forum_tools: Drop down list of forum tools
|
30 |
* - $forum_jump: Drop down list of forum hierarchy
|
31 |
*
|
32 |
* @ingroup views_templates
|
33 |
*/
|
34 |
?>
|
35 |
|
36 |
<div class="<?php print $classes; ?>"> |
37 |
<?php if (!empty($admin_links)): ?> |
38 |
<div class="views-admin-links views-hide"> |
39 |
<?php print $admin_links; ?> |
40 |
</div>
|
41 |
<?php endif; ?> |
42 |
|
43 |
<?php if ($header): ?> |
44 |
<div class="view-header"> |
45 |
<?php print $header; ?> |
46 |
</div>
|
47 |
<?php endif; ?> |
48 |
|
49 |
<?php if ($exposed): ?> |
50 |
<div class="view-filters"> |
51 |
<?php print $exposed; ?> |
52 |
</div>
|
53 |
<?php endif; ?> |
54 |
|
55 |
<?php if ($attachment_before): ?> |
56 |
<div class="attachment attachment-before"> |
57 |
<?php print $attachment_before; ?> |
58 |
</div>
|
59 |
<?php endif; ?> |
60 |
|
61 |
<?php if ($node_create_list): ?> |
62 |
<div class="forum-node-create-links forum-node-create-links-top"><?php print $node_create_list ?></div> |
63 |
<?php endif; ?> |
64 |
|
65 |
<?php if ($pager): ?> |
66 |
<div class="forum-pager" id="forum-pager-top"><?php print $pager; ?></div> |
67 |
<?php endif; ?> |
68 |
|
69 |
<?php if ($rows): ?> |
70 |
<div class="view-content"> |
71 |
<?php print $rows; ?> |
72 |
</div>
|
73 |
<?php elseif ($empty): ?> |
74 |
<div class="view-empty"> |
75 |
<?php print $empty; ?> |
76 |
</div>
|
77 |
<?php endif; ?> |
78 |
|
79 |
<div class="forum-node-create-links"><?php print $node_create_list ?></div> |
80 |
|
81 |
<?php if ($pager): ?> |
82 |
<div class="forum-pager clearfix" id="forum-pager-bottom"><?php print $pager; ?></div> |
83 |
<?php endif; ?> |
84 |
|
85 |
<?php if (!empty($view->sort_form)): ?> |
86 |
<div id="forum-sort"><?php print advanced_forum_forum_topic_list_sort(); ?></div> |
87 |
<?php endif; ?> |
88 |
|
89 |
<?php if (!empty($forum_tools)): ?> |
90 |
<div class="forum-tools"><?php print $forum_tools; ?></div> |
91 |
<?php endif; ?> |
92 |
|
93 |
|
94 |
<?php if ($attachment_after): ?> |
95 |
<div class="attachment attachment-after"> |
96 |
<?php print $attachment_after; ?> |
97 |
</div>
|
98 |
<?php endif; ?> |
99 |
|
100 |
<?php if ($more): ?> |
101 |
<?php print $more; ?> |
102 |
<?php endif; ?> |
103 |
|
104 |
<?php if ($footer): ?> |
105 |
<div class="view-footer"> |
106 |
<?php print $footer; ?> |
107 |
</div>
|
108 |
<?php endif; ?> |
109 |
|
110 |
<?php if ($feed_icon): ?> |
111 |
<div class="feed-icon"> |
112 |
<?php print $feed_icon; ?> |
113 |
</div>
|
114 |
<?php endif; ?> |
115 |
|
116 |
</div> <?php /* class view */ ?> |