e15a67965c5a25fe78ad90a781f6ca4e22c4582f
[Photo.git] / dtml / photoEdit.dtml
1 <dtml-var manage_page_header>
2 <dtml-var manage_tabs>
3
4
5 <p class="form-help">
6 You can update the data for this <dtml-var kind> using the form below.
7 Select a data file from your local computer by clicking the <em>browse</em>
8 button and click <em>upload</em> to update the contents of the <dtml-var
9 kind>.
10 </p>
11
12 <form action="<dtml-var URL1>/manage_edit" method="post"
13 enctype="multipart/form-data">
14 <table cellpadding="2" cellspacing="0" width="100%" border="0">
15 <tr>
16 <td align="left" valign="top">
17 <div class="form-optional">
18 Title
19 </div>
20 </td>
21 <td align="left" valign="top">
22 <input type="text" name="title" size="40" value="<dtml-if
23 title><dtml-var title html_quote></dtml-if>">
24 </td>
25 </tr>
26
27 <tr>
28 <td align="left" valign="top">
29 <div class="form-label">
30 Content Type
31 </div>
32 </td>
33 <td align="left" valign="top">
34 <input type="text" name="content_type:required" size="40" value="<dtml-if
35 content_type><dtml-var content_type html_quote></dtml-if>">
36 </td>
37 </tr>
38
39 <tr>
40 <td align="left" valign="top">
41 <div class="form-label">
42 Preview
43 </div>
44 </td>
45 <td align="left" valign="top">
46 <img src="getThumbnail" alt="preview of <dtml-var title_or_id>" />
47 </td>
48 </tr>
49
50 <tr>
51 <td align="left" valign="top">
52 <div class="form-label">
53 Last Modified
54 </div>
55 </td>
56 <td align="left" valign="top">
57 <div class="form-text">
58 <dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">
59 </div>
60 </td>
61 </tr>
62
63 <tr>
64 <td align="left" valign="top">
65 <div class="form-label">
66 File Size
67 </div>
68 </td>
69 <td align="left" valign="top">
70 <div class="form-text">
71 <dtml-var size thousands_commas> bytes
72 </div>
73 </td>
74 </tr>
75
76 <tr>
77 <td></td>
78 <td align="left" valign="top">
79 <div class="form-element">
80 <dtml-if wl_isLocked>
81 <em>Locked by WebDAV</em>
82 <dtml-else>
83 <input class="form-element" type="submit" name="submit"
84 value="Save Changes">
85 </dtml-if>
86 </div>
87 </td>
88 </tr>
89
90 </table>
91 </form>
92
93 <form action="<dtml-var URL1>/manage_upload" method="post"
94 enctype="multipart/form-data">
95 <table cellpadding="2" cellspacing="0" width="100%" border="0">
96 <tr>
97 <td align="left" valign="top">
98 <br />
99 <div class="form-label">
100 File Data
101 </div>
102 </td>
103 <td align="left" valign="top">
104 <br />
105 <input type="file" name="file" size="25" />
106 </td>
107 </tr>
108
109 <tr>
110 <td></td>
111 <td align="left" valign="top">
112 <div class="form-element">
113 <dtml-if wl_isLocked>
114 <em>Locked by WebDAV</em>
115 <dtml-else>
116 <input class="form-element" type="submit" name="submit"
117 value="Upload">
118 </dtml-if>
119 </div>
120 </td>
121 </tr>
122
123 </table>
124 </form>
125
126 <dtml-var manage_page_footer>