Plugin Directory

Changeset 3446493


Ignore:
Timestamp:
01/25/2026 11:04:30 AM (2 months ago)
Author:
tripleatechnology
Message:

Fix: Move helper text below client secret field for better layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/includes/WooCommerce/views/triplea_options.php

    r3446489 r3446493  
    9292                    <input id="clientSecret" type="password" name="clientSecret" value="<?php echo $clientSecret; ?>" placeholder="<?php echo $clientSecret_exists ? __('Enter new secret to update', 'wc-triplea-crypto-payment') : __('Enter client secret', 'wc-triplea-crypto-payment'); ?>" style="width:300px;">
    9393                    <input type="hidden" name="clientSecretExists" value="<?php echo $clientSecret_exists ? '1' : '0'; ?>">
    94                     <?php if ($clientSecret_exists): ?>
    95                         <small style="display:block;margin-top:5px;color:#666;"><?php _e('Leave unchanged to keep existing secret, or enter new value to update.', 'wc-triplea-crypto-payment'); ?></small>
    96                     <?php endif; ?>
    97                 </div>
     94                </div>
     95                <?php if ($clientSecret_exists): ?>
     96                    <div style="margin-top:-15px;margin-bottom:20px;margin-left:0;">
     97                        <small style="color:#666;font-style:italic;"><?php _e('Leave unchanged to keep existing secret, or enter new value to update.', 'wc-triplea-crypto-payment'); ?></small>
     98                    </div>
     99                <?php endif; ?>
    98100                <input type="hidden" name="oAuthToken" id="oAuthToken">
    99101                <input type="hidden" name="oAuthTokenExpiry" id="oAuthTokenExpiry">
Note: See TracChangeset for help on using the changeset viewer.