print "<ul>";
        foreach ($collection->types as $type) {
            if ($type != $object->type) {
                $material_links[] = '<li class="category">' . l($type, $collection->url, array('fragment' => $type)) . '</li>';
            }
        }
        print implode(' ', $material_links);
        print "</ul>";
        print "</div>";
    }
}
?>
          

          <?php 
$referenced_nodes = ting_reference_nodes($object);
if ($referenced_nodes) {
    print '<h3>Omtale på websitet</h3>';
    foreach ($referenced_nodes as $node) {
        print node_view($node, TRUE);
    }
}
?>

          <?php 
if ($object->type[0] != 'Netdokument' && module_exists('alma')) {
    ?>
            <div class="ding-box-wide alma-availability">
              <h3>Følgende biblioteker har "<?php 
    print check_plain($object->title);
    ?>
Beispiel #2
0
					<div class="cart">
            <?php 
        print theme('alma_cart_reservation_buttons', $tingClientObject);
        ?>
					</div>

				</div>

				<?php 
    }
    // foreach objects
}
//foreach collection
?>

        <?php 
$referenced_nodes = ting_reference_nodes($collection);
if ($referenced_nodes) {
    print '<h3>Omtale på websitet</h3>';
    foreach ($referenced_nodes as $node) {
        print node_view($node, TRUE);
    }
}
?>
			</div>	
		</div>
	</div>

</div>

<!--/ting-collection-->