dedsc
committed
on 10 Jan 06
adjust way of getting template id to support new code