2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
5 <link rel="stylesheet" type="text/css" href="templates/box.css" media="screen" />
6 <title><%- $attachment['filename'] %> - <%- $bug['summary'] %></title>
13 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
15 <input name="do" type="hidden" value="update" />
16 <input name="attachmentid" type="hidden" value="<%- $attachment['attachmentid'] %>" />
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']) %>
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>
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>
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>