<?php 

/**
* @version 2.7.12
* @package Joomla 1.6/1.7
* @subpackage DT Register
* @copyright Copyright (C) 2006 DTH Development
* @copyright contact dthdev@dthdevelopment.com
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*/

   $config = $this->getModel('config'); 
   $row = $this->row;
?> 
<tr valign="middle" class="moneris"><td align="left" class="dt_heading" colspan="4"><?php echo JText::_( 'DT_MONERIS' ); ?></td></tr>

	 			<tr align="center" valign="middle" class="moneris">

                     <td align="left" valign="top">

										 <strong><?php echo JText::_( 'DT_MONERIS_STORE_ID' ); ?>:</strong>

										 </td>

									   <td align="left" valign="top"> <input type="text" name="data[config][ps_store_id]" size="30" value="<?php echo $row->config['ps_store_id']; ?>" /> </td>

										 <td><?php echo JHTML::tooltip((JText::_( 'DT_MONERIS_STORE_ID_HELP' )), '', 'tooltip.png', '', ''); ?> </td>
										 									   
									   <td valign="top" rowspan="2"><?php echo JText::_( 'DT_NOTES_MONERIS' ) ;?></td>

				</tr>

				<tr align="center" valign="middle" class="moneris">

                     <td align="left" valign="top"><strong><?php echo JText::_( 'DT_MONERIS_KEY' ); ?>:</strong></td>

									   <td align="left" valign="top">	<input type="text" name="data[config][hpp_key]" size="30" value="<?php echo $row->config['hpp_key']; ?>" /> </td>

										 <td><?php echo JHTML::tooltip((JText::_( 'DT_MONERIS_KEY_HElP' )), '', 'tooltip.png', '', ''); ?> </td>

				</tr>	
                
                <tr align="center" valign="middle" class="moneris">

                     <td align="left" valign="top"><strong><?php echo JText::_( 'DT_MONERIS_TYPE' ); ?>:</strong></td>

									   <td align="left" valign="top">	 <?php

								    $options=array();

								    $options[]=JHTML::_('select.option', 'hosted', JText::_( 'DT_HOSTED' ));

								    $options[]=JHTML::_('select.option', 'directpost', JText::_( 'DT_DIRECT_POST' ));

								    echo JHTML::_('select.genericlist', $options,'data[config][moneris_type]','','value','text',$row->config['moneris_type']);

							     ?> </td>

										 <td><?php echo JHTML::tooltip((JText::_( 'DT_MONERIS_TYPE_HElP' )), '', 'tooltip.png', '', ''); ?> </td>

				</tr>	
                
                  <tr align="center" valign="middle" class="moneris">

                     <td align="left" valign="top"><strong><?php echo JText::_( 'DT_MONERIS_CVV_ENABLE' ); ?>:</strong></td>

									   <td align="left" valign="top">	 <?php

								    $options=array();

								    $options[]=JHTML::_('select.option', '0', JText::_( 'DT_DISABLED' ));

								    $options[]=JHTML::_('select.option', '1', JText::_( 'DT_ENABLED' ));

								    echo JHTML::_('select.genericlist', $options,'data[config][moneris_cvv_enable]','','value','text',$row->config['moneris_cvv_enable']);

							     ?> </td>

										 <td><?php echo JHTML::tooltip((JText::_( 'DT_MONERIS_CVV_ENABLE_HElP' )), '', 'tooltip.png', '', ''); ?> </td>

				</tr>	
                
                 	