예제 #1
0
파일: form.php 프로젝트: annggeel/tienda
                <tr>
                    <td style="width: 125px; text-align: right;" class="key">
                        <?php 
echo JText::_('COM_TIENDA_DISCOUNT_APPLIED');
?>
:
                    </td>
                    <td>                    
                        <?php 
$attribs = array();
?>
                        <?php 
$attribs['onclick'] = 'showProductList();';
?>
                        <?php 
echo TiendaSelect::coupontype(@$row->coupon_type, 'coupon_type', $attribs, 'coupon_type');
?>
                    </td>
                </tr>
                <tr <?php 
if (empty($row->coupon_type)) {
    echo 'style="display: none;"';
}
?>
 id="per_product">
                    <td style="width: 125px; text-align: right;" class="key">
                        <?php 
echo JText::_('COM_TIENDA_SELECT_PRODUCTS');
?>
:
                    </td>