<?php

/**
* @version 2.7.12
* @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="psigate"><td align="left" class="dt_heading" colspan="4"><?php echo JText::_( 'DT_PSIGATE' ); ?></td>
                                 </tr>
                                 <tr class="psigate" align="center" valign="middle">
                                 	<td align="left" valign="top">
										 <strong><?php echo JText::_( 'DT_PSIGATE_MERCHANT_ID' ); ?>:</strong>
									</td>
                                    <td align="left" valign="top"> <input type="text" name="data[config][psi_merchantId]" size="30" value="<?php echo $row->config['psi_merchantId']; ?>" />
                                    </td>
                                    <td><?php echo JHTML::tooltip((JText::_( 'DT_PSIGATE_MERCHANT_ID_HELP' )), '', 'tooltip.png', '', ''); ?>
                                    </td>
                                    <td valign="top" rowspan="5"><?php echo JText::_( 'DT_NOTES_PSIGATE' ) ;?></td>
								 </tr>
                                 <tr class="psigate" align="center" valign="middle">
                                 	<td align="left" valign="top">
										 <strong><?php echo JText::_( 'DT_PSIGATE_PASS_PHRASE' ); ?>:</strong>
									</td>
                                    <td align="left" valign="top"> <input type="text" name="data[config][psi_passphrase]" size="30" value="<?php echo $row->config['psi_passphrase']; ?>" />
                                    </td>
                                    <td><?php echo JHTML::tooltip((JText::_( 'DT_PSIGATE_PASS_PHRASE_HELP' )), '', 'tooltip.png', '', ''); ?>
                                    </td>
                                    
								 </tr>
                                 <tr class="psigate" align="center" valign="middle">
                                 	<td align="left" valign="top">
										 <strong><?php echo JText::_( 'DT_PSIGATE_STORE_ID' ); ?>:</strong>
									</td>
                                    <td align="left" valign="top"> <input type="text" name="data[config][psi_storeid]" size="30" value="<?php echo $row->config['psi_storeid']; ?>" />
                                    </td>
                                    <td><?php echo JHTML::tooltip((JText::_( 'DT_PSIGATE_STORE_ID_HELP' )), '', 'tooltip.png', '', ''); ?>
                                    </td>
                                    
								 </tr>
                                 
                                 <tr class="psigate" align="center" valign="middle">
                                 	<td align="left" valign="top">
										 <strong><?php echo JText::_( 'DT_PSIGATE_LIVE_URL' ); ?>:</strong>
									</td>
                                    <td align="left" valign="top"> <input type="text" name="data[config][psi_live_url]" size="30" value="<?php echo $row->config['psi_live_url']; ?>" />
                                    </td>
                                    <td><?php echo JHTML::tooltip((JText::_( 'DT_PSIGATE_LIVE_URL_HELP' )), '', 'tooltip.png', '', ''); ?>
                                    </td>
                                    
								 </tr>
								
								 <tr class="psigate" align="center" valign="middle">  <td align="left" valign="top"><strong><?php echo JText::_( 'DT_PSIGATE_TYPE' );?>:</strong></td>

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

							    <?php

								    $options=array();

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

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

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

							     ?>

							    </td>

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

							  </tr>                           
