Projet

Général

Profil

Paste
Télécharger (3,18 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / advanced_forum / styles / naked / advanced-forum.naked.topic-list-outer-view.tpl.php @ 13c3c9b4

1
<?php
2
/**
3
 * @file
4
 * views-view.tpl.php
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
 * - $admin_links: A rendered list of administrative links
27
 * - $admin_links_raw: A list of administrative links suitable for theme('links')
28
 * - $forum_description: Forum description
29
 *
30
 * - $forum_tools: Drop down list of forum tools
31
 * - $forum_jump: Drop down list of forum hierarchy
32
 *
33
 * @ingroup views_templates
34
 */
35
?>
36

    
37
<div class="<?php print $classes; ?>">
38
  <?php if (!empty($admin_links)): ?>
39
    <div class="views-admin-links views-hide">
40
      <?php print $admin_links; ?>
41
    </div>
42
  <?php endif; ?>
43

    
44
  <?php if ($header): ?>
45
    <div class="view-header">
46
      <?php print $header; ?>
47
    </div>
48
  <?php endif; ?>
49

    
50
  <?php if ($exposed): ?>
51
    <div class="view-filters">
52
      <?php print $exposed; ?>
53
    </div>
54
  <?php endif; ?>
55

    
56
  <?php if ($attachment_before): ?>
57
    <div class="attachment attachment-before">
58
      <?php print $attachment_before; ?>
59
    </div>
60
  <?php endif; ?>
61

    
62
  <?php if ($node_create_list): ?>
63
    <div class="forum-node-create-links forum-node-create-links-top"><?php print $node_create_list ?></div>
64
  <?php endif; ?>
65

    
66
  <?php if ($pager): ?>
67
    <div class="forum-pager" id="forum-pager-top"><?php print $pager; ?></div>
68
  <?php endif; ?>
69

    
70
  <?php if ($rows): ?>
71
    <div class="view-content">
72
      <?php print $rows; ?>
73
    </div>
74
  <?php elseif ($empty): ?>
75
    <div class="view-empty">
76
      <?php print $empty; ?>
77
    </div>
78
  <?php endif; ?>
79

    
80
  <div class="forum-node-create-links"><?php print $node_create_list ?></div>
81

    
82
  <?php if ($pager): ?>
83
    <div class="forum-pager clearfix" id="forum-pager-bottom"><?php print $pager; ?></div>
84
  <?php endif; ?>
85

    
86
  <?php if (!empty($view->sort_form)): ?>
87
    <div id="forum-sort"><?php print advanced_forum_forum_topic_list_sort(); ?></div>
88
  <?php endif; ?>
89

    
90
  <?php if (!empty($forum_tools)): ?>
91
    <div class="forum-tools"><?php print $forum_tools; ?></div>
92
  <?php endif; ?>
93

    
94

    
95
  <?php if ($attachment_after): ?>
96
    <div class="attachment attachment-after">
97
      <?php print $attachment_after; ?>
98
    </div>
99
  <?php endif; ?>
100

    
101
  <?php if ($more): ?>
102
    <?php print $more; ?>
103
  <?php endif; ?>
104

    
105
  <?php if ($footer): ?>
106
    <div class="view-footer">
107
      <?php print $footer; ?>
108
    </div>
109
  <?php endif; ?>
110

    
111
  <?php if ($feed_icon): ?>
112
    <div class="feed-icon">
113
      <?php print $feed_icon; ?>
114
    </div>
115
  <?php endif; ?>
116

    
117
</div> <?php /* class view */ ?>