prepare menu maintenance const

and removed html to tpl