File: /home/nexper/public_html/crm/cache/smarty/templates_c/%%94^941^941C7528%%ConvertLead.tpl.php
<?php /* Smarty version 2.6.11, created on 2015-04-16 15:08:25
compiled from cache/modules/Notes/ConvertLead.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugar_translate', 'cache/modules/Notes/ConvertLead.tpl', 40, false),array('function', 'counter', 'cache/modules/Notes/ConvertLead.tpl', 54, false),array('modifier', 'default', 'cache/modules/Notes/ConvertLead.tpl', 44, false),array('modifier', 'strip_semicolon', 'cache/modules/Notes/ConvertLead.tpl', 50, false),)), $this); ?>
<span class="color"><?php echo $this->_tpl_vars['ERROR']; ?>
</span>
<h4>
<style>
input[disabled] {
background-color:lightgray;
}
</style>
<table><tr><td>
<input type="hidden" name="convert_create_Notes" id="convert_create_Notes"
<?php if (( $this->_tpl_vars['def']['required'] && empty ( $this->_tpl_vars['def']['select'] ) ) || ( ! empty ( $this->_tpl_vars['def']['default_action'] ) && $this->_tpl_vars['def']['default_action'] == 'create' )): ?> value="true" <?php endif; ?>/>
<input type="hidden" name="opportunity_id" value="<?php echo $_REQUEST['opportunity_id']; ?>
">
<input type="hidden" name="case_id" value="<?php echo $_REQUEST['case_id']; ?>
">
<input type="hidden" name="bug_id" value="<?php echo $_REQUEST['bug_id']; ?>
">
<input type="hidden" name="email_id" value="<?php echo $_REQUEST['email_id']; ?>
">
<input type="hidden" name="inbound_email_id" value="<?php echo $_REQUEST['inbound_email_id']; ?>
">
<?php if ($this->_tpl_vars['def']['required']): ?>
<script type="text/javascript">
mod_array.push('Notes');//Bug#50590 add all required modules to mod_array
</script>
<?php endif; if (! $this->_tpl_vars['def']['required'] || ! empty ( $this->_tpl_vars['def']['select'] )): ?>
<input class="checkbox" type="checkbox" name="newNotes" id="newNotes" onclick="toggleDisplay('createNotes');if (typeof(addRemoveDropdownElement) == 'function') addRemoveDropdownElement('Notes');<?php if (! empty ( $this->_tpl_vars['def']['select'] )): ?>toggleNotesSelect();<?php endif; ?>">
<script type="text/javascript">
<?php if (! empty ( $this->_tpl_vars['def']['default_action'] ) && $this->_tpl_vars['def']['default_action'] == 'create'): ?>
<?php if ($this->_tpl_vars['lead_conv_activity_opt'] == 'move' || $this->_tpl_vars['lead_conv_activity_opt'] == 'copy' || $this->_tpl_vars['lead_conv_activity_opt'] == ''): ?>
YAHOO.util.Event.onContentReady('lead_conv_ac_op_sel', function(){
<?php else: ?>
YAHOO.util.Event.onContentReady('createNotes', function(){
<?php endif; ?>
toggleDisplay('createNotes');
document.getElementById('newNotes').checked = true;
if (typeof(addRemoveDropdownElement) == 'function')
addRemoveDropdownElement('Notes');
});
<?php endif; endif; ?>
</script>
</td><td>
<?php echo smarty_function_sugar_translate(array('label' => 'LNK_NEW_NOTE','module' => 'Leads'), $this);?>
</td><td>
</td></tr></table>
</h4>
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="<?php echo ((is_array($_tmp=@$this->_tpl_vars['def']['templateMeta']['panelClass'])) ? $this->_run_mod_handler('default', true, $_tmp, 'edit view') : smarty_modifier_default($_tmp, 'edit view')); ?>
" id ="createNotes" <?php if (! $this->_tpl_vars['def']['required'] || ! empty ( $this->_tpl_vars['def']['select'] )): ?>style="display:none"<?php endif; ?>>
<tr>
<td valign="top" id='name_label' width='12.5%' scope="row">
<?php ob_start(); echo smarty_function_sugar_translate(array('label' => 'LBL_NOTE_SUBJECT','module' => 'Notes'), $this);?>
<?php $this->_smarty_vars['capture']['label'] = ob_get_contents(); $this->assign('label', ob_get_contents());ob_end_clean(); echo ((is_array($_tmp=$this->_tpl_vars['label'])) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp)); ?>
:
<span class="required">*</span>
</td>
<td valign="top" width='37.5%' colspan='3'>
<?php echo smarty_function_counter(array('name' => 'panelFieldCount','print' => false), $this);?>
<?php if (strlen ( $this->_tpl_vars['fields']['name']['value'] ) <= 0): $this->assign('value', $this->_tpl_vars['fields']['name']['default_value']); else: $this->assign('value', $this->_tpl_vars['fields']['name']['value']); endif; ?>
<input type='text' name='Notesname'
id='Notesname' size='90'
maxlength='255'
value='<?php echo $this->_tpl_vars['value']; ?>
' title='' >
</td>
</tr>
<tr>
<td valign="top" id='description_label' width='12.5%' scope="row">
<?php ob_start(); echo smarty_function_sugar_translate(array('label' => 'LBL_DESCRIPTION','module' => 'Notes'), $this);?>
<?php $this->_smarty_vars['capture']['label'] = ob_get_contents(); $this->assign('label', ob_get_contents());ob_end_clean(); echo ((is_array($_tmp=$this->_tpl_vars['label'])) ? $this->_run_mod_handler('strip_semicolon', true, $_tmp) : smarty_modifier_strip_semicolon($_tmp)); ?>
:
</td>
<td valign="top" width='37.5%' colspan='3'>
<?php echo smarty_function_counter(array('name' => 'panelFieldCount','print' => false), $this);?>
<?php if (empty ( $this->_tpl_vars['fields']['description']['value'] )): $this->assign('value', $this->_tpl_vars['fields']['description']['default_value']); else: $this->assign('value', $this->_tpl_vars['fields']['description']['value']); endif; ?>
<textarea id='Notesdescription' name='Notesdescription'
rows="10"
cols="90"
title='' tabindex="0"
><?php echo $this->_tpl_vars['value']; ?>
</textarea>
</td>
<td valign="top" id='_label' width='12.5%' scope="row">
</td>
<td valign="top" width='37.5%' >
</td>
</tr>
</table><?php echo '
<script type="text/javascript">
addForm(\'ConvertLead\');addToValidateBinaryDependency(\'ConvertLead\', \'assigned_user_name\', \'alpha\', false,\''; echo smarty_function_sugar_translate(array('label' => 'ERR_SQS_NO_MATCH_FIELD','module' => 'Notes','for_js' => true), $this); echo ': '; echo smarty_function_sugar_translate(array('label' => 'LBL_ASSIGNED_TO','module' => 'Notes','for_js' => true), $this); echo '\', \'assigned_user_id\' );
</script>'; ?>