source: sipes/modules_contrib/cck/theme/content-admin-field-overview-form.tpl.php @ 3514c84

stableversion-3.0
Last change on this file since 3514c84 was dafc8d8, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se actualizo el modulo

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