{include file="common/head.tpl.html" title=$lang.global_relation html5=true}
{$lang.global_relations}
{help->link name="contact_relation_window" class="help-explorer"}
{$lang.global_relation}
{$lang.global_contact}: {controls->select_object modul=1 name="vid" value=$vid width="100%"}
{$lang.global_relation_type}:
{$lang.contact_label_notes}: {html->input_text name="notes" value=$notes style="width:100%"}
{$lang.contact_label_otherrelations}
{$lang.contact_label_autocreate}: {html->checkbox name="autocreate" value="1" onclick="check_contact_relation_autocreate(this)" selected=$autocreate}
{$lang.global_relation_type}: {if $autocreate} {/if} {html->options options=$categories selected=$reversecategory}
{cssbutton->sub name="save" string=$lang.global_saveclose} {cssbutton->link link="javascript:window.close()" string=$lang.global_cancel}
{include file="common/foot.tpl.html"}