Second pass at adding key files
This commit is contained in:
		
							
								
								
									
										46
									
								
								site/forum/post_reports_box_get.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								site/forum/post_reports_box_get.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
			
		||||
<script type="text/javascript">
 | 
			
		||||
  $(document).ready(function() {
 | 
			
		||||
      return GForum.initPostReportsBox("<%post.post_id%>");
 | 
			
		||||
  });
 | 
			
		||||
</script>
 | 
			
		||||
<div class="post_report_heading">
 | 
			
		||||
  <span class="controls">
 | 
			
		||||
    <%~if post.post_reports_is_locked%>
 | 
			
		||||
      Locked till <%post.post_reports_locked%>
 | 
			
		||||
    <%~else%>
 | 
			
		||||
      <a href="#" id="post_reports_lock_<%post.post_id%>" title="Lock for moderation"><img src="<%image_url('report-lock-mod.png')%>" alt="Lock for moderation" /></a>
 | 
			
		||||
    <%~endif%>
 | 
			
		||||
    <a href="#" id="post_reports_mark_processed_<%post.post_id%>" title="Mark processed"><img src="<%image_url('report-mark-mod.png')%>" alt="Mark Processed" /></a>
 | 
			
		||||
    <a href="#" id="post_reports_send_pm_<%post.post_id%>" title="Send PMs"><img src="<%image_url('report-PM-all.png')%>" alt="Send PMs" /></a>
 | 
			
		||||
  </span>
 | 
			
		||||
  Reported Post
 | 
			
		||||
  <span class="post_reports_sub_heading"> - View Report Comments</span>
 | 
			
		||||
  <span class="post_reports_sub_heading hide"> - Send PMs</span>
 | 
			
		||||
</div>
 | 
			
		||||
<div class="post_report_content">
 | 
			
		||||
  <div class="post_reports_messages">
 | 
			
		||||
    <table>
 | 
			
		||||
      <%loop post_reports%>
 | 
			
		||||
        <tr>
 | 
			
		||||
          <td width="1%" nowrap="nowrap" class="post_reports_pm_user hide"><input class="post_reports_pm_user_checkbox_<%post.post_id%>" name="post_reports_pm_user_<%user_id%>" type="checkbox" value="<%user_id%>" checked="checked" /></td>
 | 
			
		||||
          <%~set escaped_username = escape_url unescape_html $user_username%>
 | 
			
		||||
          <td width="1%" nowrap="nowrap"><a href="<%GForum::SEO::url(params => "username=$escaped_username")%>"><%user_username%></a>:</td>
 | 
			
		||||
          <td class="post_reports_message warn"><%message%></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
      <%endloop%>
 | 
			
		||||
    </table>
 | 
			
		||||
  </div>
 | 
			
		||||
  <div id="post_reports_pm_message_wrapper_<%post.post_id%>" class="post_reports_pm_message_wrapper hide">
 | 
			
		||||
      <table>
 | 
			
		||||
        <tr><td colspan="2"><textarea name="post_reports_pm_message_<%post.post_id%>" rows="2"></textarea></td></tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
          <td valign="top">
 | 
			
		||||
            <input type="checkbox" id="post_reports_pm_all_<%post.post_id%>" checked="checked" /><span>Send PMs to all reporters</span>
 | 
			
		||||
            <input type="checkbox" id="post_reports_pm_poster" value="<%post.user_id_fk%>" checked="checked" /><span>Send PM to author (<%post.post_username%>)</span>
 | 
			
		||||
            <div id="reports_errors_<%post.post_id%>" class="warn hide"></div>
 | 
			
		||||
          </td>
 | 
			
		||||
          <td valign="top" align="right"><input type="submit" name="submit" value="Send PM" id="post_reports_submit_pm_<%post.post_id%>" /></td>
 | 
			
		||||
        </tr>
 | 
			
		||||
      </table>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user