views-ui-edit-item.tpl.php

  1. 3.x theme/views-ui-edit-item.tpl.php
  2. 2.x theme/views-ui-edit-item.tpl.php

This template handles the printing of fields/filters/sort criteria/arguments or relationships.

File

theme/views-ui-edit-item.tpl.php
View source
  1. <?php
  2. /**
  3. * @file
  4. * This template handles the printing of fields/filters/sort criteria/arguments or relationships.
  5. */
  6. ?>
  7. <?php print $rearrange; ?>
  8. <?php print $add; ?>
  9. <div class="views-category-title<?php
  10. if ($overridden) {
  11. print ' overridden';
  12. }
  13. if ($defaulted) {
  14. print ' defaulted';
  15. }
  16. ?>">
  17. <?php print $item_help_icon; ?>
  18. <?php print $title; ?>
  19. </div>
  20. <div class="views-category-content<?php
  21. if ($overridden) {
  22. print ' overridden';
  23. }
  24. if ($defaulted) {
  25. print ' defaulted';
  26. }
  27. ?>">
  28. <?php if (!empty($no_fields)): ?>
  29. <div><?php print t('The style selected does not utilize fields.'); ?></div>
  30. <?php elseif (empty($fields)): ?>
  31. <div><?php print t('None defined'); ?></div>
  32. <?php else: ?>
  33. <?php foreach ($fields as $pid => $field): ?>
  34. <?php if (!empty($field['links'])): ?>
  35. <?php print $field['links']; ?>
  36. <?php endif; ?>
  37. <div class="<?php print $field['class']; if (!empty($field['changed'])) { print ' changed'; } ?>">
  38. <?php print $field['title']; ?>
  39. <?php print $field['info']; ?>
  40. </div>
  41. <?php endforeach; ?>
  42. <?php endif; ?>
  43. </div>