File: /home/nexper/www/67.225.167.226/public_html/crm/cache/modules/Contacts/SearchForm_basic.tpl
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="border-top: 0px none; margin-bottom: 4px" class="tabForm">
<tr>
{counter assign=index}
{math equation="left % right"
left=$index
right=$templateMeta.maxColumns
assign=modVal
}
{if ($index % $templateMeta.maxColumns == 1 && $index != 1)}
</tr><tr>
{/if}
<td class="dataLabel" nowrap="nowrap" width='10%' >
{sugar_translate label='LBL_FIRST_NAME' module='Contacts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strlen($fields.first_name_basic.value) <= 0}
{assign var="value" value=$fields.first_name_basic.default_value }
{else}
{assign var="value" value=$fields.first_name_basic.value }
{/if}
<input type='text' name='{$fields.first_name_basic.name}' id='{$fields.first_name_basic.name}' size='30' maxlength='100' value='{$value}' title='' tabindex='' >
</td>
{counter assign=index}
{math equation="left % right"
left=$index
right=$templateMeta.maxColumns
assign=modVal
}
{if ($index % $templateMeta.maxColumns == 1 && $index != 1)}
</tr><tr>
{/if}
<td class="dataLabel" nowrap="nowrap" width='10%' >
{sugar_translate label='LBL_LAST_NAME' module='Contacts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strlen($fields.last_name_basic.value) <= 0}
{assign var="value" value=$fields.last_name_basic.default_value }
{else}
{assign var="value" value=$fields.last_name_basic.value }
{/if}
<input type='text' name='{$fields.last_name_basic.name}' id='{$fields.last_name_basic.name}' size='30' maxlength='100' value='{$value}' title='' tabindex='' >
</td>
{counter assign=index}
{math equation="left % right"
left=$index
right=$templateMeta.maxColumns
assign=modVal
}
{if ($index % $templateMeta.maxColumns == 1 && $index != 1)}
</tr><tr>
{/if}
<td class="dataLabel" nowrap="nowrap" width='10%' >
{sugar_translate label='LBL_ACCOUNT_NAME' module='Contacts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
<input type="text" name="{$fields.account_name_basic.name}" class="sqsEnabled" tabindex="" id="{$fields.account_name_basic.name}" size="" value="{$fields.account_name_basic.value}" title='' autocomplete="off" >
<input type="hidden" id="{$fields.account_id_basic.name}" value="{$fields.account_id_basic.value}">
<input type="button" name="btn_{$fields.account_name_basic.name}" tabindex="" title="{$APP.LBL_SELECT_BUTTON_TITLE}" accessKey="{$APP.LBL_SELECT_BUTTON_KEY}" class="button" value="{$APP.LBL_SELECT_BUTTON_LABEL}" onclick='open_popup("{$fields.account_name_basic.module}", 600, 400, "", true, false, {literal}{"call_back_function":"set_return","form_name":"search_form","field_to_name_array":{"id":"account_id_basic","name":"account_name_basic"}}{/literal}, "single", true);'>
<input type="button" name="btn_clr_{$fields.account_name_basic.name}" tabindex="" title="{$APP.LBL_CLEAR_BUTTON_TITLE}" accessKey="{$APP.LBL_CLEAR_BUTTON_KEY}" class="button" onclick="this.form.{$fields.account_name_basic.name}.value = ''; this.form.{$fields.account_id_basic.name}.value = '';" value="{$APP.LBL_CLEAR_BUTTON_LABEL}">
</td>
{counter assign=index}
{math equation="left % right"
left=$index
right=$templateMeta.maxColumns
assign=modVal
}
{if ($index % $templateMeta.maxColumns == 1 && $index != 1)}
</tr><tr>
{/if}
<td class="dataLabel" nowrap="nowrap" width='10%' >
{sugar_translate label='LBL_CURRENT_USER_FILTER' module='Contacts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strval($fields.current_user_only_basic.value) == "1" || strval($fields.current_user_only_basic.value) == "yes" || strval($fields.current_user_only_basic.value) == "on"}
{assign var="checked" value="CHECKED"}
{else}
{assign var="checked" value=""}
{/if}
<input type="hidden" name="{$fields.current_user_only_basic.name}" value="0">
<input type="checkbox" id="{$fields.current_user_only_basic.name}" name="{$fields.current_user_only_basic.name}" value="1" title='' tabindex="" {$checked} >
</td>
</tr>
<tr>
<td colspan='5'> </td>
<td align=right><img border='0' src='{$IMG_PATH}help.gif' onmouseover="return overlib(SUGAR.language.get('app_strings', 'LBL_SEARCH_HELP_TEXT'), STICKY, MOUSEOFF,1000,WIDTH, 700, LEFT,CAPTION,'<div style=\'float:left\'>'+SUGAR.language.get('app_strings', 'LBL_SEARCH_HELP_TITLE')+'</div>', CLOSETEXT, '<div style=\'float: right\'><img border=0 style=\'margin-left:2px; margin-right: 2px;\' src={$IMG_PATH}close.gif></div>',CLOSETITLE, SUGAR.language.get('app_strings', 'LBL_SEARCH_HELP_CLOSE_TOOLTIP'), CLOSECLICK,FGCLASS, 'olFgClass', CGCLASS, 'olCgClass', BGCLASS, 'olBgClass', TEXTFONTCLASS, 'olFontClass', CAPTIONFONTCLASS, 'olCapFontClass');" ></td>
</tr>
</table>{literal}<script language="javascript">if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;}sqs_objects['modified_by_name_basic']={"method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_basic","assigned_user_id_basic"],"required_list":["assigned_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"Sin coincidencias"};sqs_objects['created_by_name_basic']={"method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_basic","assigned_user_id_basic"],"required_list":["assigned_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"Sin coincidencias"};sqs_objects['assigned_user_name_basic']={"method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_basic","assigned_user_id_basic"],"required_list":["assigned_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"Sin coincidencias"};sqs_objects['account_name_basic']={"method":"query","modules":["Accounts"],"group":"or","field_list":["name","id"],"populate_list":["account_name_basic","account_id_basic"],"conditions":[{"name":"name","op":"like_custom","end":"%","value":""}],"required_list":["account_id"],"order":"name","limit":"30","no_match_text":"Sin coincidencias"};sqs_objects['report_to_name_basic']={"method":"get_contact_array","modules":["Contacts"],"field_list":["salutation","first_name","last_name","id"],"populate_list":["report_to_name_basic","reports_to_id_basic","reports_to_id_basic","reports_to_id_basic"],"required_list":["reports_to_id"],"group":"or","conditions":[{"name":"first_name","op":"like_custom","end":"%","value":""},{"name":"last_name","op":"like_custom","end":"%","value":""}],"order":"last_name","limit":"30","no_match_text":"Sin coincidencias"};sqs_objects['campaign_name_basic']={"method":"query","modules":["Campaigns"],"group":"or","field_list":["name","id"],"populate_list":["campaign_name_basic","campaign_id_basic"],"conditions":[{"name":"name","op":"like_custom","end":"%","value":""}],"required_list":["campaign_id"],"order":"name","limit":"30","no_match_text":"Sin coincidencias"};</script>{/literal}