commit bcd9b38f79dd624b6cf11246229656080c3a46cc
parent f964f1648692a59a8e3c07c9d12fbfd567b973df
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 18 Aug 2015 21:33:50 +0200
fix php syntax
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/frontend/fake_wire_transfer.php b/src/frontend/fake_wire_transfer.php
@@ -39,8 +39,8 @@
<?php
// Evaluate form
-$reserve_pk = $_POST['reserve_pk];
-$kudos_amount = $_POST['kudos_amount];
+$reserve_pk = $_POST['reserve_pk'];
+$kudos_amount = $_POST['kudos_amount'];
// pack the JSON
$json = json_encode (array ('reserve_pub' => $reserve_pk,
diff --git a/src/frontend/index.html b/src/frontend/index.html
@@ -79,7 +79,7 @@
into the subject area for your wire transfer instead of
into this form.
</p>
- <form id="reserve-form" name="tform" action="fake_wire_transfer.php" method="POST">
+ <form id="reserve-form" name="tform" action="/fake_wire_transfer.php" method="POST">
<div class="participation" id="fake-wire">
<br>
Paste your reserve public key here (right-click, "paste"):
@@ -105,7 +105,7 @@
accepting KUDOS right here into this page.</p>
<p>Please choose a project and the amount of KUDOS you
wish to donate.</p>
- <form name="tform" action="checkout.php" method="POST">
+ <form name="tform" action="/checkout.php" method="POST">
<div class="participation" id="fake-shop">
<br>
<input type="radio" name="group0" value="Taler" checked="true">Taler</input>