<!-- $Id: contact_form.tpl,v 1.6 2001/08/25 03:49:15 bettina Exp $ -->

<script language="JavaScript">
	self.name="first_Window";
	function abook()
	{
		Window1=window.open('{addressbook_link}',"Search","width=800,height=600,toolbar=no,scrollbars=yes,resizable=yes");
	}
</script>

{header}

<p><b>&nbsp;&nbsp;&nbsp;{lang_action}</b><br>
<hr noshade width="98%" align="center" size="1">
<center>
<form method="POST" name="contact_form" action="{actionurl}">
{message}
<table width="85%" border="0" cellspacing="2" cellpadding="2">
    <tr>
        <td>{lang_name}:</td>
        <td><input type="text" name="values[name]" value="{c_name}"></td>
    </tr>
	<tr>
		<td><input type="button" value="{lang_contact}" onClick="abook();"></td>
		<td>{lang_bselect}</td>
	</tr>
	<tr>
		<td>{check_wemail}</td>
		<td><input type="text" name="email" size="50" value="{email}" readonly></td>
	</tr>
	<tr>
		<td><input type="checkbox" name="values[check_hemail]" value="True"></td>
		<td><input type="text" name="hemail" size="50" value="{hemail}" readonly></td>
	</tr>
	<tr>
		<td>{check_pager}</td>
		<td><input type="text" name="pager" size="50" value="{pager}" readonly></td>
	</tr>
	<tr>
		<td>{lang_alias}:</td>
		<td colspan="2"><textarea name="values[alias]" rows="4" cols="50" wrap="VIRTUAL">{alias}</textarea></td>
	</tr>
	<tr>
		<td>{lang_cat}:</td>
		<td><select name="new_cat"><option value="">{lang_none}</option>{cats_list}</select></td>
	</tr>
	<tr>
		<td>{lang_private}:</td>
		<td>{access}</td>
	</tr>
	<tr>
		<td>{lang_s_comand}:</td>
		<td><select name="snot[]" multiple>{service_comand_list}</select></td>
	</tr>
	<tr>
		<td>{lang_h_comand}:</td>
		<td><select name="hnot[]" multiple>{host_comand_list}</select></td>
	</tr>
	<tr>
		<td>{lang_csv_period}:</td>
		<td><select name="values[csv_period]">{csv_tp_list}</select></td>
	</tr>
	<tr>
		<td>{lang_h_period}:</td>
		<td><select name="values[h_period]">{h_tp_list}</select></td>
	</tr>
	<tr>
		<td>{lang_h_rec}</td>
		<td>{h_rec}</td>
	</tr>
	<tr>
		<td>{lang_h_down}</td>
		<td>{h_down}</td>
	</tr>
	<tr>
		<td>{lang_h_unreach}</td>
		<td>{h_unreach}</td>
	</tr>
	<tr>
		<td>{lang_s_rec}</td>
		<td>{s_rec}</td>
	</tr>
	<tr>
		<td>{lang_s_crit}</td>
		<td>{s_crit}</td>
	</tr>
	<tr>
		<td>{lang_s_warn}</td>
		<td>{s_warn}</td>
	</tr>
</table>

<!-- BEGIN add -->

<table width="50%" border="0" cellspacing="2" cellpadding="2">
	<tr valign="bottom">
		<td height="50">
			<input type="submit" name="submit" value="{lang_save}"></td>
		<td height="50"><input type="reset" name="reset" value="{lang_reset}"></form></td>
	</tr>
</table>
</center>
         
<!-- END add -->
        
<!-- BEGIN edit -->

<table width="50%" border="0" cellspacing="2" cellpadding="2">
	<tr valign="bottom">
		<td height="50">
			<input type="submit" name="submit" value="{lang_save}"></form></td>
		<td height="50">
			{delete}</td>
	</tr>
</table>
</center>

<!-- END edit -->
