views-view--courses-overview--page-1.tpl.php

Main view template.

Variables available:

  • $classes_array: An array of classes determined in template_preprocess_views_view(). Default classes are: .view .view-[css_name] .view-id-[view_name] .view-display-id-[display_name] .view-dom-id-[dom_id]
  • $classes: A string version of $classes_array for use in the class attribute
  • $css_name: A css-safe version of the view name.
  • $css_class: The user-specified classes names, if any
  • $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

File

profiles/cis/themes/cis-theme/templates/views-view--courses-overview--page-1.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  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. *
  26. * @ingroup views_templates
  27. */
  28. ?>
  29. <div class="row <?php print $classes; ?>">
  30. <?php print render($title_prefix); ?>
  31. <?php if ($title): ?>
  32. <?php print $title; ?>
  33. <?php endif; ?>
  34. <?php print render($title_suffix); ?>
  35. <?php if ($header): ?>
  36. <div class="view-header">
  37. <?php print $header; ?>
  38. </div>
  39. <?php endif; ?>
  40. <div class="large-3 columns courses-overview-filters">
  41. <?php if ($exposed): ?>
  42. <div class="view-filters">
  43. <?php print $exposed; ?>
  44. </div>
  45. <?php endif; ?>
  46. </div>
  47. <?php if ($attachment_before): ?>
  48. <div class="attachment attachment-before">
  49. <?php print $attachment_before; ?>
  50. </div>
  51. <?php endif; ?>
  52. <?php if ($rows): ?>
  53. <div class="large-9 columns view-content">
  54. <?php print $rows; ?>
  55. </div>
  56. <?php elseif ($empty): ?>
  57. <div class="view-empty">
  58. <?php print $empty; ?>
  59. </div>
  60. <?php endif; ?>
  61. <?php if ($pager): ?>
  62. <?php print $pager; ?>
  63. <?php endif; ?>
  64. <?php if ($attachment_after): ?>
  65. <div class="attachment attachment-after">
  66. <?php print $attachment_after; ?>
  67. </div>
  68. <?php endif; ?>
  69. <?php if ($more): ?>
  70. <?php print $more; ?>
  71. <?php endif; ?>
  72. <?php if ($footer): ?>
  73. <div class="view-footer">
  74. <?php print $footer; ?>
  75. </div>
  76. <?php endif; ?>
  77. <?php if ($feed_icon): ?>
  78. <div class="feed-icon">
  79. <?php print $feed_icon; ?>
  80. </div>
  81. <?php endif; ?>
  82. </div><?php /* class view */ ?>

Related topics