mirror of
https://github.com/kikobar/hikashoppayment-triplea.git
synced 2024-12-22 05:44:11 +00:00
Remove unused file trplea_end.php
This commit is contained in:
parent
5f23db9ee2
commit
c2213d53ca
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="plugin" version="2.5" method="upgrade" group="hikashoppayment">
|
||||
<name>Hikashop TripleA Payment Plugin</name>
|
||||
<creationDate>10 July 2021</creationDate>
|
||||
<version>1.0.0</version>
|
||||
<creationDate>17 July 2021</creationDate>
|
||||
<version>1.0.1</version>
|
||||
<author>Enrique Barcelli</author>
|
||||
<authorEmail>e.barcelli@gmail.com</authorEmail>
|
||||
<authorUrl>http://www.smt-acc.com</authorUrl>
|
||||
|
@ -11,7 +11,6 @@
|
|||
<description>This plugin enables you to setup your TripleA payment system</description>
|
||||
<files>
|
||||
<filename plugin="triplea">triplea.php</filename>
|
||||
<filename>triplea_end.php</filename>
|
||||
</files>
|
||||
<params addpath="/components/com_hikashop/params">
|
||||
<param name="pluginoptions" type="pluginoptions" default="plugin" label="hikashop" description="HikaShop options" />
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
<?php
|
||||
defined('_JEXEC') or die('Restricted access');
|
||||
?><div class="hikashop_triplea_end" id="hikashop_triplea_end">
|
||||
<form id="hikashop_triplea_form" name="hikashop_triplea_form" action="<?php echo $this->payment_params->url;?>" method="post">
|
||||
<div id="hikashop_triplea_end_image" class="hikashop_triplea_end_image">
|
||||
<input id="hikashop_triplea_button" type="submit" class="btn btn-primary" value="<?php echo JText::_('PAY_NOW');?>" name="" alt="<?php echo JText::_('PAY_NOW');?>" />
|
||||
</div>
|
||||
<?php
|
||||
foreach( $this->vars as $name => $value ) {
|
||||
echo '<input type="hidden" name="'.$name.'" value="'.htmlspecialchars((string)$value).'" />';
|
||||
}
|
||||
$doc = JFactory::getDocument();
|
||||
$doc->addScriptDeclaration("window.hikashop.ready( function() {document.getElementById('hikashop_triplea_form').submit();});");
|
||||
JRequest::setVar('noform',1);
|
||||
?>
|
||||
</form>
|
||||
</div>
|
Loading…
Reference in a new issue