diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-01 15:24:18 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-01 15:24:18 +0000 |
commit | 0223bf1dc25a77671618733ee7e76fba958013d8 (patch) | |
tree | d29511cef00d788181792453651387bd959fb215 /themes/seven/template.php | |
parent | 337dbc4f8db4144bb2392dbd95017f4733946372 (diff) | |
download | brdo-0223bf1dc25a77671618733ee7e76fba958013d8.tar.gz brdo-0223bf1dc25a77671618733ee7e76fba958013d8.tar.bz2 |
#699858 by David_Rothstein, catch, yoroy, sun, ronald_istos, et al: Fix admin/by-task is confusing because it looks too similar to admin/config. Makes admin/by-task a very minimal view, and makes admin/by-module a more fully fledged index.
Diffstat (limited to 'themes/seven/template.php')
-rw-r--r-- | themes/seven/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php index 27a0a40cc..46e853e87 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -51,7 +51,7 @@ function seven_node_add_list($variables) { } /** - * Override of theme_admin_block_content(). + * Overrides theme_admin_block_content(). * * Use unordered list markup in both compact and extended mode. */ @@ -63,7 +63,7 @@ function seven_admin_block_content($variables) { foreach ($content as $item) { $output .= '<li class="leaf">'; $output .= l($item['title'], $item['href'], $item['localized_options']); - if (!system_admin_compact_mode()) { + if (isset($item['description']) && !system_admin_compact_mode()) { $output .= '<div class="description">' . filter_xss_admin($item['description']) . '</div>'; } $output .= '</li>'; |