Logo Search packages:      
Sourcecode: bamboo version File versions

index.php

<?php

$tree = $ps->getTreeInfo($page);
echo "<ol>";
foreach($tree as $entry) {    
      $link = alink($entry[path],$entry[title]);
      if ($entry['selected']) $link = "<b>$link</b>";
      echo "<li>$link</li>";

      if ($entry['level'] < $entry['nextlevel'])
            echo "<ol>";
      elseif ($entry['nextlevel'] != "-1" && $entry['level'] > $entry['nextlevel'])
            echo "</ol>";

}
echo "</ol>";
?>

Generated by  Doxygen 1.6.0   Back to index