Maybe we can use smarty to define different templates