diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-26 02:06:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-26 02:06:53 +0000 |
commit | f0a49e662de237c4096d6384a07e3ccc2b43999c (patch) | |
tree | 845a318cd92ad9f0cc38e034fba1679064b0a0d8 /modules/field_ui/field_ui-field-overview-form.tpl.php | |
parent | 4114d3ce58d61240faf0b667858bd127436a7a4d (diff) | |
download | brdo-f0a49e662de237c4096d6384a07e3ccc2b43999c.tar.gz brdo-f0a49e662de237c4096d6384a07e3ccc2b43999c.tar.bz2 |
- Patch #616240 by yched, marcingy: make field UI screens extensible from contrib.
Diffstat (limited to 'modules/field_ui/field_ui-field-overview-form.tpl.php')
-rw-r--r-- | modules/field_ui/field_ui-field-overview-form.tpl.php | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/modules/field_ui/field_ui-field-overview-form.tpl.php b/modules/field_ui/field_ui-field-overview-form.tpl.php deleted file mode 100644 index 781119d36..000000000 --- a/modules/field_ui/field_ui-field-overview-form.tpl.php +++ /dev/null @@ -1,94 +0,0 @@ -<?php -// $Id$ - -/** - * @file - * Default theme implementation to configure field settings. - * - * Available variables: - * - * - $form: The complete overview form for the field settings. - * - $contexts: An associative array of the available contexts for these fields. - * On the node field display settings this defaults to including "teaser" and - * "full" as the available contexts. - * - $rows: The field overview form broken down into rendered rows for printing - * as a table. - * - $submit: The rendered submit button for this form. - * - * @see field_ui_field_overview_form() - * @see template_preprocess_field_ui_field_overview_form() - */ -?> -<table id="field-overview" class="sticky-enabled"> - <thead> - <tr> - <th><?php print t('Label'); ?></th> - <th><?php print t('Weight'); ?></th> - <th><?php print t('Name'); ?></th> - <th><?php print t('Field'); ?></th> - <th><?php print t('Widget'); ?></th> - <th colspan="2"><?php print t('Operations'); ?></th> - </tr> - </thead> - <tbody> - <?php - $count = 0; - foreach ($rows as $row): ?> - <tr class="<?php print $count % 2 == 0 ? 'odd' : 'even'; ?> <?php print $row->class ?>"> - <?php - switch ($row->row_type): - case 'field': ?> - <td> - <span class="<?php print $row->label_class; ?>"><?php print $row->label; ?></span> - </td> - <td><?php print $row->weight . $row->hidden_name; ?></td> - <td><?php print $row->field_name; ?></td> - <td><?php print $row->type; ?></td> - <td><?php print $row->widget_type; ?></td> - <td><?php print $row->edit; ?></td> - <td><?php print $row->delete; ?></td> - <?php break; - - case 'extra': ?> - <td> - <span class="<?php print $row->label_class; ?>"><?php print $row->label; ?></span> - </td> - <td><?php print $row->weight . $row->hidden_name; ?></td> - <td><?php print $row->name; ?></td> - <td colspan="2"><?php print $row->description; ?></td> - <td><?php print $row->edit; ?></td> - <td><?php print $row->delete; ?></td> - <?php break; - - case 'add_new_field': ?> - <td> - <div class="<?php print $row->label_class; ?>"> - <div class="new"><?php print t('Add new field'); ?></div> - <?php print $row->label; ?> - </div> - </td> - <td><div class="new"> </div><?php print $row->weight . $row->hidden_name; ?></td> - <td><div class="new"> </div><?php print $row->field_name; ?></td> - <td><div class="new"> </div><?php print $row->type; ?></td> - <td colspan="3"><div class="new"> </div><?php print $row->widget_type; ?></td> - <?php break; - - case 'add_existing_field': ?> - <td> - <div class="<?php print $row->label_class; ?>"> - <div class="new"><?php print t('Add existing field'); ?></div> - <?php print $row->label; ?> - </div> - </td> - <td><div class="new"> </div><?php print $row->weight . $row->hidden_name; ?></td> - <td colspan="2"><div class="new"> </div><?php print $row->field_name; ?></td> - <td colspan="3"><div class="new"> </div><?php print $row->widget_type; ?></td> - <?php break; - endswitch; ?> - </tr> - <?php $count++; - endforeach; ?> - </tbody> -</table> - -<?php print $submit; ?> |