Show votes on showreport.php
[bugdar.git] / templates / editcomment.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><lang 1="$comment[commentid]">{@"Edit Comment %1$s"}</lang> - $bug[summary]</title>
7 </head>
8
9 <body>
10
11 $header
12
13 <% if ($show['errors']): %>
14 <div class="error" style="text-align: <%- $stylevar['left'] %>">
15 <%-T("The following errors occurred")%>:
16 <%- $message->errorBox %>
17 </div>
18 <% endif %>
19
20 <form name="editcomment" method="post" action="editcomment.php">
21 <input type="hidden" name="do" value="update" />
22 <input type="hidden" name="commentid" value="<%- $comment['commentid'] %>" />
23
24 <div class="box">
25 <div class="box-head" style="text-align: <%- $stylevar['left'] %>">
26 <lang 1="$comment[commentid]" 2="$bug[bugid]" 3="$bug[summary]">{@"Comment #%1$s in bug #%2$s <em>%3$s</em>"}</lang>
27 </div>
28
29 <div class="box-foot box-margmod-bottom" style="text-align: <%- $stylevar['left'] %>"><lang 1="$comment[posttime]" 2="$comment[postby]">{@"Posted on %1$s by %2$s"}</lang></div>
30
31 <div class="box-mid" style="text-align: <%- $stylevar['left'] %>">
32 <% if ($show['hide']): %><div><strong<% if ($comment['hidden']): %> style="color: red"<% endif %>><%-T("Hidden")%>:</strong> <input type="checkbox" name="hidden" value="1"<% if ($comment['hidden']): %> checked="checked"<% endif %> /></div><% endif %>
33 <div><strong><%-T("Parse Links in the Comment")%>:</strong> <input type="checkbox" name="parselinks" value="1"<% if ($comment['parselinks']): %> checked="checked"<% endif %> /></div>
34 <textarea name="comment" cols="50" rows="15" class="textarea"><%- $comment['comment'] %></textarea>
35 </div>
36 </div>
37
38 <br />
39
40 <div id="submitrow">
41 <input type="submit" name="submit" accesskey="s" value=" <%-T("Save Changes")%> " />
42 <input type="reset" name="reset" accesskey="r" value=" <%-T("Reset Fields")%> " />
43 <script type="text/javascript"> draw_cancel("showreport.php?bugid=<%- $bug['bugid'] %>"); </script>
44 </div>
45
46 $footer