コード例 #1
0
} else {
    $this->assign('value', $this->_tpl_vars['fields']['duration']['value']);
}
?>
  
<input type='text' name='<?php 
echo $this->_tpl_vars['fields']['duration']['name'];
?>
'
id='<?php 
echo $this->_tpl_vars['fields']['duration']['name'];
?>
'
size='30'
maxlength='6'value='<?php 
echo smarty_function_sugar_number_format(array('var' => $this->_tpl_vars['value'], 'precision' => 2), $this);
?>
'
title=''
tabindex='0'
>
</tr>
<?php 
$this->_smarty_vars['capture']['tr'] = ob_get_contents();
$this->assign('tableRow', ob_get_contents());
ob_end_clean();
if ($this->_tpl_vars['fieldsUsed'] > 0) {
    echo $this->_tpl_vars['tableRow'];
    ?>

<?php 
コード例 #2
0
}
?>
</td>
<td width='37.5%'  >
<?php 
if (!$this->_tpl_vars['fields']['margin_footer']['hidden']) {
    echo smarty_function_counter(array('name' => 'panelFieldCount'), $this);
    ?>


<span class="sugar_field" id="<?php 
    echo $this->_tpl_vars['fields']['margin_footer']['name'];
    ?>
">
<?php 
    echo smarty_function_sugar_number_format(array('precision' => 0, 'var' => $this->_tpl_vars['fields']['margin_footer']['value']), $this);
    ?>

</span>
<?php 
}
?>
</td>
</tr>
<?php 
$this->_smarty_vars['capture']['tr'] = ob_get_contents();
$this->assign('tableRow', ob_get_contents());
ob_end_clean();
if ($this->_tpl_vars['fieldsUsed'] > 0 && $this->_tpl_vars['fieldsUsed'] != $this->_tpl_vars['fieldsHidden']) {
    echo $this->_tpl_vars['tableRow'];
    ?>
コード例 #3
0
}
?>
</td>
<td width='37.5%' colspan='3' >
<?php 
if (!$this->_tpl_vars['fields']['amount']['hidden']) {
    echo smarty_function_counter(array('name' => 'panelFieldCount'), $this);
    ?>


<span id='<?php 
    echo $this->_tpl_vars['fields']['amount']['name'];
    ?>
'>
<?php 
    echo smarty_function_sugar_number_format(array('var' => $this->_tpl_vars['fields']['amount']['value']), $this);
    ?>

</span>
<?php 
}
?>
</td>
</tr>
<?php 
$this->_smarty_vars['capture']['tr'] = ob_get_contents();
$this->assign('tableRow', ob_get_contents());
ob_end_clean();
if ($this->_tpl_vars['fieldsUsed'] > 0 && $this->_tpl_vars['fieldsUsed'] != $this->_tpl_vars['fieldsHidden']) {
    echo $this->_tpl_vars['tableRow'];
    ?>
コード例 #4
0
}
?>
</td>
<td class="inlineEdit" type="int" field="nb_cherch_annee_obs_c" width='37.5%'  >
<?php 
if (!$this->_tpl_vars['fields']['nb_cherch_annee_obs_c']['hidden']) {
    echo smarty_function_counter(array('name' => 'panelFieldCount'), $this);
    ?>


<span class="sugar_field" id="<?php 
    echo $this->_tpl_vars['fields']['nb_cherch_annee_obs_c']['name'];
    ?>
">
<?php 
    echo smarty_function_sugar_number_format(array('precision' => 0, 'var' => $this->_tpl_vars['fields']['nb_cherch_annee_obs_c']['value']), $this);
    ?>

</span>
<?php 
}
?>
<div class="inlineEditIcon"> <?php 
echo smarty_function_sugar_getimage(array('name' => "inline_edit_icon.svg", 'attr' => 'border="0" ', 'alt' => $this->_tpl_vars['alt_edit']), $this);
?>
</div>			</td>
</tr>
<?php 
$this->_smarty_vars['capture']['tr'] = ob_get_contents();
$this->assign('tableRow', ob_get_contents());
ob_end_clean();