summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-02-29 10:13:27 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-02-29 10:13:27 +0100
commit0f3b98c3983140724f555940cba416eb11c47a10 (patch)
treef9c1a1a010f7eea5de3ebbdc349791934cdaf412 /examples
parent281d39c6afbd4133ab1f13acd0915276f45a9b57 (diff)
downloadmerchant-0f3b98c3983140724f555940cba416eb11c47a10.tar.gz
merchant-0f3b98c3983140724f555940cba416eb11c47a10.tar.bz2
merchant-0f3b98c3983140724f555940cba416eb11c47a10.zip
nesting
Diffstat (limited to 'examples')
-rw-r--r--examples/shop/index.php98
1 files changed, 49 insertions, 49 deletions
diff --git a/examples/shop/index.php b/examples/shop/index.php
index 9bce9e5d..d0d8b469 100644
--- a/examples/shop/index.php
+++ b/examples/shop/index.php
@@ -70,57 +70,57 @@ echo "\tvar shop_currency = '$MERCHANT_CURRENCY';\n";
may also enjoy visiting the <tt>blog.demo.taler.net</tt>.
</p>
</article>
- </section>
- <div class="taler-installed-hide">
- <h2>Installing the Taler wallet</h2>
- First, you need to install the Taler wallet browser extension.
- Install the wallet
- <span id="install-done" style="visibility: hidden">(done)</span>
- <ul>
- <li>from the app store for <a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Google
- Chrome and Chromium</a>
- </li>
- <li>via inline install:
- <button onclick="installWallet()" id="install-button">
- Add to Chrome
- </button>
- </li>
- </ul>
- Wallets for other browsers will be provided in the near future.
- </div>
+ <div class="taler-installed-hide">
+ <h2>Installing the Taler wallet</h2>
+ First, you need to install the Taler wallet browser extension.
+ Install the wallet
+ <span id="install-done" style="visibility: hidden">(done)</span>
+ <ul>
+ <li>from the app store for <a href="https://chrome.google.com/webstore/detail/gnu-taler-wallet/millncjiddlpgdmkklmhfadpacifaonc">Google
+ Chrome and Chromium</a>
+ </li>
+ <li>via inline install:
+ <button onclick="installWallet()" id="install-button">
+ Add to Chrome
+ </button>
+ </li>
+ </ul>
+ Wallets for other browsers will be provided in the near future.
+ </div>
- <div class="taler-installed-show">
- <p>Please choose a project and the amount of KUDOS you
- wish to donate:</p>
+ <div class="taler-installed-show">
+ <p>Please choose a project and the amount of KUDOS you
+ wish to donate:</p>
- <form name="tform" action="checkout.php" method="POST">
- <div class="participation" id="fake-shop">
- <br>
- <input type="radio" name="donation_receiver" value="Taler" checked="true">GNU Taler</input>
- <br>
- <input type="radio" name="donation_receiver" value="Tor">Tor</input>
- <br>
- <input type="radio" name="donation_receiver" value="GNUnet">GNUnet</input>
- <br>
- <select id="taler-donation" name="donation_amount">
- <!-- options will be added dynamically -->
- </select>
- <input id="currency-input" type="hidden" name="donation_currency"/>
- <input type="submit" name="keyName" value="Donate!"/>
- <br>
- <br>
- </div>
- </form>
- <p>
- (*) To make it a bit more fun, the 5 KUDOS option
- is deliberately implemented with a fault: the merchant will try to
- make you donate 6 KUDOS instead of the 5 KUDOS you got to see. But do
- not worry, you will be given the opportunity to review the
- final offer from the merchant in a window secured
- by the Taler extension. That way, you can spot the
- error before committing to an incorrect contract.
- </p>
- </div>
+ <form name="tform" action="checkout.php" method="POST">
+ <div class="participation" id="fake-shop">
+ <br>
+ <input type="radio" name="donation_receiver" value="Taler" checked="true">GNU Taler</input>
+ <br>
+ <input type="radio" name="donation_receiver" value="Tor">Tor</input>
+ <br>
+ <input type="radio" name="donation_receiver" value="GNUnet">GNUnet</input>
+ <br>
+ <select id="taler-donation" name="donation_amount">
+ <!-- options will be added dynamically -->
+ </select>
+ <input id="currency-input" type="hidden" name="donation_currency"/>
+ <input type="submit" name="keyName" value="Donate!"/>
+ <br>
+ <br>
+ </div>
+ </form>
+ <p>
+ (*) To make it a bit more fun, the 5 KUDOS option
+ is deliberately implemented with a fault: the merchant will try to
+ make you donate 6 KUDOS instead of the 5 KUDOS you got to see. But do
+ not worry, you will be given the opportunity to review the
+ final offer from the merchant in a window secured
+ by the Taler extension. That way, you can spot the
+ error before committing to an incorrect contract.
+ </p>
+ </div>
+ </section>
</body>
</html>