Updated attachment.php to work, sans NotificationCenter
[bugdar.git] / templates / editattach.tpl
1 <%- $doctype %>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
3 <head>
4 <%- $headinclude %>
5 <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
6 <title><%- $attachment['filename'] %> - <%- $bug['summary'] %></title>
7 </head>
8
9 <body>
10
11 <%- $header %>
12
13 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
14
15 <input name="do" type="hidden" value="update" />
16 <input name="attachmentid" type="hidden" value="<%- $attachment['attachmentid'] %>" />
17
18 <div class="box">
19 <div class="box-head" style="text-align: <%- $stylevar['left'] %>">
20 <%- sprintf(T('Attachment #%1$s for Bug #%2$s %3$s'), $attachment['attachmentid'], $bug['bugid'], $bug['summary']) %>
21 </div>
22
23 <div class="box-mid box-margmod-bottom" style="text-align: <%- $stylevar['left'] %>">
24 <div><strong><%-T("Attachment")%>:</strong> <a href="viewattachment.php?attachmentid=<%- $attachment['attachmentid'] %>"><%-T("View")%></a> [<%- $attachment['filename'] %>]</div>
25 </div>
26
27 <div class="box-mid" style="text-align: <%- $stylevar['left'] %>">
28 <div><strong><%-T("Description")%>:</strong> <input name="description" type="text" size="35" maxlength="250" value="<%- $attachment['description'] %>" /></div>
29 <div><strong><%-T("Obsolete")%>:</strong> <input name="obsolete" type="checkbox" value="1"<% if ($attachment['obsolete']): %> checked="checked"<% endif %> /></div>
30 </div>
31 </div>
32
33 <br />
34
35 <div id="submitrow">
36 <input name="submit" type="submit" value=" <%-T("Submit")%> " accesskey="s" />
37 <% if ($show['delete']): %><input name="__delete__" type="submit" value=" <%-T("Delete")%> " /><% endif %>
38 <input name="reset" type="reset" value=" <%-T("Reset")%> " accesskey="r" />
39 <script type="text/javascript"> draw_cancel("showreport.php?bugid=<%- $bug['bugid'] %>"); </script>
40 </div>
41
42 </form>
43
44 <%- $footer %>