You are here

advanced_forum.naked.topic-list-outer-view.tpl.php in Advanced Forum 6.2

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')

File

styles/naked/advanced_forum.naked.topic-list-outer-view.tpl.php
View source
<?php

/**
 * @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
 */
?>

<div class="view view-<?php

print $css_name;
?> view-id-<?php

print $name;
?> view-display-id-<?php

print $display_id;
?> view-dom-id-<?php

print $dom_id;
?>">
  <?php

if ($admin_links) {
  ?>
    <div class="views-admin-links views-hide">
      <?php

  print $admin_links;
  ?>
    </div>
  <?php

}
?>

  <?php

if ($header) {
  ?>
    <div class="view-header">
      <?php

  print $header;
  ?>
    </div>
  <?php

}
?>

  <?php

if ($exposed) {
  ?>
    <div class="view-filters">
      <?php

  print $exposed;
  ?>
    </div>
  <?php

}
?>

  <?php

if ($attachment_before) {
  ?>
    <div class="attachment attachment-before">
      <?php

  print $attachment_before;
  ?>
    </div>
  <?php

}
?>

  <div class="forum-node-create-links forum-node-create-links-top"><?php

print $node_create_list;
?></div>

  <?php

if ($pager) {
  ?>
    <div class="forum-pager" id="forum-pager-top"><?php

  print $pager;
  ?></div>
  <?php

}
?>

  <?php

if ($rows) {
  ?>
    <div class="view-content">
      <?php

  print $rows;
  ?>
    </div>
  <?php

}
elseif ($empty) {
  ?>
    <div class="view-empty">
      <?php

  print $empty;
  ?>
    </div>
  <?php

}
?>

  <div class="forum-node-create-links"><?php

print $node_create_list;
?></div>

  <?php

if ($pager) {
  ?>
    <div class="forum-pager" id="forum-pager-bottom"><?php

  print $pager;
  ?></div>
  <?php

}
?>

  <?php

if (!empty($view->sort_form)) {
  ?>
     <div id="forum-sort"><?php

  print advanced_forum_forum_topic_list_sort();
  ?></div>
  <?php

}
?>

  <?php

if (!empty($forum_tools)) {
  ?>
    <div class="forum-tools"><?php

  print $forum_tools;
  ?></div>
  <?php

}
?>


  <?php

if ($attachment_after) {
  ?>
    <div class="attachment attachment-after">
      <?php

  print $attachment_after;
  ?>
    </div>
  <?php

}
?>

  <?php

if ($more) {
  ?>
    <?php

  print $more;
  ?>
  <?php

}
?>

  <?php

if ($footer) {
  ?>
    <div class="view-footer">
      <?php

  print $footer;
  ?>
    </div>
  <?php

}
?>

  <?php

if ($feed_icon) {
  ?>
    <div class="feed-icon">
      <?php

  print $feed_icon;
  ?>
    </div>
  <?php

}
?>

</div> <?php


/* class view */