change templates to work with php asptags