Project

General

Profile

Bug #15212 ยป tools_em_index.php.diff

Administrator Admin, 2005-11-19 13:06

View differences:

typo3/mod/tools/em/index.php.mod 2005-11-19 13:03:56.000000000 +0100
$vDat = $this->renderVersion($EM_CONF['version']);
$EM_CONF['version']=$vDat['version'];
$lines=array();
$lines[]='<?php';
$lines[]='';
$lines[]='########################################################################';
$lines[]='# Extension Manager/Repository config file for ext: "'.$extKey.'"';
$lines[]='# ';
$lines[]='# Auto generated '.date('d-m-Y H:i');
$lines[]='# ';
$lines[]='# Manual updates:';
$lines[]='# Only the data in the array - anything else is removed by next write';
$lines[]='########################################################################';
$lines[]='';
$lines[]='$EM_CONF[$_EXTKEY] = Array (';
$lines[]='<?php
########################################################################
# Extension Manager/Repository config file for ext: "'.$extKey.'"
#
# Auto generated '.date('d-m-Y H:i').'
#
# Manual updates:
# Only the data in the array - anything else is removed by next write
########################################################################
$EM_CONF[$_EXTKEY] = Array (';
foreach($EM_CONF as $k => $v) {
$lines[] = chr(9)."'".$k."' => ".(
......
"'".t3lib_div::slashJS(trim($v),1)."'"
).','.$fMsg[$k];
}
$lines[]=');';
$lines[]='';
$lines[]='?>';
$lines[]=');
?>';
return implode(chr(10),$lines);
}
    (1-1/1)