Update class.tpl.php

Fix noonefile attribute bug