File: methodEdit.dtml

package info (click to toggle)
zope-zpatterns 0.4.3p2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 476 kB
  • ctags: 814
  • sloc: python: 2,817; ansic: 310; makefile: 52; sh: 39
file content (68 lines) | stat: -rw-r--r-- 1,926 bytes parent folder | download | duplicates (2)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<p class="form-help">
You may edit the source for this method using the form below. You 
may also upload the source for this method from a local file. Click
the <em>browse</em> button to select a local file to upload.
</p>

<form action="manage_edit" method="POST">
<table cellpadding="2" cellspacing="0" width="100%" border="0">
<tr>
  <th align="left" valign="top"><em>Title</em></th>
  <td align="left" valign="top">
    <input type="text" name="title" size="50" value="&dtml-title;">
  </td>
</tr>
<tr>
  <td align="left" colspan="2">
    <textarea name="text:text" wrap="off" style="width: 100%;"
        cols=<dtml-if dtpref_cols>"&dtml-dtpref_cols;"<dtml-else>"50"</dtml-if>
        rows=<dtml-if dtpref_rows>"&dtml-dtpref_rows;"<dtml-else>"20"</dtml-if>
    ><dtml-var text html_quote></textarea>
  </td>
</tr>

<tr>
  <td align="left" valign="top" colspan="2">
  <div class="form-element">
  <input class="form-element" type="submit" name="SUBMIT" value="Save Changes">
  &nbsp;&nbsp;
  <input class="form-element" type="submit" name="SUBMIT" value="Taller">
  <input class="form-element" type="submit" name="SUBMIT" value="Shorter">
  <input class="form-element" type="submit" name="SUBMIT" value="Wider">
  <input class="form-element" type="submit" name="SUBMIT" value="Narrower">
  </div>
  </td>
</tr>

</table>
</form>

<form action="manage_upload" method="post" enctype="multipart/form-data">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
  <td align="left" valign="top">
  <div class="form-label">
  File &nbsp;
  </div>
  </td>
  <td align="left" valign="top">
  <input type="file" name="file" size="25" value="">
  </td>
</tr>
<tr>
  <td></td>
  <td align="left" valign="top">
  <div class="form-element">
  <input class="form-element" type="submit" value="Upload File">
  </div>
  </td>
</tr>
</table>
</form>


<dtml-var manage_page_footer>