{*

/*********************************************************************************
 * SugarCRM Community Edition is a customer relationship management program developed by
 * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Affero General Public License along with
 * this program; if not, see http://www.gnu.org/licenses or write to the Free
 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301 USA.
 * 
 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
 * 
 * The interactive user interfaces in modified source and object code versions
 * of this program must display Appropriate Legal Notices, as required under
 * Section 5 of the GNU Affero General Public License version 3.
 * 
 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
 * these Appropriate Legal Notices must retain the display of the "Powered by
 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
 * technical reasons, the Appropriate Legal Notices must display the words
 * "Powered by SugarCRM".
 ********************************************************************************/




*}
<form name="LeadsConfig"  method="POST" action="index.php" onSubmit="return (add_checks(document.ConfigureSettings) && check_form('ConfigureSettings'));">
<input type='hidden' name='action' value='SaveConfig'/>
<input type='hidden' name='module' value='Leads'/>
<span class='error'>{$error.main}</span>
<table width="100%" cellpadding="0" cellspacing="1" border="0" class="actionsContainer">
<tr>

	<td>
		<input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="button primary" id="ConfigureSettings_save_button" type="submit"  name="save" value="  {$APP.LBL_SAVE_BUTTON_LABEL}  " >
		&nbsp;<input title="{$MOD.LBL_CANCEL_BUTTON_TITLE}" id="ConfigureSettings_cancel_button"   onclick="document.location.href='index.php?module=Administration&action=index'" class="button"  type="button" name="cancel" value="  {$APP.LBL_CANCEL_BUTTON_LABEL}  " > </td>
	</tr>
</table>


<table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
<tr>
	<th align="left" scope="row" colspan="4"><h4>{$MOD.DEFAULT_SYSTEM_SETTINGS}</h4></th>
</tr>

	<tr>
		<td  scope="row">{$MOD.LBL_DUPLICATION_CHECK}: </td>
		<td  >
			{if !empty($config.enable_check)}
				{assign var='enable_check' value='CHECKED'}
			{else}
				{assign var='enable_check' value=''}
			{/if}
			<input type='hidden' name='enable_check' value='false'>
			<input type='checkbox' name='enable_check' value='true' {$enable_check}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_PHONE_CHECK_DIGIT}: </td>
		<td  >
			<input type='text' size='4' id='phone_digit_check' name='phone_digit_check' value='{$config.phone_digit_check}'>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_DUPLICATION_CHECK_PHONE_CROSS}: </td>
		<td  >
			{if !empty($config.check_phone_enable_cross)}
				{assign var='check_phone_enable_cross' value='CHECKED'}
			{else}
				{assign var='check_phone_enable_cross' value=''}
			{/if}
			<input type='hidden' name='check_phone_enable_cross' value='false'>
			<input type='checkbox' name='check_phone_enable_cross' value='true' {$check_phone_enable_cross}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_PHONE_HOME}: </td>
		<td  >
			{if !empty($config.check_phone_home)}
				{assign var='check_phone_home' value='CHECKED'}
			{else}
				{assign var='check_phone_home' value=''}
			{/if}
			<input type='hidden' name='check_phone_home' value='false'>
			<input type='checkbox' name='check_phone_home' value='true' {$check_phone_home}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_PHONE_MOBILE}: </td>
		<td  >
			{if !empty($config.check_phone_mobile)}
				{assign var='check_phone_mobile' value='CHECKED'}
			{else}
				{assign var='check_phone_mobile' value=''}
			{/if}
			<input type='hidden' name='check_phone_mobile' value='false'>
			<input type='checkbox' name='check_phone_mobile' value='true' {$check_phone_mobile}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_PHONE_WORK}: </td>
		<td  >
			{if !empty($config.check_phone_work)}
				{assign var='check_phone_work' value='CHECKED'}
			{else}
				{assign var='check_phone_work' value=''}
			{/if}
			<input type='hidden' name='check_phone_work' value='false'>
			<input type='checkbox' name='check_phone_work' value='true' {$check_phone_work}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_PHONE_OTHER}: </td>
		<td  >
			{if !empty($config.check_phone_other)}
				{assign var='check_phone_other' value='CHECKED'}
			{else}
				{assign var='check_phone_other' value=''}
			{/if}
			<input type='hidden' name='check_phone_other' value='false'>
			<input type='checkbox' name='check_phone_other' value='true' {$check_phone_other}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_PHONE_FAX}: </td>
		<td  >
			{if !empty($config.check_phone_fax)}
				{assign var='check_phone_fax' value='CHECKED'}
			{else}
				{assign var='check_phone_fax' value=''}
			{/if}
			<input type='hidden' name='check_phone_fax' value='false'>
			<input type='checkbox' name='check_phone_fax' value='true' {$check_phone_fax}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_ASSISTANT_PHONE}: </td>
		<td  >
			{if !empty($config.check_assistant_phone)}
				{assign var='check_assistant_phone' value='CHECKED'}
			{else}
				{assign var='check_assistant_phone' value=''}
			{/if}
			<input type='hidden' name='check_assistant_phone' value='false'>
			<input type='checkbox' name='check_assistant_phone' value='true' {$check_assistant_phone}>
		</td>
	</tr>
	<tr>
		<td  scope="row">{$MOD.LBL_DUPLICATION_CHECK_EMAIL}: </td>
		{if !empty($config.enable_email)}
			{assign var='enable_email' value='CHECKED'}
		{else}
			{assign var='enable_email' value=''}
		{/if}
		<td ><input type='hidden' name='enable_email' value='false'><input name='enable_email'  type="checkbox" value="true" {$enable_email}></td>
	</tr>


    <tr>
        <td  scope="row" nowrap>{$MOD.LBL_DUPLICATION_CHECK_NAME}: </td>
        {if !empty($config.enable_name)}
            {assign var='enable_name' value='CHECKED'}
        {else}
            {assign var='enable_name' value=''}
        {/if}
        <td>
            <input type='hidden' name='enable_name' value='false'>
            <input name='enable_name'  type="checkbox" value="true" {$enable_name}>
        </td>
        <td colspan="2">&nbsp;</td>
    </tr>




</table>

</form>


