Bug #23100 » 14998_v2.diff
typo3/sysext/install/updates/class.tx_coreupdates_compressionlevel.php (Arbeitskopie) | ||
---|---|---|
* @return boolean whether an update is needed (true) or not (false)
|
||
*/
|
||
public function checkForUpdate(&$description) {
|
||
$description = '<strong>TYPO3_CONF_VARS[BE][compressionLevel] is enabled.</strong><br />
|
||
$description = '<p><strong>TYPO3_CONF_VARS[BE][compressionLevel] is enabled.</strong><br />
|
||
In TYPO3 4.4, compressionLevel was expanded to include automatic gzip compression of JavaScript and CSS stylessheet files.
|
||
<strong>To prevent the TYPO3 backend from being unusable, you must include the relevant lines from misc/advanced.htaccess.</strong>';
|
||
<strong>To prevent the TYPO3 backend from being unusable, you must include the relevant lines from misc/advanced.htaccess.</strong></p>';
|
||
if (intval($GLOBALS['TYPO3_CONF_VARS']['BE']['compressionLevel']) > 0) {
|
||
return TRUE;
|
||
}
|
||
... | ... | |
* @return string HTML output
|
||
*/
|
||
public function getUserInput($inputPrefix) {
|
||
$content = '<strong>This configuration cannot be fixed automatically and requires a manual update.</strong> Please include the following lines from misc/advanced.htaccess on top of your .htacess file.
|
||
$content = '<p><strong>This configuration cannot be fixed automatically and requires a manual update.</strong> Please include the following lines from misc/advanced.htaccess on top of your .htacess file.
|
||
<br /><br />
|
||
<pre>
|
||
<FilesMatch "\.js\.gzip$">
|
||
... | ... | |
AddType "text/css" .gzip
|
||
</FilesMatch>
|
||
AddEncoding gzip .gzip
|
||
</pre>';
|
||
</pre></p>';
|
||
return $content;
|
||
}
|
typo3/sysext/install/Resources/Private/Templates/UpdateWizardParts.html (Arbeitskopie) | ||
---|---|---|
</ol>
|
||
</fieldset>
|
||
<!-- ###SINGLEUPDATEWIZARDBOX### begin -->
|
||
<h3>###IDENTIFIER###</h3>
|
||
<h4>###IDENTIFIER###</h4>
|
||
###EXPLANATION###
|
||
<fieldset class="t3-install-form-submit">
|
||
<ol>
|
||
... | ... | |
<!-- ###SINGLEUPDATEWIZARDBOX### end -->
|
||
</form>
|
||
<!-- ###UPDATEWIZARDBOXES### end -->
|
||
<h3>###FINALSTEP###</h3>
|
||
<h4>###FINALSTEP###</h4>
|
||
###FINALSTEPEXPLANATION###
|
||
<a href="index.php?TYPO3_INSTALL[type]=database&TYPO3_INSTALL[database_type]=cmpFile|CURRENT_TABLES#t3-install-bottom">###COMPAREDATABASE###<span class="t3-install-form-button-icon-positive"> </span></a>
|
||
<!-- ###UPDATESAVAILABLE### end -->
|
||
... | ... | |
</ol>
|
||
</fieldset>
|
||
<p>
|
||
<strong>
|
||
<h4>
|
||
###IDENTIFIER###
|
||
</strong>
|
||
</h4>
|
||
</p>
|
||
###IDENTIFIERMETHOD###
|
||
<!-- ###UPDATESAVAILABLE### end -->
|
typo3/sysext/install/Resources/Public/Stylesheets/general.css (Arbeitskopie) | ||
---|---|---|
margin: 0.7em 0 1.5em
|
||
}
|
||
h4 {
|
||
font-size: 110%;
|
||
margin: 0;
|
||
}
|
||
.clearfix:after {
|
||
content: ".";
|
||
display: block;
|
- « Previous
- 1
- 2
- 3
- Next »