r369: Styled editattach.tpl
[bugdar.git] / templates / editattach.tpl
1 $doctype
2 <html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
3 <head>
4 $headinclude
5 <title>$attachment[filename] - $bug[summary]</title>
6 </head>
7
8 $header
9
10 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
11
12 <input name="do" type="hidden" value="update" />
13 <input name="attachmentid" type="hidden" value="$attachment[attachmentid]" />
14
15 <div class="tborder" style="padding: 1px">
16 <div class="thead" style="padding: $stylevar[padding]px; margin-bottom: 1px">Attachment #$attachment[attachmentid] for Bug #$bug[bugid] $bug[summary]</div>
17 <div class="tmiddle" style="padding: $stylevar[padding]px; margin-bottom: 1px">
18 <div><strong>Attachment:</strong> <a href="viewattachment.php?attachmentid=$attachment[attachmentid]">View</a> [$attachment[filename]]</div>
19 </div>
20 <div class="tmiddle" style="padding: $stylevar[padding]px; margin-bottom: 1px">
21 <div><strong>Description:</strong> <input name="description" type="text" size="35" value="$attachment[description]" /></div>
22 <div><strong>Obsolete:</strong> <input name="obsolete" type="checkbox" value="1"<if condition="$attachment['obsolete']"> checked="checked"</if> /></div>
23 </div>
24 <div class="tfoot" style="padding: $stylevar[padding]px">
25 <input name="submit" type="submit" value=" Submit " accesskey="s" />
26 <input name="reset" type="reset" value=" Reset " accesskey="r" />
27 [<a href="attachment.php?do=delete&amp;attachmentid=$attachment[attachmentid]\">Delete</a>]
28 </div>
29 </div>
30
31 </form>
32
33 $footer