Project

General

Profile

Bug #23100 » 14998_v2.diff

Administrator Admin, 2010-07-17 18:53

View differences:

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>
&lt;FilesMatch "\.js\.gzip$"&gt;
......
AddType "text/css" .gzip
&lt;/FilesMatch&gt;
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&amp;TYPO3_INSTALL[database_type]=cmpFile|CURRENT_TABLES#t3-install-bottom">###COMPAREDATABASE###<span class="t3-install-form-button-icon-positive">&nbsp;</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;
(3-3/3)