Update template.php

Add function for iframe link.