[D1632] buttons functions moved to admin template
[D1632] buttons function moved to admin template folder