% include( 'elements/edit.html', 'html_init' => '
', 'name_singular' => 'template', 'table' => 'msg_template', 'viewall_dir' => 'browse', 'agent_virt' => 1, 'agent_null' => 1, 'agent_null_right' => 'Edit global templates', 'fields' => [ 'msgname', 'subject', 'from_addr', { field=>'body', type=>'htmlarea', width=>763 }, ], 'labels' => { 'msgnum' => 'Template', 'msgname' => 'Template name', 'from_addr' => 'Return address', 'subject' => 'Message subject', 'body' => 'Message template', }, 'html_foot' => " | $sidebar