source: extensions/PayPalShoppingCart/admin.tpl @ 14919

Revision 9239, 1.7 KB checked in by Saint-Malo, 9 years ago (diff)

Version 1.0.2

Line 
1<div class="titrePage">
2<h2>{'PayPal Shopping Cart'|@translate}</h2>
3</div>
4
5{if $tabsheet_selected=='currency'}
6<h3>{'Currency'|@translate}</h3>
7<form method=post>
8<fieldset>
9<legend>{'Currency'|@translate}</legend>
10<br>
11<select name=currency onchange=submit()>
12{foreach from=$ppppp_array_currency item=currency_label key=currency_code}
13<option value="{$currency_code}"{if $ppppp_currency==$currency_code} selected{/if}>{$currency_label} ({$currency_code})</option>
14{/foreach}
15</select>
16<br>
17<br>
18<!--input type=submit value="{'Update data'|@translate}"-->
19</fieldset>
20</form>
21
22{elseif $tabsheet_selected=='size'}
23<h3>{'Size'|@translate}</h3>
24<form method=post>
25<fieldset>
26<legend>{'Append photo size'|@translate}</legend>
27<br>
28{'Size'|@translate} <input type=text name=size>
29{'Price'|@translate} <input type=text name=price>
30<br>
31<br>
32<input type=submit value="{'Append data'|@translate}">
33</fieldset>
34</form>
35<fieldset>
36<table class=table2>
37<tr class=throw>
38<th>{'Size'|@translate}</th>
39<th>{'Price'|@translate}</th>
40<th>{'Action'|@translate}</th>
41</tr>
42{foreach from=$ppppp_array_size item=ppppp_row_size name=ppppp_row_size_loop}
43<tr class="{if $smarty.foreach.ppppp_row_size_loop.index is odd}row1{else}row2{/if}">
44<td>{$ppppp_row_size.size}</td>
45<td>{$ppppp_row_size.price}</td>
46<td>
47<form method=post>
48<input type=hidden name=delete value='{$ppppp_row_size.id}'}>
49<input type=submit value="{'Delete data'|@translate}">
50</form>
51</td>
52</tr>
53{/foreach}
54</table>
55</fieldset>
56
57{else}
58<h3>{'Shipping cost'|@translate}</h3>
59<form method=post>
60<fieldset>
61<legend>{'Fixed shipping cost'|@translate}</legend>
62<br>
63<input type=text name=fixed_shipping value={$ppppp_fixed_shipping}>
64<br>
65<br>
66<input type=submit value="{'Update data'|@translate}">
67</fieldset>
68</form>
69{/if}
Note: See TracBrowser for help on using the repository browser.