Remove unused file trplea_end.php

This commit is contained in:
Enrique Barcelli 2021-07-17 17:12:03 +08:00
parent 5f23db9ee2
commit c2213d53ca
2 changed files with 2 additions and 20 deletions

View file

@ -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" />

View file

@ -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>