0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: paymentmethod.tar
tmpl/edit_config.php 0000666 00000002336 15137216245 0010521 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage Paymentmethod * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * @version $Id: edit_config.php 6043 2012-05-21 21:40:56Z Milbo $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); if($this->payment->payment_jplugin_id){ // vmdebug('my payment ',$this->payment); //$parameters = new vmParameters($this->paym->payment_params, JPATH_PLUGINS.DS.'vmpayment'.DS.basename($this->paym->payment_element).'.xml', 'plugin' ); $parameters = new vmParameters($this->payment, $this->payment->payment_element , 'plugin' ,'vmpayment'); echo $rendered = $parameters->render(); } else { echo JText::_('COM_VIRTUEMART_SELECT_PAYMENT_METHOD' ); } tmpl/edit_edit.php 0000666 00000003614 15137216245 0010201 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage Paymentmethod * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * @version $Id: edit_edit.php 5215 2012-01-03 17:31:57Z alatak $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); ?> <?php echo $this->langList; ?> <div class="col50"> <fieldset> <legend><?php echo JText::_('COM_VIRTUEMART_PAYMENTMETHOD'); ?></legend> <table class="admintable"> <?php echo VmHTML::row('input','COM_VIRTUEMART_PAYMENTMETHOD_FORM_NAME','payment_name',$this->payment->payment_name); ?> <?php echo VmHTML::row('input','COM_VIRTUEMART_SLUG','slug',$this->payment->slug); ?> <?php echo VmHTML::row('booleanlist','COM_VIRTUEMART_PUBLISHED','published',$this->payment->published); ?> <?php echo VmHTML::row('textarea','COM_VIRTUEMART_PAYMENT_FORM_DESCRIPTION','payment_desc',$this->payment->payment_desc); ?> <?php echo VmHTML::row('raw','COM_VIRTUEMART_PAYMENT_CLASS_NAME', $this->vmPPaymentList ); ?> <?php echo VmHTML::row('raw','COM_VIRTUEMART_PAYMENTMETHOD_FORM_SHOPPER_GROUP', $this->shopperGroupList ); ?> <?php echo VmHTML::row('input','COM_VIRTUEMART_LIST_ORDER','ordering',$this->payment->ordering,'class="inputbox"','',4,4); ?> <?php if (Vmconfig::get('multix', 'none') !== 'none') { echo VmHTML::row('raw', 'COM_VIRTUEMART_VENDOR', $this->vendorList); } ?> </table> </fieldset> </div> tmpl/edit.php 0000666 00000003244 15137216245 0007173 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage Edit * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * @version $Id: edit.php 6053 2012-06-05 12:36:21Z Milbo $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); AdminUIHelper::startAdminArea($this); ?> <form action="index.php" method="post" name="adminForm" id="adminForm"> <?php // Loading Templates in Tabs $tabarray = array(); $tabarray['edit'] = 'COM_VIRTUEMART_ADMIN_PAYMENT_FORM'; $tabarray['config'] = 'COM_VIRTUEMART_ADMIN_PAYMENT_CONFIGURATION'; AdminUIHelper::buildTabs ( $this, $tabarray,$this->payment->virtuemart_paymentmethod_id ); // Loading Templates in Tabs END ?> <!-- Hidden Fields --> <input type="hidden" name="option" value="com_virtuemart" /> <input type="hidden" name="virtuemart_paymentmethod_id" value="<?php echo $this->payment->virtuemart_paymentmethod_id; ?>" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="xxcontroller" value="paymentmethod" /> <input type="hidden" name="view" value="paymentmethod" /> <?php echo JHTML::_('form.token'); ?> </form> <?php AdminUIHelper::endAdminArea(); ?> tmpl/default.php 0000666 00000007351 15137216245 0007675 0 ustar 00 <?php /** * * Description * * @package VirtueMart * @subpackage Paymentmethod * @author Max Milbers * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * @version $Id: default.php 6475 2012-09-21 11:54:21Z Milbo $ */ // Check to ensure this file is included in Joomla! defined('_JEXEC') or die('Restricted access'); AdminUIHelper::startAdminArea($this); //if($virtuemart_vendor_id==1 || $perm->check( 'admin' )){ ?> <form action="index.php" method="post" name="adminForm" id="adminForm"> <div id="editcell"> <table class="adminlist" cellspacing="0" cellpadding="0"> <thead> <tr> <th width="2"> <input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->payments); ?>);" /> </th> <th > <?php echo $this->sort('payment_name', 'COM_VIRTUEMART_PAYMENT_LIST_NAME'); ?> </th> <th> <?php echo JText::_('COM_VIRTUEMART_PAYMENT_LIST_DESCRIPTION_LBL'); ?> </th> <?php if($this->perms->check( 'admin' )){ ?> <th > <?php echo $this->sort('virtuemart_vendor_id', 'COM_VIRTUEMART_VENDOR'); ?> </th><?php }?> <th > <?php echo JText::_('COM_VIRTUEMART_PAYMENT_SHOPPERGROUPS'); ?> </th> <th > <?php echo $this->sort('payment_element', 'COM_VIRTUEMART_PAYMENT_ELEMENT'); ?> </th> <th > <?php echo $this->sort('ordering', 'COM_VIRTUEMART_LIST_ORDER'); ?> </th> <th > <?php echo $this->sort('published', 'COM_VIRTUEMART_PUBLISHED'); ?> </th> <?php if(Vmconfig::get('multix','none')!=='none'){ ?> <th width="10"> <?php echo JText::_('COM_VIRTUEMART_SHARED'); ?> </th> <?php } ?> <th><?php echo $this->sort('virtuemart_paymentmethod_id', 'COM_VIRTUEMART_ID') ?></th> </tr> </thead> <?php $k = 0; for ($i=0, $n=count( $this->payments ); $i < $n; $i++) { $row = $this->payments[$i]; $checked = JHTML::_('grid.id', $i, $row->virtuemart_paymentmethod_id); $published = JHTML::_('grid.published', $row, $i); $editlink = JROUTE::_('index.php?option=com_virtuemart&view=paymentmethod&task=edit&cid[]=' . $row->virtuemart_paymentmethod_id); ?> <tr class="<?php echo "row".$k; ?>"> <td align="center" > <?php echo $checked; ?> </td> <td align="left"> <a href="<?php echo $editlink; ?>"><?php echo $row->payment_name; ?></a> </td> <td align="left"> <?php echo $row->payment_desc; ?> </td> <?php if($this->perms->check( 'admin' )){?> <td align="left"> <?php echo JText::_($row->virtuemart_vendor_id); ?> </td> <?php } ?> <td> <?php echo $row->paymShoppersList; ?> </td> <td> <?php echo $row->payment_element; ?> </td> <td> <?php echo $row->ordering; ?> </td> <td align="center"> <?php echo $published; ?> </td> <?php if(Vmconfig::get('multix','none')!=='none'){ ?> <td align="center"> <?php echo $row->shared; ?> </td> <?php } ?> <td align="center"> <?php echo $row->virtuemart_paymentmethod_id; ?> </td> </tr> <?php $k = 1 - $k; } ?> <tfoot> <tr> <td colspan="21"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> </table> </div> <?php echo $this->addStandardHiddenToForm(); ?> </form> <?php AdminUIHelper::endAdminArea(); ?>