blob: f2da647376336cd56b8cddfc88f8c23defe77936 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php
function print_folder_list($folderlist, $depth) {
foreach($folderlist as $folder) {
echo '<li style="margin-left:' . 10*$depth . 'px;" class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . $folder->getName() . '</li>';
}
}
print_folder_list($_['folderforest'], 0);
?>
|