Ajout du produit, sur la base du dépôt luxia r1390 :
[Photo.git] / dtml / addPhotoForm.dtml
1 <dtml-var manage_page_header>
2
3 <dtml-var "manage_form_title(this(), _,
4 form_title='Add Photo')">
5
6 <p class="form-help">
7 Select a file to upload from your local computer by clicking the
8 <em>Browse</em> button.
9 </p>
10
11 <form action="addPhoto" method="post"
12 enctype="multipart/form-data">
13 <table cellspacing="0" cellpadding="2" border="0">
14 <tr>
15 <td align="left" valign="top">
16 <div class="form-label">
17 Id
18 </div>
19 </td>
20 <td align="left" valign="top">
21 <input type="text" name="id" size="40" />
22 </td>
23 </tr>
24 <tr>
25 <td align="left" valign="top">
26 <div class="form-optional">
27 Title
28 </div>
29 </td>
30 <td align="left" valign="top">
31 <input type="text" name="title" size="40" />
32 </td>
33 </tr>
34 <tr>
35 <td align="left" valign="top">
36 <div class="form-optional">
37 File
38 </div>
39 </td>
40 <td align="left" valign="top">
41 <input type="file" name="file" size="25" value="" />
42 </td>
43 </tr>
44 <tr>
45 <td align="left" valign="top">
46 </td>
47 <td align="left" valign="top">
48 <div class="form-element">
49 <input class="form-element" type="submit" name="submit"
50 value=" Add " />
51 </div>
52 </td>
53 </tr>
54 </table>
55 </form>
56
57 <dtml-var manage_page_footer>
58