Newer
Older
Digital_Repository / Repositories / statistics / includes / inc.fns.navbar.es.php
nstanger on 27 Nov 2005 284 bytes - Added intelligent navigation bars.
<?php
	function outputNavBar($link_list)
	{
		foreach ($link_list as $key1 => $link)
		{
			print "[";
			if (!$link["match"])
			{
				print '<a href="' . $link["href"] . '">';
			}
			print $link["text"];
			if (!$link["match"])
			{
				print "</a>";
			}
			print "] ";
		}
	}
?>