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