}
                echo '</ul>';
            } else {
                foreach ($listArray as $link) {
                    echo modCLM_TurMultipleHelper::getIndent($param['menuindent']);
                    echo $link;
                    echo '<br />';
                }
            }
            // Bemerkungen
            if ($params->get('shownotes', 0) == 1) {
                echo nl2br(JFilterOutput::cleantext($value->bemerkungen)) . '<br />';
            }
        } else {
            // nicht veröffentlicht
            echo modCLM_TurMultipleHelper::getIndent($param['menuindent']);
            echo JText::_('UNPUBLISHED');
            echo '<br />';
        }
    }
    echo '<br />';
}
if ($params->get('menulist', 0)) {
    echo '</ul>';
}
// ContentID gesetzt, Artikel gefunden
if ($param['contentid'] > 0 and isset($contentTitle)) {
    $contenttext = $params->get('contenttext', '');
    if ($contenttext != '') {
        $textToUse = $contenttext;
    } else {
                }
                echo '</ul>';
            } else {
                foreach ($listArray as $link) {
                    echo modCLM_TurMultipleHelper::getIndent();
                    echo $link;
                    echo '<br />';
                }
            }
            // Bemerkungen
            if ($params->get('shownotes', 0) == 1) {
                echo nl2br(JFilterOutput::cleantext($value->bemerkungen)) . '<br />';
            }
        } else {
            // nicht veröffentlicht
            echo modCLM_TurMultipleHelper::getIndent();
            echo JText::_('UNPUBLISHED');
            echo '<br />';
        }
    }
    echo '<br />';
}
if ($params->get('menulist', 0)) {
    echo '</ul>';
}
// ContentID gesetzt, Artikel gefunden
if ($this->params['contentid'] > 0 and isset($contentTitle)) {
    $contenttext = $params->get('contenttext', '');
    if ($contenttext != '') {
        $textToUse = $contenttext;
    } else {