Beispiel #1
0
        </div>

        <div class="rex-area-col-b">
            <h3 class="rex-hl2"><?php 
echo $I18N->msg('lmap_articles');
?>
</h3>
            <div class="rex-area-content">
            <ul>
            <?php 
$articles = null;
if ($isRoot && count($mountpoints) == 0) {
    $articles = OOArticle::getRootArticles();
} elseif ($category) {
    $articles = $category->getArticles();
}
if ($articles) {
    foreach ($articles as $article) {
        $liClass = $article->isStartpage() ? ' class="rex-linkmap-startpage"' : '';
        $url = rex_linkmap_backlink($article->getId(), htmlspecialchars($article->getName()));
        echo rex_linkmap_format_li($article, $category_id, $GlobalParams, $liClass, ' href="' . $url . '"');
        echo '</li>' . "\n";
    }
}
?>
            </ul>
            </div>
        </div>
    </div>
</div>
  <div class="rex-lmp-arts">
    <h1><?php 
echo $I18N->msg('lmap_articles');
?>
</h1>
  	<ul>
    <?php 
$articles = null;
if ($isRoot) {
    $articles = OOArticle::getRootArticles();
} else {
    if ($category) {
        $articles = $category->getArticles();
    }
}
if ($articles) {
    foreach ($articles as $article) {
        if (!$article->hasTemplate()) {
            continue;
        }
        $liClass = $article->isStartpage() ? ' class="rex-lmp-startpage"' : '';
        $url = rex_linkmap_backlink($article->getId(), $article->getName());
        echo '   ' . rex_linkmap_format_li($article, $category_id, $GlobalParams, $liClass, ' href="' . $url . '"');
        echo '</li>' . "\n";
    }
}
?>
  	</ul>
  </div>
  <div class="rex-clearer"> </div>
</div>