Project

General

Profile

Feature #19809 » bug_10118.diff

Administrator Admin, 2009-01-13 12:19

View differences:

class.tslib_pibase.php (working copy)
* @return string HTML content wrapped, ready to return to the parent object.
*/
function pi_wrapInBaseClass($str) {
$content = '<div class="'.str_replace('_','-',$this->prefixId).'">
'.$str.'
if (is_array($this->conf['baseWrap.'])) {
$content = $this->cObj->stdWrap($str,$this->conf['baseWrap.']);
} elseif (!$str || $GLOBALS['TSFE']->config['config']['disableBaseWrap']) {
$content = $str;
} else {
$content = '<div class="'.str_replace('_','-',$this->prefixId).'">
'.$str.'
</div>
';
}
if(!$GLOBALS['TSFE']->config['config']['disablePrefixComment']) {
$content = '
(1-1/5)