Bug #21952 » 13230.diff
typo3/mod/tools/em/class.em_index.php (working copy) | ||
---|---|---|
} elseif ($depK == 'typo3') {
|
||
if (!$depV) continue;
|
||
$t3Version = substr(TYPO3_version, -4) == '-dev' ? substr(TYPO3_version, 0, -4) . '.0' : TYPO3_version;
|
||
$versionRange = $this->splitVersionRange($depV);
|
||
if ($versionRange[0]!='0.0.0' && version_compare(TYPO3_version,$versionRange[0],'<')) {
|
||
if ($versionRange[0]!='0.0.0' && version_compare($t3Version, $versionRange[0], '<')) {
|
||
$msg[] = '<br />' . sprintf($GLOBALS['LANG']->getLL('checkDependencies_typo3_too_low'),
|
||
TYPO3_version, $versionRange[0]);
|
||
$t3Version, $versionRange[0]);
|
||
$msg[] = ' <input type="checkbox" value="1" name="depsolver[ignore][' . $depK . ']" id="checkIgnore_' . $depK . '" />
|
||
<label for="checkIgnore_' . $depK . '">' . $GLOBALS['LANG']->getLL('checkDependencies_ignore_requirement') . '</label>';
|
||
$depError = true;
|
||
continue;
|
||
} elseif ($versionRange[1]!='0.0.0' && version_compare(TYPO3_version,$versionRange[1],'>')) {
|
||
} elseif ($versionRange[1]!='0.0.0' && version_compare($t3Version, $versionRange[1], '>')) {
|
||
$msg[] = '<br />' . sprintf($GLOBALS['LANG']->getLL('checkDependencies_typo3_too_high'),
|
||
TYPO3_version, $versionRange[1]);
|
||
$t3Version, $versionRange[1]);
|
||
$msg[] = ' <input type="checkbox" value="1" name="depsolver[ignore][' . $depK . ']" id="checkIgnore_' . $depK . '" />
|
||
<label for="checkIgnore_' . $depK . '">' . $GLOBALS['LANG']->getLL('checkDependencies_ignore_requirement') . '</label>';
|
||
$depError = true;
|
||
... | ... | |
<td>
|
||
<form action="' . htmlspecialchars($script) . '" method="post">' .
|
||
$addFields .
|
||
$flashMessage->render() .
|
||
$flashMessage->render() .
|
||
'<br /><input type="submit" name="write" value="' . $GLOBALS['LANG']->getLL('updatesForm_make_updates') . '" />
|
||
</form>
|
||
</td>
|