|
|
Drupal example source code file (content-admin-display-overview-form.tpl.php)
The content-admin-display-overview-form.tpl.php Drupal example source code<?php // $Id: content-admin-display-overview-form.tpl.php,v 1.1.2.3 2008/10/09 20:58:26 karens Exp $ ?> <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 endif; ?> <?php foreach ($contexts as $key => $value): ?> <th><?php print $value['title']; ?></th> <th><?php print t('Exclude'); ?></th> <?php endforeach; ?> </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 endif; ?> <?php foreach ($contexts as $context => $title): ?> <td><?php print $row->{$context}->format; ?></td> <td><?php print $row->{$context}->exclude; ?></td> <?php endforeach; ?> </tr> <?php $count++; endforeach; ?> </tbody> </table> <?php print $submit; ?> <?php endif; ?> Other Drupal examples (source code examples)Here is a short list of links related to this Drupal content-admin-display-overview-form.tpl.php source code file: |
"Drupal" is a registered trademark of Dries Buytaert.
my drupal tutorials and examples
Copyright
1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.
Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.