Changeset 53856 in spip-zone


Ignore:
Timestamp:
Oct 30, 2011, 2:56:37 PM (8 years ago)
Author:
cam.lafit@…
Message:

Permettre la personnalisation du bouton d'achat/souscription paypal

  • Vu qu'on peut personnaliser le formulaire assez finement, autant permettre ce point
  • Deux nouvelles variables :
    • bouton_paypal_acheter
    • bouton_paypal_souscrire
File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/paypal/formulaires/paypal.html

    r51194 r53856  
    5959<input type="hidden" name="cmd" value="_cart">
    6060<input type="hidden" name="upload" value="1">
    61 <input alt="<:paypal:info_bouton_paypal:>" name="submit" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_buynow_LG.gif" type="image" /><img src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" border="0" alt="" width="1" height="1" />
     61<input alt="<:paypal:info_bouton_paypal:>" name="submit" src="[(#ENV{bouton_paypal_acheter}|sinon{https://www.paypal.com/fr_FR/FR/i/btn/btn_buynow_LG.gif})]" type="image" /><img src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" border="0" alt="" width="1" height="1" />
    6262]
    6363
     
    7171        <input name="cmd" type="hidden" value="_xclick" />
    7272        <input name="bn" type="hidden" value="PP-BuyNow" />
    73         <input alt="<:paypal:info_bouton_paypal:>" name="submit" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_buynow_LG.gif" type="image" /><img src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" border="0" alt="" width="1" height="1" />
     73        <input alt="<:paypal:info_bouton_paypal:>" name="submit" src="[(#ENV{bouton_paypal_acheter}|sinon{https://www.paypal.com/fr_FR/FR/i/btn/btn_buynow_LG.gif})]" type="image" /><img src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" border="0" alt="" width="1" height="1" />
    7474]
    7575
     
    8585        <input name="cmd" type="hidden" value="_xclick-subscriptions" />
    8686        <input name="bn" type="hidden" value="PP-Subscribe" />
    87         <input alt="<:paypal:info_bouton_paypal:>" name="submit" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_subscribe_LG.gif" type="image" /><img src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" border="0" alt="" width="1" height="1" />
     87        <input alt="<:paypal:info_bouton_paypal:>" name="submit" src="[(#ENV{bouton_paypal_souscrire}|sinon{https://www.paypal.com/fr_FR/FR/i/btn/btn_subscribe_LG.gif})]" type="image" /><img src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" border="0" alt="" width="1" height="1" />
    8888]
    8989
Note: See TracChangeset for help on using the changeset viewer.