Added breadcrumb modification func to template.php

This is from the old template and needs cleaning up to match current.