summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-16 18:00:43 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-16 18:00:43 +0000
commit5a01e04053814b5cf0060c9000d3cd18e7efc45c (patch)
treefb60ef5cff2f108d68486f0de571211998722e13
parentae66095b3b283d2ba4590640420b875394ed9ba3 (diff)
downloadbrdo-5a01e04053814b5cf0060c9000d3cd18e7efc45c.tar.gz
brdo-5a01e04053814b5cf0060c9000d3cd18e7efc45c.tar.bz2
- Patch #912700 by bleen18: modules with no files[] entries in .info files are deemed 'incompatible with 7.x'.
-rw-r--r--modules/filter/filter.pages.inc12
-rw-r--r--modules/system/system.admin.inc2
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));