mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
162 lines
4.6 KiB
Smarty
162 lines
4.6 KiB
Smarty
<SCRIPT language="JavaScript">
|
|
function doSearch(field,ask)
|
|
{
|
|
field.value = prompt(ask,"");
|
|
|
|
if (field.value != 'null') {
|
|
if (field.value.length == 0)
|
|
field.value = field.value + '%';
|
|
field.form.submit.click();
|
|
} else
|
|
field.value = '';
|
|
}
|
|
</script>
|
|
|
|
{info_css}
|
|
<p class=action>{lang_info_action}<br>
|
|
<hr noshade width="98%" align="center" size="1">
|
|
|
|
<center>{error_list}</center>
|
|
|
|
<center>
|
|
<form method="POST" name="EditorForm" action="{actionurl}">
|
|
{common_hidden_vars}
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="2">
|
|
|
|
<!-- BEGIN subpro -->
|
|
<tr>
|
|
<td colspan="2">{lang_project}:</td>
|
|
<td colspan="2">{lang_projdesc}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"> </td>
|
|
</tr>
|
|
<!-- END subpro -->
|
|
<tr>
|
|
<td>{lang_type}:</td>
|
|
<td>{type_list}</td>
|
|
|
|
<td>{lang_owner}:</td>
|
|
<td>{owner_info}</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="hidden" name="projectsearch" value="">
|
|
<input type="button" onClick="doSearch(this.form.projectsearch,'{lang_proj_prompt}')" value="{lang_prproject}"></td>
|
|
<td colspan="3">{project}</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input type="hidden" name="addrsearch" value="">
|
|
<input type="button" onClick="doSearch(this.form.addrsearch,'{lang_addr_prompt}')" value="{lang_praddrbook}"></td>
|
|
<td colspan="3">{addrbook}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"><hr size="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_prfrom}:</td>
|
|
<td colspan="3"><input name="from" size="64" maxlength="64" value="{fromval}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_praddr}:</td>
|
|
<td colspan="3"><input name="addr" size="64" maxlength="64" value="{addrval}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"><hr size="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_prsubject}:</td>
|
|
<td colspan="3"><input name="subject" size="64" maxlength="64" value="{subjectval}"></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">{lang_prdesc}:</td>
|
|
<td colspan="3"><textarea name="des" rows=4 cols=50 wrap="VIRTUAL">{descval}</textarea></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"><hr size="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="15%">{lang_start_date}:</td>
|
|
<td width="40%">{start_select_date}</td>
|
|
|
|
<td width="15%">{lang_selfortoday}</td>
|
|
<td>{selfortoday}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{lang_end_date}:</td>
|
|
<td>{end_select_date}</td>
|
|
|
|
<td>{lang_dur_days}</td>
|
|
<td><input name="dur_days" size="3" maxlength="2" value=""> {dur_days}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4"><hr size="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_status}:</td>
|
|
<td>{status_list}</td>
|
|
|
|
<td>{lang_category}</td>
|
|
<td><select name="info_cat"><option value="0">{lang_none}</option>{cat_list}</select></td>
|
|
</tr>
|
|
<tr>
|
|
<td>{lang_priority}:</td>
|
|
<td>{priority_list}</td>
|
|
|
|
<td>{lang_confirm}</td>
|
|
<td>{confirm_list}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{lang_responsible}:</td>
|
|
<td>{responsible_list}</td>
|
|
|
|
<td>{lang_access_type}:</td>
|
|
<td>{access_list}</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- BEGIN add -->
|
|
|
|
<table width="90%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr valign="bottom">
|
|
<td height="35" width="50%">
|
|
<div align="center">
|
|
<input type="submit" name="submit" value="{lang_addsubmitb}">
|
|
</div>
|
|
</td>
|
|
<td height="35" width="50%">
|
|
<div align="center">
|
|
<input type="reset" name="reset" value="{lang_addresetb}">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</center>
|
|
</html>
|
|
|
|
<!-- END add -->
|
|
|
|
<!-- BEGIN edit -->
|
|
|
|
<table width="75%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr valign="bottom">
|
|
<td height="62">
|
|
{edit_button}
|
|
|
|
</form>
|
|
</td>
|
|
<td height="62">
|
|
<form action="{delete_action}" method="POST">
|
|
{common_hidden_vars}
|
|
{delete_button}
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</html>
|
|
<!-- END edit -->
|