Project

General

Profile

Bug #22623 » 14352.diff

Administrator Admin, 2010-05-10 11:56

View differences:

typo3/sysext/install/mod/class.tx_install.php (working copy)
foreach ($this->sections as $header => $valArray) {
// Get the subpart for sections
$sectionSubpart = t3lib_parsehtml::getSubpart($template, '###SECTIONS###');
$sectionMenu = t3lib_parsehtml::getSubpart($template, '###SECTIONMENU###');
// Define the markers content
$sectionMarkers = array(
'id' => md5($header),
'header' => $header . ':',
'sectionContent' => implode(chr(10), $valArray)
);
$sectionMenuMarkers = array(
'jumpid' => md5($header),
'header' => $header . ':',
);
// Fill the markers in the subpart
$sections[] = t3lib_parsehtml::substituteMarkerArray(
$sectionSubpart,
......
1,
1
);
$menu[] = t3lib_parsehtml::substituteMarkerArray(
$sectionMenu,
$sectionMenuMarkers,
'###|###',
1,
1
);
}
// Substitute the subpart for the sections
$content = t3lib_parsehtml::substituteSubpart(
......
'###SECTIONS###',
implode(chr(10), $sections)
);
$content = t3lib_parsehtml::substituteSubpart(
$content,
'###SECTIONMENU###',
implode(chr(10), $menu)
);
return $content;
}
typo3/sysext/install/Resources/Private/Templates/PrintAll.html (working copy)
<div id="t3-install-outer">
<div id="t3-install-box-body>
<!-- ###TEMPLATE### begin -->
<h3>Sections</h3>
<ul>
<!-- ###SECTIONMENU### begin -->
<li><a href="####JUMPID###">###HEADER###</a></li>
<!-- ###SECTIONMENU### end -->
</ul>
<hr />
<!-- ###SECTIONS### begin -->
<h3>###HEADER###</h3>
<h3 id="###ID###">###HEADER###</h3>
###SECTIONCONTENT###
<!-- ###SECTIONS### end -->
<!-- ###TEMPLATE### end -->
(1-1/2)