Reprise du code pour support des blobs.
[Photo.git] / dtml / imageAdd.dtml
1 <dtml-var manage_page_header>
2
3 <dtml-var "manage_form_title(this(), _,
4 form_title='Add %s' % Kind,
5 help_product='OFSP',
6 help_topic='File_Add.stx'
7 )">
8
9 <p class="form-help">
10 Select a file to upload from your local computer by clicking the
11 <em>Browse</em> button.
12 </p>
13
14 <form action="manage_add&dtml-Kind;" method="post"
15 enctype="multipart/form-data">
16 <table cellspacing="0" cellpadding="2" border="0">
17 <tr>
18 <td align="left" valign="top">
19 <div class="form-label">
20 Id
21 </div>
22 </td>
23 <td align="left" valign="top">
24 <input type="text" name="id" size="40" />
25 </td>
26 </tr>
27 <tr>
28 <td align="left" valign="top">
29 <div class="form-optional">
30 Title
31 </div>
32 </td>
33 <td align="left" valign="top">
34 <input type="text" name="title" size="40" />
35 </td>
36 </tr>
37 <tr>
38 <td align="left" valign="top">
39 <div class="form-optional">
40 File
41 </div>
42 </td>
43 <td align="left" valign="top">
44 <input type="file" name="file" size="25" value="" />
45 </td>
46 </tr>
47 <tr>
48 <td align="left" valign="top">
49 </td>
50 <td align="left" valign="top">
51 <div class="form-element">
52 <input class="form-element" type="submit" name="submit"
53 value=" Add " />
54 </div>
55 </td>
56 </tr>
57 </table>
58 </form>
59
60 <dtml-var manage_page_footer>
61