Project

General

Profile

Bug #21194 » 12129_v3_4_2branch.diff

Administrator Admin, 2009-10-10 11:58

View differences:

ChangeLog (Arbeitskopie)
2009-10-10 Rupert Germann <rupi@gmx.li>
* Fixed bug #12129 follow-up to bug #11986): Translation update broken with activated output compression (thanks to Steffen Gebert)
2009-09-29 Oliver Hader <oliver@typo3.org>
* Fixed bug #11433: touch(): Utime failed in install tool (thanks to Steffen Gebert)
typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
$mirrorURL = $this->getMirrorURL();
$content = '<input type="button" value="Check status against repository" onclick="document.location.href=\''.t3lib_div::linkThisScript(array('l10n'=>'check')).'\'" />&nbsp;<input type="button" value="Update from repository" onclick="document.location.href=\''.t3lib_div::linkThisScript(array('l10n'=>'update')).'\'" />';
// as this page loads dynamically, quit output buffering caused by ob_gzhandler
$this->quitOutputBuffering();
if(t3lib_div::_GET('l10n') == 'check') {
$loadedExtensions = array_keys($TYPO3_LOADED_EXT);
$loadedExtensions = array_diff($loadedExtensions,array('_CACHEFILE'));
......
$content = $this->doc->startPage('Extension Manager');
$content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$contentParts=explode('###CONTENT###',$content);
ob_end_flush();
echo $contentParts[0].$this->content;
$this->doPrintContent = FALSE;
......
$content = $this->doc->startPage('Extension Manager');
$content.= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
$contentParts=explode('###CONTENT###',$content);
ob_end_flush();
echo $contentParts[0].$this->content;
$this->doPrintContent = FALSE;
......
return $content.'</table><br/>';
}
/**
* Quit output buffering started by ob_gzhandler
*
* @return void
*/
private function quitOutputBuffering() {
while (ob_get_level()) {
ob_end_clean();
}
header('Content-Encoding: None', TRUE);
}
}
// Include extension?
(4-4/4)