/**
  * formatNote()
  * formatiert öffentliche Notiz
  */
 function formatNote($text)
 {
     $string = nl2br(JFilterOutput::cleantext($text));
     return $string;
 }
示例#2
0
            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 {
        $textToUse = $contentTitle;
    }
    echo '<a href="index.php?option=com_content&view=article&id=' . $param['contentid'] . '">' . $textToUse . '</a>';
    echo '<br />';
}
// Text unterhalb
if ($param['textbottom'] != '') {
    echo nl2br(JFilterOutput::cleantext($param['textbottom']));
}
// Menu Ende
echo '</div>';
?>




                echo '<li><span>' . nl2br(JFilterOutput::cleantext($value->bemerkungen)) . '</span></li>';
            }
            echo '</ul>';
        } else {
            // nicht veröffentlicht
            echo '<ul><li><span>' . JText::_('UNPUBLISHED') . '</span></li></ul>';
        }
    }
    echo '</li>';
    // schließt dieses Turnier ab
}
// alle Turniere abgeschlossen
// ContentID gesetzt, Artikel gefunden
if ($param['contentid'] > 0 and isset($contentTitle)) {
    $contenttext = $params->get('contenttext', '');
    if ($contenttext != '') {
        $textToUse = $contenttext;
    } else {
        $textToUse = $contentTitle;
    }
    echo '<li><span><a href="index.php?option=com_content&view=article&id=' . $param['contentid'] . '">' . $textToUse . '</a></span></li>';
}
// Text unterhalb
if ($param['textbottom'] != '') {
    echo '<li><span>' . nl2br(JFilterOutput::cleantext($param['textbottom'])) . '</span></li>';
}
?>


</ul>
示例#4
0
            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 {
        $textToUse = $contentTitle;
    }
    echo '<a href="index.php?option=com_content&view=article&id=' . $this->params['contentid'] . '">' . $textToUse . '</a>';
    echo '<br />';
}
// Text unterhalb
if ($this->params['textbottom'] != '') {
    echo nl2br(JFilterOutput::cleantext($this->params['textbottom']));
}
// Menu Ende
echo '</div>';
?>