Feature #19809 » bug_10118.diff
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 = '
|