forked from osiloke/template-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclientareaaddfunds.tpl
56 lines (56 loc) · 1.81 KB
/
clientareaaddfunds.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<div class="row">
<div class="span6 offset3">
<div class="page-header">
<h1>{$LANG.addfunds} <small>{$LANG.addfundsintro}</small></h1>
</div>
{if $addfundsdisabled}
<div class="alert alert-error">
{$LANG.clientareaaddfundsdisabled}
</div>
{else}
{if $notallowed || $errormessage}
<div class="alert alert-error">
<h4 class="alert-heading">{$LANG.clientareaerrors}</h4>
{if $notallowed}{$LANG.clientareaaddfundsnotallowed}{else}{$errormessage}{/if}
</div>
{/if}
<p>{$LANG.addfundsdescription}</p>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th class="text-right">{$LANG.addfundsminimum}</th>
<td>{$minimumamount}</td>
</tr>
<tr>
<th class="text-right">{$LANG.addfundsmaximum}</th>
<td>{$maximumamount}</td>
</tr>
<tr>
<th class="text-right">{$LANG.addfundsmaximumbalance}</th>
<td>{$maximumbalance}</td>
</tr>
</tbody>
</table>
<form method="post" action="{$smarty.server.PHP_SELF}?action=addfunds" class="form-horizontal offset1 span4">
<div class="control-group">
<label class="control-label" for="amount">{$LANG.addfundsamount}:</label>
<div class="controls">
<input type="text" name="amount" id="amount" value="{$amount}" class="span1">
</div>
</div>
<div class="control-group">
<label class="control-label" for="paymentmethod">{$LANG.orderpaymentmethod}:</label>
<div class="controls">
<select name="paymentmethod" id="paymentmethod">
{foreach from=$gateways item=gateway}
<option value="{$gateway.sysname}">{$gateway.name}</option>
{/foreach}
</select>
</div>
</div>
<div class="text-center marginbottom"><button class="btn btn-primary">{$LANG.addfunds}</button></div>
<p class="text-center">{$LANG.addfundsnonrefundable}</p>
</form>
{/if}
</div>
</div>