views-ui-list-views.tpl.php

Displays the list of views on the administration screen.

1 theme call to views-ui-list-views.tpl.php
views_ui_list_views in includes/admin.inc
Page callback to list views in the system.

File

theme/views-ui-list-views.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. *
  5. * Displays the list of views on the administration screen.
  6. */
  7. ?>
  8. <p><?php print $help; ?></p>
  9. <?php print $widgets; ?>
  10. <?php foreach ($views as $view): ?>
  11. <table class="views-entry <?php print $view->classes; ?>">
  12. <tbody>
  13. <tr>
  14. <td class="view-name">
  15. <?php print $help_type_icon; ?>
  16. <?php print t('<em>@type</em> @base view: <strong>@view</strong>', array('@type' => $view->type, '@view' => $view->name, '@base' => $view->base)); ?>
  17. <?php if (!empty($view->tag)): ?>
  18. &nbsp;(<?php print $view->tag; ?>)
  19. <?php endif; ?>
  20. </td>
  21. <td class="view-ops"><?php print $view->ops ?></td>
  22. </tr>
  23. <tr>
  24. <td>
  25. <?php if ($view->title): ?>
  26. <?php print t('Title: @title', array('@title' => $view->title)); ?> <br />
  27. <?php endif; ?>
  28. <?php if ($view->path): ?>
  29. <?php print t('Path: !path', array('!path' => $view->path)); ?> <br />
  30. <?php endif; ?>
  31. <?php if ($view->displays): ?>
  32. <em><?php print $view->displays; ?> </em><br />
  33. <?php endif; ?>
  34. </td>
  35. <td colspan="2" class="description">
  36. <?php print $view->description; ?>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. <?php endforeach; ?>