gustafn
committed
on 17 Jun 15
- quote HTML attribute values
- use &amp instead of & in hrefs
openacs-4/.../www/admin/delete.adp (+2 -2)
3 3 <property name="context">@context;noquote@</property>
4 4
5 5
6 6 #general-comments.lt_Do_you_really_wish_to#
7 7
8 8   <b>@title@</b> (<a href="../view-comment?comment_id=@comment_id@">#general-comments.details#</a>)<br><br>
9 9   <if @mime_type@ eq text/plain>
10 10     <%= [ad_text_to_html $content] %>
11 11   </if>
12 12   <else>
13 13     @content@
14 14   </else>
15 15   <br><br>-- <a href="/shared/community-member?user_id=@creation_user@">@author@</a>
16 16   (@pretty_date@) 
17 17
18 18 <table>
19 19 <tr>
20 20         <td>
21 21                 <form action=delete-2 method=post>
22 22                 <%= [export_vars -form {comment_id return_url}] %>
23                   <input type=submit name=submit value="#general-comments.Proceed#">
  23                 <input type="submit" name="submit" value="#general-comments.Proceed#">
24 24                 </form>
25 25         </td>
26 26
27 27         <td>
28 28                 <form action="@return_url@">
29                   <input type=submit name=submit value="#general-comments.Cancel#">
  29                 <input type="submit" name="submit" value="#general-comments.Cancel#">
30 30                 </form>
31 31         </td
32 32 </tr>
33 33 </table>
34 34
35 35 </form>
36 36
37 37