source: sipei/modules/cck/theme/content-admin-field-overview-form.tpl.php

drupal-6.x
Last change on this file was ffa4103, checked in by Luis Peña <lpena@…>, 12 años ago

Cambiando el nombre de modulos a modules

  • Propiedad mode establecida a 100755
File size: 4.5 KB
Línea 
1<?php
2// $Id: content-admin-field-overview-form.tpl.php,v 1.1.2.6 2009/06/26 18:02:45 yched Exp $
3?>
4<div>
5  <?php print $help; ?>
6</div>
7<table id="content-field-overview" class="sticky-enabled">
8  <thead>
9    <tr>
10      <th><?php print t('Label'); ?></th>
11      <th><?php print t('Weight'); ?></th>
12      <th><?php print t('Name'); ?></th>
13      <th><?php print t('Type'); ?></th>
14      <th><?php print t('Operations'); ?></th>
15    </tr>
16  </thead>
17  <tbody>
18    <?php
19    $count = 0;
20    foreach ($rows as $row): ?>
21      <tr class="<?php print $count % 2 == 0 ? 'odd' : 'even'; ?> <?php print $row->class ?>">
22      <?php
23      switch ($row->row_type):
24        case 'field': ?>
25          <td>
26            <?php print $row->indentation; ?>
27            <span class="<?php print $row->label_class; ?>"><?php print $row->label; ?></span>
28          </td>
29          <td><?php print $row->weight . $row->parent . $row->hidden_name; ?></td>
30          <td><?php print $row->field_name; ?></td>
31          <td><?php print $row->type; ?></td>
32          <td><?php print $row->configure; ?>&nbsp;&nbsp;<?php print $row->remove; ?></td>
33          <?php break;
34        case 'group': ?>
35          <td>
36            <?php print $row->indentation; ?>
37            <span class="<?php print $row->label_class; ?>"><?php print $row->label; ?></span>
38          </td>
39          <td><?php print $row->weight . $row->parent . $row->hidden_name; ?></td>
40          <td><?php print $row->group_name; ?></td>
41          <td><?php print $row->group_type; ?></td>
42          <td><?php print $row->configure; ?>&nbsp;&nbsp;<?php print $row->remove; ?></td>
43          <?php break;
44        case 'extra': ?>
45          <td>
46            <?php print $row->indentation; ?>
47            <span class="<?php print $row->label_class; ?>"><?php print $row->label; ?></span>
48          </td>
49          <td><?php print $row->weight . $row->parent . $row->hidden_name; ?></td>
50          <td colspan="2"><?php print $row->description; ?></td>
51          <td><?php print $row->configure; ?>&nbsp;&nbsp;<?php print $row->remove; ?></td>
52          <?php break;
53        case 'separator': ?>
54          <td colspan="5" class="region"><?php print t('Add'); ?></td>
55          <?php break;
56        case 'add_new_field': ?>
57          <td>
58            <?php print $row->indentation; ?>
59            <div class="<?php print $row->label_class; ?>">
60              <div class="content-new"><?php print theme('advanced_help_topic', 'content', 'add-new-field') . t('New field'); ?></div>
61              <?php print $row->label; ?>
62            </div>
63          </td>
64          <td><div class="content-new">&nbsp;</div><?php print $row->weight . $row->parent . $row->hidden_name; ?></td>
65          <td><div class="content-new">&nbsp;</div><?php print $row->field_name; ?></td>
66          <td><div class="content-new">&nbsp;</div><?php print $row->type; ?></td>
67          <td><div class="content-new">&nbsp;</div><?php print $row->widget_type; ?></td>
68          <?php break;
69        case 'add_existing_field': ?>
70          <td>
71            <?php print $row->indentation; ?>
72            <div class="<?php print $row->label_class; ?>">
73              <div class="content-new"><?php print theme('advanced_help_topic', 'content', 'add-existing-field') . t('Existing field'); ?></div>
74              <?php print $row->label; ?>
75            </div>
76          </td>
77          <td><div class="content-new">&nbsp;</div><?php print $row->weight . $row->parent . $row->hidden_name; ?></td>
78          <td colspan="2"><div class="content-new">&nbsp;</div><?php print $row->field_name; ?></td>
79          <td><div class="content-new">&nbsp;</div><?php print $row->widget_type; ?></td>
80          <?php break;
81       case 'add_new_group': ?>
82          <td>
83            <?php print $row->indentation; ?>
84            <div class="<?php print $row->label_class; ?>">
85              <div class="content-new"><?php print theme('advanced_help_topic', 'content', 'add-new-group') . t('New group'); ?></div>
86              <?php print $row->label; ?>
87            </div>
88          </td>
89          <td><div class="content-new">&nbsp;</div><?php print $row->weight . $row->parent . $row->hidden_name; ?></td>
90          <td><div class="content-new">&nbsp;</div><?php print $row->group_name; ?></td>
91          <td><div class="content-new">&nbsp;</div><?php print $row->group_type; ?></td>
92          <td><div class="content-new">&nbsp;</div><?php print $row->group_option; ?></td>
93        <?php break;
94      endswitch; ?>
95      </tr>
96      <?php $count++;
97    endforeach; ?>
98  </tbody>
99</table>
100
101<?php print $submit; ?>
102
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.