An update to the images in the Payment Methods fields in admin, courtesy of our good friends the X-Cart Men:
Code:
If you would like to add HTML tags to the "payment_details" field you should open admin/payment_methods.php file and
replace in it:
require "./auth.php";
with
define('USE_TRUSTED_POST_VARIABLES',1);
$trusted_post_variables = array("posted_data");
require "./auth.php";
Those changes do not introduce any security risk, because the list of the payment methods can be changed by x-cart store administrator only.
It works a treat, and the descriptors in 'Payment Methods' now accept HTML.
So you would need to add this into the field before any text:
[img]../yourlocation/skin1/images/payment_xxxx.gif[/img]
(I Haven't tried using the Image Location variable, but this works and keeps the SSL intact)
You'll obviously need some GIF files - the ones I have used in my store (with white background, not transparent) are available here:
Visa and Mastercard
Amex and Diners
Paypal
Cheque (Check)
And if you prefer to mess around with them yourself, this should do the trick:
Photoshop PSD file in layers
I've updated the screen shots in the earlier posts to reflect exactly how it looks as of now.