<?php

/**
* @version 2.7.13
* @package Joomla 1.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="payfast"><td align="left" class="dt_heading" colspan="4"><?php echo JText::_('DT_PAYFAST'); ?></td></tr>

<tr align="center" valign="middle" class="payfast">  <td align="left" valign="top"><strong><?php echo JText::_('DT_PAYFAST_USERNAME'); ?>:</strong></td>

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

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

    <td valign="top"><?php echo JText::_('DT_NOTES_PAYFAST'); ?></td>

</tr> 
<tr align="center" valign="middle" class="payfast">  <td align="left" valign="top"><strong><?php echo JText::_('DT_PAYFAST_ACCOUNTNAME'); ?>:</strong></td>

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

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

</tr> 

<tr align="center" valign="middle" class="payfast">  <td align="left" valign="top"><strong><?php echo JText::_('DT_PAYFAST_MERCHANT_ID'); ?>:</strong></td>
    <td align="left" valign="top"><input type="text" name="data[config][payfast_merchant_id]" size="30" value="<?php echo stripslashes($row->config['payfast_merchant_id']); ?>"></td>

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

<tr align="center" valign="middle" class="payfast">  <td align="left" valign="top"><strong><?php echo JText::_('DT_PAYFAST_MERCHANT_KEY'); ?>:</strong></td>
    <td align="left" valign="top"><input type="text" name="data[config][payfast_merchant_key]" size="30" value="<?php echo stripslashes($row->config['payfast_merchant_key']); ?>"></td>

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