Templates XHTML compliance fixes
[bugdar.git] / templates / newattach.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>{@"New Attachment"} - $bug[summary]</title>
7 </head>
8
9 <body>
10
11 $header
12
13 <if condition="$show['errors']">
14 <div class="error" style="text-align: $stylevar[left]">
15 {@"The following errors occurred"}:
16 {$message->errorBox}
17 </div>
18 </if>
19
20 <form action="attachment.php" method="post" enctype="multipart/form-data" name="newattach">
21
22 <input name="do" type="hidden" value="insert" />
23 <input name="bugid" type="hidden" value="$bug[bugid]" />
24 <input name="MAX_FILE_SIZE" type="hidden" value="$MAXFILESIZE" />
25
26 <div class="box">
27 <div class="box-head" style="text-align: $stylevar[left]"><lang 1="$bug[bugid]" 2="$bug[summary]">{@"New Attachment for Bug #%1$s %2$s"}</lang></div>
28
29 <div class="box-mid box-margmod-bottom" style="text-align: $stylevar[left]">
30 <div><input name="attachment" type="file" /></div>
31 <div><strong>{@"Description"}:</strong> <input name="description" type="text" size="35" value="{$bugsys->in['description']}" maxlength="250" /></div>
32 </div>
33
34 <if condition="$show['obsoletes']">
35 <div class="box-mid box-margmod-bottom" style="text-align: $stylevar[left]">
36 <div><strong>{@"Mark the Following Attachments Obsolete"}:</strong>
37 $obsoletes
38 </div>
39 </div>
40 </if>
41
42 <if condition="$show['addcomment']">
43 <div class="box-mid" style="text-align: $stylevar[left]">
44 <div><strong>{@"Add Comment"}:</strong>
45 <div>
46 <textarea name="comment" rows="10" cols="50" class="textarea">{$bugsys->in['comment']}</textarea>
47 </div>
48 </div>
49 </div>
50 </if>
51 </div>
52
53 <br />
54
55 <div id="submitrow">
56 <input name="submit" type="submit" value=" {@"Submit"} " accesskey="s" />
57 <input name="reset" type="reset" value=" {@"Reset"} " accesskey="r" />
58 <script type="text/javascript"> draw_cancel("showreport.php?bugid=$bug[bugid]"); </script>
59 </div>
60
61 </form>
62
63 $footer