[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/views/theme/ -> views-ui-edit-item.tpl.php (source)

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


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7