<?php

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

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

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

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

					</td>

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

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

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

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

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

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

				</tr>
                <tr align="center" class="omngateway" valign="middle">
	
	                <td align="left" valign="top"><strong><?php echo JText::_( 'DT_OMN_SEND_MERCHANT_EMAIL' ) ?>:</strong></td>
					<td align="left" valign="top">
										<?php
										 $options=array();
										 $options[]=JHTML::_('select.option', '0', JText::_( 'DT_NO' ));
										 $options[]=JHTML::_('select.option', '1', JText::_( 'DT_YES' ));
										 echo JHTML::_('select.genericlist', 
															$options, 
															'data[config][omn_send_email]',
															'',
															'value',
															'text',
															 $row->config['omn_send_email']);
										 ?>

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