Changed the display logic for message author. New conditional COND:MAIL:LOCAL which...
[citadel.git] / webcit / static / t / view_blog / comment.html
1 <div class='<?%("COND:MAIL:SUMM:UNREAD", 1, 0, 0, "blog_comment", "blog_comment")>' id="blog_comment_<?MAIL:SUMM:N>">
2         <div class="blog_comment_header">
3                 <span class="blog_commenter_name">
4                 <??("COND:MAIL:ANON",1)>
5                         <?!("COND:MAIL:LOCAL", 2)><a href="do_template?template=user_show?who=<?MAIL:SUMM:FROM("Q")>"><?MAIL:SUMM:FROM("X")></a><?!("X", 2)>
6                         <??("COND:MAIL:LOCAL", 2)><?MAIL:SUMM:FROM("X")> &lt;<?MAIL:SUMM:RFCA>&gt;</a><?!("X", 2)>
7                 <??("X", 1)>
8                 &nbsp;says:&nbsp;</span>
9                 <span class="blog_comment_date"><?MAIL:SUMM:DATEFULL></span>
10                 <?!("COND:ROOM:EDITACCESS", 16)>
11                         <a href="#" onclick="if (confirm('<?_("Delete this message?")>')) { DeleteBlogComment(<?MAIL:SUMM:N>); }"><span>[</span><?_("Delete")><span>]</span> </a> 
12                 <??("X", 16)>
13         </div>
14         <div class="blog_comment_content">
15                 <?MAIL:BODY>
16                 <?!("COND:MAIL:MIME:ATTACH:SUBMESSAGES", 10)>
17                         <?ITERATE("MAIL:MIME:ATTACH:SUBMESSAGES", ="view_message_inline_attach")>
18                 <?!("X", 10)>
19                 <?!("COND:MAIL:MIME:ATTACH:LINKS", 11)>
20                         <?ITERATE("MAIL:MIME:ATTACH:LINKS", ="view_message_list_attach")>
21                 <?!("X", 11)>
22         </div>
23 </div>