示例#1
0
文件: navi-sub.php 项目: nemein/MeeGo
<?php

$_MIDCOM->componentloader->load('fi.protie.navigation');
$navi = new fi_protie_navigation();
$navi->follow_selected = true;
$navi->list_leaves = true;
$navi->list_levels = 3;
echo '<div class="navi_sub">' . "\n";
echo '<h2 class="title">Planet MeeGo</h2>';
echo '<div class="separator"></div>';
$navi->draw();
echo '</div>' . "\n";
示例#2
0
<?php

$_MIDCOM->componentloader->load('fi.protie.navigation');
$navigation = new fi_protie_navigation();
$navigation->list_leaves = true;
$navigation->skip_levels = 1;
$navigation->url_name_to_class = true;
$navigation->draw();