echo JHTML::_('select.genericlist', $options, "data[event][use_discountcode]", "", "value", "text", $row->use_discountcode);
?>

      </td>

	<td colspan="2"><?php 
echo JHTML::tooltip(JText::_('DT_USE_DISCOUNT_CODE_HELP'), '', 'tooltip.png', '', '');
?>
</td>

	  </tr>

        <?php 
echo "<tr><th colspan='4' class='dt_heading'>" . JText::_('DT_DISCOUNT_CODES') . "</th></tr>";
$options = $discountcode->optionslist('publish=1');
echo DtHtml::checkboxListrows('data[discountcode]', $options, 4, $row->discountcode);
?>

     </table>

     <script type="text/javascript" >

	 DTjQuery(function(){
		  
		    DTjQuery(".addmorerate").EnableMultiField({linkText:'<?php 
echo JText::_('DT_ADD_MORE');
?>
',removeLinkText:'<?php 
echo JText::_('DT_REMOVE');
?>
'});
Пример #2
0
echo DtHtml::checkboxListrows('individual_export_fields', $fields, 1, $this->individual_export_fields);
?>
   
     </table>
  </td>
  
          <td valign="top" class="fields">
            <table>
               <tr><td colsapn="2" class="dt_heading">
	             <strong><?php 
echo JText::_('DT_GROUP_MEMBER_DETAILS');
?>
</strong>
	           </td></tr>
               <?php 
echo DtHtml::checkboxListrows('group_export_fields', $fields, 1, $this->group_export_fields);
?>
            </table>
          </td>
  
       </tr>
 
    </table>
<input name="option" type="hidden" value="com_dtregister" />
<input name="controller" type="hidden" value="export" />
<input name="formsubmit" type="hidden" value="1" />
<input name="task" type="hidden" value="" />
<input name="filename" type="hidden" value="" />
<input type="hidden" name="Itemid" value="<?php 
echo $Itemid;
?>
Пример #3
0
        	<td colspan="<?php 
echo $columns;
?>
">

            	 <input type="checkbox" id="checkall" /> <?php 
echo JText::_('DT_CHECKALL');
?>
 <br />

        	</td>

        </tr>

<?php 
echo DtHtml::checkboxListrows('export_events', $eventOptions, 4, $this->expevents);
?>

</table>
<input name="option" type="hidden" value="com_dtregister" />
<input name="controller" type="hidden" value="export" />
<input name="formsubmit" type="hidden" value="1" />
<input name="task" type="hidden" value="" />
<input type="hidden" name="Itemid" value="<?php 
echo $Itemid;
?>
">
</form>

 <script type="text/javascript">