added attributes
Merge branch 'master' of https://github.com/gaohan137/php-custom-templates