Projet

Général

Profil

Paste
Télécharger (1,12 ko) Statistiques
| Branche: | Révision:

root / htmltest / sites / all / modules / views / theme / views-ui-edit-item.tpl.php @ 4543c6c7

1
<?php
2

    
3
/**
4
 * @file
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

    
22
<div class="views-category-content<?php
23
  if ($overridden) {
24
    print ' overridden';
25
  }
26
  if ($defaulted) {
27
    print ' defaulted';
28
  }
29
  ?>">
30
  <?php if (!empty($no_fields)): ?>
31
    <div><?php print t('The style selected does not utilize fields.'); ?></div>
32
  <?php elseif (empty($fields)): ?>
33
    <div><?php print t('None defined'); ?></div>
34
  <?php else: ?>
35
    <?php foreach ($fields as $pid => $field): ?>
36
      <?php if (!empty($field['links'])): ?>
37
        <?php print $field['links']; ?>
38
      <?php endif; ?>
39
      <div class="<?php print $field['class']; if (!empty($field['changed'])) { print ' changed'; } ?>">
40
        <?php print $field['title']; ?>
41
        <?php print $field['info']; ?>
42
      </div>
43
    <?php endforeach; ?>
44
  <?php endif; ?>
45
</div>