summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2011-03-17 23:19:29 (GMT)
committerEarl Miles2011-03-17 23:19:29 (GMT)
commit323fc34f0dda0abf32b3cef4d26b24a513452cf8 (patch)
treeccbef57256a8591ffac5128c03d11aa73e67b70e
parentb68d6ce6fc277701c001a1cc93f6cdb28f1620cd (diff)
parent2af5322cce989155711c11cefe8e7293d9be8187 (diff)
Merge branch 'd7v3ui' of git.drupal.org:project/views into d7v3ui
-rw-r--r--includes/admin.inc2
-rw-r--r--theme/views-ui-display-tab-bucket.tpl.php2
-rw-r--r--theme/views-ui-display-tab-setting.tpl.php2
3 files changed, 4 insertions, 2 deletions
diff --git a/includes/admin.inc b/includes/admin.inc
index ed20efd..b88ebf1 100644
--- a/includes/admin.inc
+++ b/includes/admin.inc
@@ -1630,6 +1630,7 @@ function template_preprocess_views_ui_display_tab_setting(&$variables) {
}
if (!empty($variables['overridden'])) {
$variables['classes_array'][] = 'overridden';
+ $variables['attributes_array']['title'][] = t('Overridden');
}
// Append a colon to the description, if requested.
@@ -1650,6 +1651,7 @@ function template_preprocess_views_ui_display_tab_bucket(&$variables) {
}
if (!empty($element['#overridden'])) {
$variables['classes_array'][] = 'overridden';
+ $variables['attributes_array']['title'][] = t('Overridden');
}
$variables['content'] = $element['#children'];
diff --git a/theme/views-ui-display-tab-bucket.tpl.php b/theme/views-ui-display-tab-bucket.tpl.php
index 7d222cb..c96b5a4 100644
--- a/theme/views-ui-display-tab-bucket.tpl.php
+++ b/theme/views-ui-display-tab-bucket.tpl.php
@@ -5,7 +5,7 @@
* Template for each "box" on the display query edit screen.
*/
?>
-<div class="<?php print $classes; ?>">
+<div class="<?php print $classes; ?>" <?php print $attributes; ?>>
<?php print $item_help_icon; ?>
<?php if(!empty($actions)) : ?>
<?php print $actions; ?>
diff --git a/theme/views-ui-display-tab-setting.tpl.php b/theme/views-ui-display-tab-setting.tpl.php
index 6a79fda..16b8a4a 100644
--- a/theme/views-ui-display-tab-setting.tpl.php
+++ b/theme/views-ui-display-tab-setting.tpl.php
@@ -5,7 +5,7 @@
* Template for each row inside the "boxes" on the display query edit screen.
*/
?>
-<div class="views-display-setting <?php print $classes; ?> <?php print $zebra; ?> clearfix">
+<div class="views-display-setting <?php print $classes; ?> <?php print $zebra; ?> clearfix" <?php print $attributes; ?>>
<?php if ($description): ?>
<span class="label"><?php print $description; ?></span>
<?php endif; ?>