You are here

content-admin-display-overview-form.tpl.php in Content Construction Kit (CCK) 6.3

Same filename and directory in other branches
  1. 6.2 theme/content-admin-display-overview-form.tpl.php

File

theme/content-admin-display-overview-form.tpl.php
View source
<div>
  <?php

print $help;
?>
</div>
<?php

if ($rows) {
  ?>
  <table id="content-display-overview" class="sticky-enabled">
    <thead>
      <tr>
        <th><?php

  print t('Field');
  ?></th>
        <?php

  if ($basic) {
    ?>
          <th><?php

    print t('Label');
    ?></th>
        <?php

  }
  ?>
        <?php

  foreach ($contexts as $key => $value) {
    ?>
          <th><?php

    print $value['title'];
    ?></th>
          <th><?php

    print t('Exclude');
    ?></th>
        <?php

  }
  ?>
      </tr>
    </thead>
    <tbody>
      <?php

  $count = 0;
  foreach ($rows as $row) {
    ?>
        <tr class="<?php

    print $count % 2 == 0 ? 'odd' : 'even';
    ?>">
          <td><?php

    print $row->indentation;
    ?><span class="<?php

    print $row->label_class;
    ?>"><?php

    print $row->human_name;
    ?></span></td>
          <?php

    if ($basic) {
      ?>
            <td><?php

      print $row->label;
      ?></td>
          <?php

    }
    ?>
          <?php

    foreach ($contexts as $context => $title) {
      ?>
            <td><?php

      print $row->{$context}->format;
      ?></td>
            <td><?php

      print $row->{$context}->exclude;
      ?></td>
          <?php

    }
    ?>
        </tr>
        <?php

    $count++;
  }
  ?>
    </tbody>
  </table>
  <?php

  print $submit;
}