1 <dtml-var manage_page_header>
6 You can update the data for this file object 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
9 file. You may also edit the file content directly if the content is a
10 text type and small enough to be edited in a text area.
13 <form action="&dtml-URL1;" method="post" enctype="multipart/form-data">
14 <table cellpadding="2" cellspacing="0" width="100%" border="0">
16 <td align="left" valign="top">
17 <div class="form-optional">
21 <td align="left" valign="top">
22 <input type="text" name="title" size="40" value="<dtml-if
23 title>&dtml-title;</dtml-if>">
28 <td align="left" valign="top">
29 <div class="form-label">
33 <td align="left" valign="top">
34 <input type="text" name="content_type:required" size="40" value="<dtml-if
35 content_type>&dtml-content_type;</dtml-if>">
40 <td align="left" valign="top">
41 <div class="form-optional">
45 <td align="left" valign="top">
46 <input type="text" name="precondition" size="40" value="<dtml-if
47 precondition>&dtml-precondition;</dtml-if>">
51 <dtml-let ct=getContentType>
52 <dtml-if "(ct.startswith('text') or ct.endswith('javascript'))
53 and this().get_size() < 65536">
55 <td align="left" valign="top" colspan="2">
56 <div style="width: 100%;">
57 <dtml-let cols="REQUEST.get('dtpref_cols', '100%')"
58 rows="REQUEST.get('dtpref_rows', '20')">
59 <dtml-if "cols[-1]=='%'">
60 <textarea name="filedata:text" wrap="off" style="width: &dtml-cols;;"
62 <textarea name="filedata:text" wrap="off" cols="&dtml-cols;"
64 rows="&dtml-rows;"><dtml-var __str__ html_quote></textarea>
71 <td align="left" valign="top">
72 <div class="form-label">
76 <td align="left" valign="top">
77 <div class="form-text">
78 <dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">
83 <td align="left" valign="top">
84 <div class="form-label">
88 <td align="left" valign="top">
89 <div class="form-text">
90 <dtml-var size thousands_commas> bytes
99 <td align="left" valign="top">
100 <div class="form-element">
101 <dtml-if wl_isLocked>
102 <em>Locked by WebDAV</em>
104 <input class="form-element" type="submit" name="manage_edit:method"
105 value="Save Changes">
112 <td align="left" valign="top">
114 <div class="form-label">
118 <td align="left" valign="top">
120 <input type="file" name="file" size="25" />
126 <td align="left" valign="top">
127 <div class="form-element">
128 <dtml-if wl_isLocked>
129 <em>Locked by WebDAV</em>
131 <input class="form-element" type="submit" name="manage_upload:method"
141 <dtml-var manage_page_footer>