Feature #16864 ยป disable_base.diff
typo3/sysext/cms/tslib/class.tslib_pibase.php (working copy) | ||
---|---|---|
* @param string HTML content to wrap in the div-tags with the "main class" of the plugin
|
||
* @return string HTML content wrapped, ready to return to the parent object.
|
||
*/
|
||
function pi_wrapInBaseClass($str) {
|
||
$content = '<div class="'.str_replace('_','-',$this->prefixId).'">
|
||
'.$str.'
|
||
</div>
|
||
';
|
||
function pi_wrapInBaseClass($content) {
|
||
if(!$GLOBALS['TSFE']->config['config']['disableBaseClassWrap']) {
|
||
$content = '<div class="'.str_replace('_','-',$this->prefixId).'">'.$content.'</div>';
|
||
}
|
||
if(!$GLOBALS['TSFE']->config['config']['disablePrefixComment']) {
|
||
$content = '
|
||