merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 06be4bf0e8945a23c2b51a74273d97fd660360b9
parent be0ab873e4fa5e9382bd4c18b2af71ab7b045128
Author: tg(x) <*@tg-x.net>
Date:   Sat, 19 Dec 2015 02:56:37 +0100

fulfillment styling

Diffstat:
Msrc/frontend/fullfillment.php | 29+++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/src/frontend/fullfillment.php b/src/frontend/fullfillment.php @@ -6,7 +6,23 @@ </head> <body> -<?php + <header> + <div id="logo"> + <svg height="100" width="100"> + <circle cx="50" cy="50" r="40" stroke="black" stroke-width="6" fill="white" /> + <text x="19" y="82" font-family="Verdana" font-size="90" fill="black">S</text> + </svg> + </div> + + <h1>Toy Store - Payment succeeded</h1> + </header> + + <aside class="sidebar" id="left"> + </aside> + + <section id="main"> + <article> +<?php /* This file is part of GNU TALER. Copyright (C) 2014, 2015 GNUnet e.V. @@ -28,9 +44,9 @@ $cli_debug = false; $backend_test = true; function generate_msg ($link){ - $msg = "Thanks for donating to " . $_SESSION['receiver'] . "."; + $msg = "<p>Thanks for donating to " . $_SESSION['receiver'] . ".</p>"; if (false != $link) - $msg .= " Check our latest <a href=\"" . $link . "\">news!</a>"; + $msg .= "<p>Check our latest <a href=\"" . $link . "\">news!</a></p>"; return $msg; } @@ -46,7 +62,7 @@ if ($_GET['backend_test'] == 'no') session_start(); if (! isset ($_SESSION['payment_ok'])) - echo "Please land here after a successful payment!"; + echo "<p>Please land here after a successful payment!</p>"; else{ $news = false; switch ($_SESSION['receiver']){ @@ -60,10 +76,11 @@ else{ $news = "https://www.torproject.org/press/press.html.en"; break; } - echo generate_msg ($news); + echo generate_msg ($news); } ?> - + </article> + </section> </body> </html>