<?php global $barCodeTypes ,$barCodeImagetype ,$barCodeResolutions , $barcodeRotation; ?>

<table>
  <tr>
    <td>
      <strong><?php echo  JText::_('DT_BARCODE_ENABLE');?>:</strong>
    </td>
     <td>
      <?php
	    $barcode_enable = (!isset($barcode_enable))?0:$barcode_enable ;
	    echo JHTML::_('select.booleanlist', "barcode_enable","",$barcode_enable);  ?>
        
	 
    </td>
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_ENABLE_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  <tr>
    <td>
      <strong><?php echo  JText::_('DT_BARCODE_TYPE');?>:</strong>
    </td>
     <td>
      <?php
	     $options=array();
		  $barcode_type = (!isset($barcode_type))?'code39':$barcode_type ;
		  foreach($barCodeTypes as $type =>$text){
			  $options[] = JHTML::_('select.option',$type,$text);
		  }
	      echo JHTML::_('select.genericlist', $options,'barcode_type','','value','text',$barcode_type);
        
	  ?>
    </td>
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_TYPE_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
    
  </tr>
   <tr>
    <td>
      <strong><?php echo  JText::_('DT_BARCODE_IMAGE_TYPE');?>:</strong>
    </td>
     <td>
     <?php
	     $options=array();
		  $barcode_image_type = (!isset($barcode_image_type))?'png':$barcode_image_type ;
		  foreach($barCodeImagetype as $type =>$text){
			  $options[] = JHTML::_('select.option',$type,$text);
		  }
	      echo JHTML::_('select.radiolist', $options,'barcode_image_type','','value','text',$barcode_image_type);
        
	  ?>
    </td>
    
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_IMAGE_TYPE_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  </tr>
   <tr>
    <td>
     <strong> <?php echo  JText::_('DT_BARCODE_DPI');?>:</strong>
    </td>
     <td>
     <?php $barcodeDpi = (!isset($barcodeDpi))?72:$barcodeDpi ; ?>
      <input type="text" name="barcodeDpi" size="5" value="<?php echo $barcodeDpi ; ?>" />
    </td>
    
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_DPI_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  </tr>
   <tr>
    <td>
      <strong><?php echo  JText::_('DT_BARCODE_THICKNESS');?>:</strong>
    </td>
     <td>
     <?php $barcodeThick = (!isset($barcodeThick))?30:$barcodeThick ; ?>
    <input type="text" name="barcodeThick" size="5" value="<?php echo $barcodeThick ; ?>" />
    </td>
    
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_THICKNESS_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  </tr>
  
   <tr>
    <td>
     <strong> <?php echo  JText::_('DT_BARCODE_RESOLUTION');?>:</strong>
    </td>
     <td>
     <?php $barcode_resolution = (!isset($barcode_resolution))?1:$barcode_resolution ; ?>
     <?php
	     $options=array();
		  
		  foreach($barCodeResolutions as $type =>$text){
			  $options[] = JHTML::_('select.option',$type,$text);
		  }
	      echo JHTML::_('select.radiolist', $options,'barcode_resolution','','value','text',$barcode_resolution);
        
	  ?>
    </td>
    
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_RESOLUTION_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  </tr>
   <tr>
    <td>
     <strong> <?php echo  JText::_('DT_BARCODE_ROTATION');?>:</strong>
    </td>
     <td>
     <?php $barcodeRotation = (!isset($barcodeRotation))?0:$barcodeRotation ; ?>
     <?php
	     $options=array();
		  
		  foreach($barcodeRotation as $type =>$text){
			  $options[] = JHTML::_('select.option',$type,$text);
		  }
	      echo JHTML::_('select.radiolist', $options,'barcode_rotation','','value','text',$barcode_rotation);
        
	  ?>
    </td>
    
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_ROTATION_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  </tr>
  
   <tr>
    <td>
      <strong><?php echo  JText::_('DT_BARCODE_FONT_SIZE');?>:</strong>
    </td>
     <td>
     <?php $barcode_font_size = (!isset($barcode_font_size))?10:$barcode_font_size ; ?>
    <input type="text" name="barcode_font_size" size="5" value="<?php echo $barcode_font_size ; ?>" />
    </td>
    
								<td><?php echo JHTML::tooltip((JText::_( 'DT_BARCODE_FONT_SIZE_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
  </tr>

  
</table>