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

views-ui-edit-item.tpl.php

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

1 theme call to views-ui-edit-item.tpl.php

File

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