Files
crm.twinpol.com/modules/EcmDocs/SearchForm.html

208 lines
11 KiB
HTML
Raw Permalink Normal View History

2025-05-12 15:45:02 +00:00
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" nowrap="nowrap" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'> </td>
<td width="20%" valign="top" class="dataField"><span sugar='slot1b'>
<input type="text" size="20" name="name_basic" class="dataField" value="{NAME}" />
</span sugar='slot'> </td>
<td width="15%" valign="top" class="dataLabel">{APP.LBL_CURRENT_USER_FILTER}</td>
<td width="55%" valign="top" class="dataField"><input name='current_user_only_basic' onchange='this.form.submit();' class="checkbox" type="checkbox" {current_user_only} /></td>
</tr>
<tr>
<td width="15%" class="dataLabel" valign="top">{MOD.LBL_ACCOUNT_TO}</td>
<td width="20%" valign="top" class="dataField"><input name="account_name_basic" type="text" class="dataField" id="account_name_basic" value="{ACCOUNT_NAME}" size="20" /></td>
<td valign="top" class="dataLabel">{MOD.LBL_REMINDER_DATE} </td>
<td valign="top" class="dataField">
<input name='reminder_date_basic'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fieldreminder_date'
type="text"
title="Date"
tabindex='13'
size='11'
maxlength='10'
value="{REMINDER_DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggerreminder_date" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
mintajaxget("index.php?to_pdf=1&module=EcmDocs&action=showDate&value="+document.getElementById("jscal_fieldreminder_date").value,"jscal_fieldreminder_date");
Calendar.setup ({inputField : 'jscal_fieldreminder_date', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggerreminder_date', singleClick : true, step : 1});
</script> </td>
</tr>
<tr>
<td valign="top" class="dataLabel">{MOD.LBL_GROUP_NAME}</td>
<td valign="top" class="dataField"><span sugar='slot6'>
<select tabindex='2' id="group_name_basic" name="group_name_basic" class="dataField">
{GROUP_NAME}
</select>
</span sugar='slot'></td>
<td valign="top" class="dataLabel">{MOD.LBL_DATE_CREATED} </td>
<td valign="top" class="dataField"><input name='date_entered_basic'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fielddate_entered'
type="text"
title="Date"
tabindex='10'
size='11'
maxlength='10'
value="{DATE_ENTERED}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggerdate_entered" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
mintajaxget("index.php?to_pdf=1&module=EcmDocs&action=showDate&value="+document.getElementById("jscal_fielddate_entered").value,"jscal_fielddate_entered");
Calendar.setup ({inputField : 'jscal_fielddate_entered', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggerdate_entered', singleClick : true, step : 1});
</script></td>
</tr>
<tr>
<td class="dataLabel" valign="top">{MOD.LBL_WORTH}</td>
<td valign="top" class="dataField"><input name="value_basic" type="text" class="dataField" id="value_basic" value="{VALUE}" size="20" /></td>
<td valign="top" class="dataField">&nbsp;</td>
<td valign="top" class="dataLabel">&nbsp;</td>
</tr>
<tr> </tr>
</table></td>
</tr>
</table>
<!-- END: main -->
<!-- BEGIN: advanced -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td width="20%" valign="top" class="dataLabel"><span sugar='slot1'>{MOD.LBL_NAME}</span sugar='slot'></td>
<td width="30%" valign="top" class="dataField"><span sugar='slot1b'><input name='name' type="text" tabindex='1' size='30' maxlength='50' value="{NAME}"></span sugar='slot'></td>
<td width="20%" valign="top" class="dataLabel"><span sugar='slot2'>{APP.LBL_ASSIGNED_TO}</span sugar='slot'></td>
<td width="30%" valign="top" class="dataField"><span sugar='slot2b'><select tabindex='1' style="width: 150px" size='3' name='assigned_user_id[]' multiple="multiple">{USER_FILTER}</select></span sugar='slot'></td>
<tr>
<td class="dataLabel" valign="top">{MOD.LBL_ACCOUNT_TO}</td>
<td valign="top" class="dataField"><input name="account_name" type="text" class="dataField" id="account_name" value="{ACCOUNT_NAME}" size="30" /></td>
<td class="dataLabel" valign="top">{MOD.LBL_CONTACT_TO}</td>
<td valign="top" class="dataField"><input name="contact_name" type="text" class="dataField" id="contact_name" value="{CONTACT_NAME}" size="30" /></td>
</tr>
<tr>
<td valign="top" class="dataLabel">{MOD.LBL_GROUP_NAME}</td>
<td valign="top" class="dataField"><span sugar='slot6'>
<select tabindex='2' id="group_name_basic" name="group_name" class="dataField">
{GROUP_NAME}
</select>
</span sugar='slot'></td>
<td valign="top" class="dataLabel">{MOD.LBL_REMINDER_DATE} </td>
<td valign="top" class="dataField"><input name='reminder_date'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fieldreminder_date'
type="text"
title="Date"
tabindex='13'
size='11'
maxlength='10'
value="{REMINDER_DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggerreminder_date" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
mintajaxget("index.php?to_pdf=1&module=EcmDocs&action=showDate&value="+document.getElementById("jscal_fieldreminder_date").value,"jscal_fieldreminder_date");
Calendar.setup ({inputField : 'jscal_fieldreminder_date', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggerreminder_date', singleClick : true, step : 1});
</script> </td>
</tr>
<tr>
<td class="dataLabel" valign="top">{MOD.LBL_WORTH}</td>
<td valign="top" class="dataField"><input name="value" type="text" class="dataField" id="value_basic" value="{VALUE}" size="30" /></td>
<td valign="top" class="dataLabel">{MOD.LBL_DATE_CREATED} </td>
<td valign="top" class="dataField"><input name='date_entered'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fielddate_entered'
type="text"
title="Date"
tabindex='10'
size='11'
maxlength='10'
value="{DATE_ENTERED}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggerdate_entered" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
mintajaxget("index.php?to_pdf=1&module=EcmDocs&action=showDate&value="+document.getElementById("jscal_fielddate_entered").value,"jscal_fielddate_entered");
Calendar.setup ({inputField : 'jscal_fielddate_entered', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggerdate_entered', singleClick : true, step : 1});
</script></td>
</tr>
<tr>
<td valign="top" class="dataLabel">{MOD.LBL_DESCRIPTION}</td>
<td valign="top" class="dataField"><textarea name="description" cols="25" rows="4" id="description" tabindex="`3`" title="File Name">{DESCRIPTION}</textarea></td>
<td valign="top" class="dataLabel">{MOD.LBL_DATE}</td>
<td valign="top" class="dataField"><input name='date'
onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');"
id='jscal_fielddate'
type="text"
title="Date"
tabindex='10'
size='11'
maxlength='10'
value="{DATE}" />
<img src="themes/default/images/jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_triggerdate" align="absmiddle" /> <span class="dateFormat">{USER_DATEFORMAT}</span>
<script>
Calendar.setup ({inputField : 'jscal_fielddate', ifFormat : '{CALENDAR_DATEFORMAT}', showsTime : false, button : 'jscal_triggerdate', singleClick : true, step : 1});
</script></td>
</tr>
<tr>
<td valign="top" class="dataLabel">&nbsp;</td>
<td valign="top" class="dataField">&nbsp;</td>
</tr>
<tr> </tr>
</table>
</td>
</tr>
</table>
<!-- END: advanced -->