+ The “OnDocFormPrerender” and “OnDocFormRender” events now have the document template ID parameter.

...ument template ID parameter.
`$content['template'] = !empty($_REQUEST['newtemplate']) ? (int) $_REQUEST['newtemplate'] : getDefaultTemplate();`