Update Template.php

some street magic