File: /home/nexper/www/67.225.167.226/public_html/crm/cache/modules/Accounts/SearchForm_advanced.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_NAME' module='Accounts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strlen($fields.name_advanced.value) <= 0}
{assign var="value" value=$fields.name_advanced.default_value }
{else}
{assign var="value" value=$fields.name_advanced.value }
{/if}
<input type='text' name='{$fields.name_advanced.name}' id='{$fields.name_advanced.name}' size='30' maxlength='150' 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_BILLING_ADDRESS_CITY' module='Accounts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strlen($fields.billing_address_city_advanced.value) <= 0}
{assign var="value" value=$fields.billing_address_city_advanced.default_value }
{else}
{assign var="value" value=$fields.billing_address_city_advanced.value }
{/if}
<input type='text' name='{$fields.billing_address_city_advanced.name}' id='{$fields.billing_address_city_advanced.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_BILLING_ADDRESS_STATE' module='Accounts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strlen($fields.billing_address_state_advanced.value) <= 0}
{assign var="value" value=$fields.billing_address_state_advanced.default_value }
{else}
{assign var="value" value=$fields.billing_address_state_advanced.value }
{/if}
<input type='text' name='{$fields.billing_address_state_advanced.name}' id='{$fields.billing_address_state_advanced.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_BILLING_ADDRESS_COUNTRY' module='Accounts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{if strlen($fields.billing_address_country_advanced.value) <= 0}
{assign var="value" value=$fields.billing_address_country_advanced.default_value }
{else}
{assign var="value" value=$fields.billing_address_country_advanced.value }
{/if}
<input type='text' name='{$fields.billing_address_country_advanced.name}' id='{$fields.billing_address_country_advanced.name}' size='30' 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_ASSIGNED_TO' module='Accounts'}
</td>
<td class="dataField" nowrap="nowrap" width='30%'>
{html_options name='assigned_user_id_advanced[]' options=$fields.assigned_user_id_advanced.options size="6" style='width:150' multiple="1" selected=$fields.assigned_user_id_advanced.value}
</td>
</tr>
<tr>
<td colspan='20'>
</td>
</tr>
{if $DISPLAY_SAVED_SEARCH}
<tr>
<td colspan='6'>
<a class='listViewTdLinkS1' onhover href='javascript:toggleInlineSearch()'><img src='{$IMG_PATH}advanced_search.gif' id='up_down_img' border=0>{$APP.LNK_SAVED_VIEWS}</a><br>
<input type='hidden' id='showSSDIV' name='showSSDIV' value='{$SHOWSSDIV}'><p>
<div style='{$DISPLAYSS}' id='inlineSavedSearch' >
{$SAVED_SEARCH}
</div>
</td>
</tr>
{/if}
{if $DISPLAY_SEARCH_HELP}
<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>
{/if}
</table>
<script>
{literal}
if(typeof(loadSSL_Scripts)=='function'){
loadSSL_Scripts();
}
{/literal}
</script>{literal}<script language="javascript">if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;}sqs_objects['modified_by_name_advanced']={"method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_advanced","assigned_user_id_advanced"],"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_advanced']={"method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_advanced","assigned_user_id_advanced"],"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_advanced']={"method":"get_user_array","field_list":["user_name","id"],"populate_list":["assigned_user_name_advanced","assigned_user_id_advanced"],"required_list":["assigned_user_id"],"conditions":[{"name":"user_name","op":"like_custom","end":"%","value":""}],"limit":"30","no_match_text":"Sin coincidencias"};sqs_objects['parent_name_advanced']={"method":"query","modules":["Accounts"],"group":"or","field_list":["name","id"],"populate_list":["parent_name_advanced","parent_id_advanced"],"conditions":[{"name":"name","op":"like_custom","end":"%","value":""}],"required_list":["parent_id"],"order":"name","limit":"30","no_match_text":"Sin coincidencias"};</script>{/literal}