diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter/filter.pages.inc | 12 | ||||
-rw-r--r-- | modules/system/system.admin.inc | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/modules/filter/filter.pages.inc b/modules/filter/filter.pages.inc index e018e819d..f4737e180 100644 --- a/modules/filter/filter.pages.inc +++ b/modules/filter/filter.pages.inc @@ -55,17 +55,17 @@ function theme_filter_tips($variables) { $multiple = count($tips) > 1; if ($multiple) { - $output = t('Text formats') . ':'; + $output = '<h2>' . t('Text Formats') . '</h2>'; } if (count($tips)) { if ($multiple) { - $output .= '<ul>'; + $output .= '<div class="compose-tips">'; } foreach ($tips as $name => $tiplist) { if ($multiple) { - $output .= '<li>'; - $output .= '<strong>' . $name . '</strong>:<br />'; + $output .= '<div class="filter-type filter-' . drupal_html_class($name) . '">'; + $output .= '<h3>' . $name . '</h3>'; } if (count($tiplist) > 0) { @@ -77,11 +77,11 @@ function theme_filter_tips($variables) { } if ($multiple) { - $output .= '</li>'; + $output .= '</div>'; } } if ($multiple) { - $output .= '</ul>'; + $output .= '</div>'; } } diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 5b63959b1..0e3bfd659 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1031,7 +1031,7 @@ function _system_modules_build_row($info, $extra) { $status_long = ''; // Check the core compatibility. - if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY || empty($info['files'])) { + if (!isset($info['core']) || $info['core'] != DRUPAL_CORE_COMPATIBILITY) { $compatible = FALSE; $status_short .= t('Incompatible with this version of Drupal core. '); $status_long .= t('This version is not compatible with Drupal !core_version and should be replaced.', array('!core_version' => DRUPAL_CORE_COMPATIBILITY)); |