summaryrefslogtreecommitdiff
path: root/sites/all/modules/views/theme/views-ui-edit-item.tpl.php
blob: bf90ec172ab05487aa428e2f05b7810ae6a3c572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php

/**
 * @file
 * This template handles the printing of fields/filters/sort criteria/arguments or relationships.
 */
?>
<?php print $rearrange; ?>
<?php print $add; ?>
<div class="views-category-title<?php
  if ($overridden) {
    print ' overridden';
  }
  if ($defaulted) {
    print ' defaulted';
  }
  ?>">
  <?php print $item_help_icon; ?>
  <?php print $title; ?>
</div>

<div class="views-category-content<?php
  if ($overridden) {
    print ' overridden';
  }
  if ($defaulted) {
    print ' defaulted';
  }
  ?>">
  <?php if (!empty($no_fields)): ?>
    <div><?php print t('The style selected does not utilize fields.'); ?></div>
  <?php elseif (empty($fields)): ?>
    <div><?php print t('None defined'); ?></div>
  <?php else: ?>
    <?php foreach ($fields as $pid => $field): ?>
      <?php if (!empty($field['links'])): ?>
        <?php print $field['links']; ?>
      <?php endif; ?>
      <div class="<?php print $field['class']; if (!empty($field['changed'])) { print ' changed'; } ?>">
        <?php print $field['title']; ?>
        <?php print $field['info']; ?>
      </div>
    <?php endforeach; ?>
  <?php endif; ?>
</div>