blob: b850c7d59ab12526fccb3e7cff103a5f5b8ccb2b (
plain)
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
|
{extends file="layout.tpl"}
{block name=title}{$product->getName()}{/block}
{block name=navigation}
<dl>
<dt><a href="contact.php">Contact us</a></dt>
<dt><a href=".">Home</a></dt>
<dt><a href="categories.php">Categories</a></dt>
<dt><a href="products.php?id={$catid}">Back to Category</a></dt>
{if $loggedin}
<dt><a href="login.php?logout">Logout</a></dt>
{else}
<dt><a href="login.php">Login</a></dt>
{/if}
</dl>
{/block}
{block name=content}
<form>
<div class="row">
<label for="name"><u>N</u>ame:</label>
<input class="formw" type="text"
placeholder="Name" id="name" name="name" accesskey="n"
maxlength="100" readonly value="{$product->getName()}">
</div>
<div class="row">
<label for="price"><u>P</u>rice (Euro):</label>
<input class="formw" type="text"
placeholder="Price (Euro)" id="price" name="price" accesskey="p"
maxlength="13" readonly value="{$product->getPrice()}">
</div>
<div class="row">
<label for="width"><u>W</u>idth (mm):</label>
<input class="formw" type="text"
placeholder="Width (mm)" id="width" name="width" accesskey="w"
maxlength="11" readonly value="{$product->getWidth()}">
</div>
<div class="row">
<label for="height"><u>H</u>eight (mm):</label>
<input class="formw" type="text"
placeholder="Height (mm)" id="height" name="height" accesskey="h"
maxlength="11" readonly value="{$product->getHeight()}">
</div>
<div class="row">
<label for="desc"><u>D</u>escription:</label>
<textarea class="formw" placeholder="Description" id="desc" name="desc"
accesskey="d" maxlength="1000" readonly rows="5">{$product->getDescription()}</textarea>
</div>
<div class="spacer"> </div>
</form>
{/block}
|