Index: typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc,v retrieving revision 1.6 diff -a -b -u -r1.6 plaintextLib.inc --- typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc 14 Apr 2004 09:12:47 -0000 1.6 +++ typo3/sysext/cms/tslib/media/scripts/plaintextLib.inc 8 May 2004 15:27:50 -0000 @@ -185,6 +185,11 @@ case 'html': $lines[]=$this->getHTML(); break; + // MLC add list mode + case 'list': + $lines[]=$this->getHeader(); + $lines[]=$this->getList(); + break; default: $defaultOutput = $this->getString($this->conf['defaultOutput']); if ($defaultOutput) { @@ -202,6 +207,19 @@ } /** + * Creates a list + * + # @param string type of content + * @return string Content + */ + function getList($CType = 'list') { + $str = $this->cObj->cObjGetSingle($this->conf[$CType], + $this->conf[$CTYpe . '.']); + $str = trim(strip_tags(eregi_replace('',chr(10),$this->parseBody($str)))); + return $str; + } + + /** * Creates a menu/sitemap * * @return string Content