You are here

views-ui-edit-item.tpl.php in Views (for Drupal 7) 6.3

Same filename and directory in other branches
  1. 6.2 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.

File

theme/views-ui-edit-item.tpl.php
View source
<?php

/**
 * @file views-ui-edit-item.tpl.php
 *
 * This template handles the printing of fields/filters/sort criteria/arguments or relationships.
 */
print $rearrange;
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

    }
    ?>
      <div class="<?php

    print $field['class'];
    if (!empty($field['changed'])) {
      print ' changed';
    }
    ?>">
        <?php

    print $field['title'];
    ?>
        <?php

    print $field['info'];
    ?>
      </div>
    <?php

  }
  ?>
  <?php

}
?>
</div>