summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-05 09:36:52 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-05 09:36:52 +0000
commitb217d4da9a9bb6e42a7057227ad582fe91829d7e (patch)
tree366551da8e8bfb003f9bcde0351a1a160d553952 /modules/block
parent31b73898af536da873e12cc0cf6f3a4ee7b7d9cc (diff)
downloadbrdo-b217d4da9a9bb6e42a7057227ad582fe91829d7e.tar.gz
brdo-b217d4da9a9bb6e42a7057227ad582fe91829d7e.tar.bz2
#157752 by quicksketch: extend AHAH functionality to most types of form elements, without writing JavaScript. Also AHAH enable the blocks admin page. (part 2)
Diffstat (limited to 'modules/block')
-rw-r--r--modules/block/block-admin-display-form.tpl.php (renamed from modules/block/block-admin-display.tpl.php)9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/block/block-admin-display.tpl.php b/modules/block/block-admin-display-form.tpl.php
index ec69d53c1..f7bf2e030 100644
--- a/modules/block/block-admin-display.tpl.php
+++ b/modules/block/block-admin-display-form.tpl.php
@@ -2,7 +2,7 @@
// $Id$
/**
- * @file block-admin-display.tpl.php
+ * @file block-admin-display-form.tpl.php
* Default theme implementation to configure blocks.
*
* Available variables:
@@ -21,11 +21,12 @@
* - $data->configure_link: Block configuration link.
* - $data->delete_link: For deleting user added blocks.
*
- * @see template_preprocess_block_admin_display()
+ * @see template_preprocess_block_admin_display_form()
* @see theme_block_admin_display()
*/
?>
<?php drupal_add_js('misc/tableheader.js'); ?>
+<?php print $messages; ?>
<table id="blocks">
<thead>
@@ -48,8 +49,8 @@
</tr>
<?php $row++; ?>
<?php endif; ?>
- <tr class="<?php print $row % 2 == 0 ? 'odd' : 'even'; ?>">
- <td class="block"><?php print $data->block_title; ?></td>
+ <tr class="<?php print $row % 2 == 0 ? 'odd' : 'even'; ?><?php print $data->row_class ? ' '. $data->row_class : ''; ?>">
+ <td class="block"><?php print $data->block_title; ?><?php print $data->block_modified ? '<span class="warning">*</span>' : ''; ?></td>
<td><?php print $data->region_select; ?></td>
<td><?php print $data->weight_select; ?></td>
<?php if ($throttle): ?>