mirror of
https://git.wownero.com/wownero/wownerowp.git
synced 2024-08-15 01:03:16 +00:00
such wow
This commit is contained in:
parent
572f04dfba
commit
b9e5fcc96e
21 changed files with 152 additions and 157 deletions
|
@ -1,10 +1,10 @@
|
|||
<?php foreach($errors as $error): ?>
|
||||
<div class="error"><p><strong>Monero Gateway Error</strong>: <?php echo $error; ?></p></div>
|
||||
<div class="error"><p><strong>Wownero Gateway Error</strong>: <?php echo $error; ?></p></div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<h1>Monero Gateway Settings</h1>
|
||||
<h1>Wownero Gateway Settings</h1>
|
||||
|
||||
<?php if($confirm_type === 'monero-wallet-rpc'): ?>
|
||||
<?php if($confirm_type === 'wownero-wallet-rpc'): ?>
|
||||
<div style="border:1px solid #ddd;padding:5px 10px;">
|
||||
<?php
|
||||
echo 'Wallet height: ' . $balance['height'] . '</br>';
|
||||
|
@ -18,12 +18,12 @@
|
|||
<?php echo $settings_html ?>
|
||||
</table>
|
||||
|
||||
<h4><a href="https://github.com/monero-integrations/monerowp">Learn more about using the Monero payment gateway</a></h4>
|
||||
<h4><a href="https://github.com/monero-integrations/monerowp">Learn more about using the Wownero payment gateway</a></h4>
|
||||
|
||||
<script>
|
||||
function moneroUpdateFields() {
|
||||
var confirmType = jQuery("#woocommerce_monero_gateway_confirm_type").val();
|
||||
if(confirmType == "monero-wallet-rpc") {
|
||||
if(confirmType == "wownero-wallet-rpc") {
|
||||
jQuery("#woocommerce_monero_gateway_monero_address").closest("tr").hide();
|
||||
jQuery("#woocommerce_monero_gateway_viewkey").closest("tr").hide();
|
||||
jQuery("#woocommerce_monero_gateway_daemon_host").closest("tr").show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue