[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/cck/theme/ -> content-admin-display-overview-form.tpl.php (source)

   1  <?php
   2  // $Id: content-admin-display-overview-form.tpl.php,v 1.1.2.3 2008/10/09 20:58:26 karens Exp $
   3  ?>
   4  <div>
   5    <?php print $help; ?>
   6  </div>
   7  <?php if ($rows): ?>
   8    <table id="content-display-overview" class="sticky-enabled">
   9      <thead>
  10        <tr>
  11          <th><?php print t('Field'); ?></th>
  12          <?php if ($basic): ?>
  13            <th><?php print t('Label'); ?></th>
  14          <?php endif; ?>
  15          <?php foreach ($contexts as $key => $value): ?>
  16            <th><?php print $value['title']; ?></th>
  17            <th><?php print t('Exclude'); ?></th>
  18          <?php endforeach; ?>
  19        </tr>
  20      </thead>
  21      <tbody>
  22        <?php
  23        $count = 0;
  24        foreach ($rows as $row): ?>
  25          <tr class="<?php print $count % 2 == 0 ? 'odd' : 'even'; ?>">
  26            <td><?php print $row->indentation; ?><span class="<?php print $row->label_class; ?>"><?php print $row->human_name; ?></span></td>
  27            <?php if ($basic): ?>
  28              <td><?php print $row->label; ?></td>
  29            <?php endif; ?>
  30            <?php foreach ($contexts as $context => $title): ?>
  31              <td><?php print $row->{$context}->format; ?></td>
  32              <td><?php print $row->{$context}->exclude; ?></td>
  33            <?php endforeach; ?>
  34          </tr>
  35          <?php $count++;
  36        endforeach; ?>
  37      </tbody>
  38    </table>
  39    <?php print $submit; ?>
  40  <?php endif; ?>


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