View file mobile/template/mcp_post.html

File size: 7.15Kb
<!-- INCLUDE mcp_header.html -->

<!-- IF S_MCP_REPORT -->
	<form method="post" name="mcp_report" action="{U_CLOSE_ACTION}">
	<div align="center">{L_REPORT_DETAILS}</div>
		<div class="row1">
		{L_REPORT_REASON}: <span class="genmed">{REPORT_REASON_TITLE} &raquo; {REPORT_REASON_DESCRIPTION}</span><br/>
		{L_REPORTER}: <span class="genmed"<!-- IF REPORTER_COLOUR --> style="font-weight: bold; color: {REPORTER_COLOUR};"<!-- ENDIF -->>{REPORTER_NAME}</span> &nbsp; <span class="genmed">[<!-- IF U_VIEW_REPORTER_PROFILE --><a href="{U_VIEW_REPORTER_PROFILE}">{L_READ_PROFILE}</a><!-- ENDIF --><!-- IF S_USER_NOTES --><!-- IF U_VIEW_REPORTER_PROFILE -->|<!-- ENDIF --><a href="{U_MCP_REPORTER_NOTES}">{L_VIEW_NOTES}</a>|<a href="{U_MCP_WARN_REPORTER}">{L_WARN_USER}</a><!-- ENDIF -->]</span><br/>
	        {L_REPORTED}: <span class="genmed">{REPORT_DATE}</span>
	        </div>
	<!-- IF REPORT_TEXT -->
		<div class="tab"><span class="gensmall">{L_MORE_INFO}</span></div>
		<div class="row1">{REPORT_TEXT}</div>
	<!-- ENDIF -->
	<div class="cat"><!-- IF S_POST_REPORTED --><input type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /><!-- ELSE -->{L_REPORT_CLOSED}<!-- ENDIF --> &nbsp; <input type="submit" value="{L_DELETE_REPORT}" name="action[delete]" /></div>	
	<input type="hidden" name="report_id_list[]" value="{REPORT_ID}" />
	{S_FORM_TOKEN}
	</form>
	<br/>
<!-- ENDIF -->

<!-- IF S_MCP_QUEUE --><form method="post" name="mcp_approve" action="{U_APPROVE_ACTION}"><!-- ELSE --><form method="post" name="mcp_report_details" action="{U_CLOSE_ACTION}"><!-- ENDIF -->

<div align="center">{L_POST_DETAILS}</div>
<div class="row1"><span class="genmed"><!-- IF S_MCP_QUEUE -->{RETURN_QUEUE}|{RETURN_TOPIC_SIMPLE}|{RETURN_POST}<!-- ELSEIF S_MCP_REPORT -->{RETURN_REPORTS}|<a href="{U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- ELSE -->{RETURN_TOPIC}<!-- ENDIF --></span></div>
<div class="row1">{L_POST_SUBJECT}: <span class="genmed">{POST_SUBJECT} <!-- IF S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a><!-- ENDIF --> <!-- IF S_POST_REPORTED and not S_MCP_REPORT -->{REPORTED_IMG} <a href="{U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></span>
</div>
<div class="row1">{L_POSTER}: <span class="genmed"<!-- IF POST_AUTHOR_COLOUR --> style="font-weight: bold; color: {POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{POST_AUTHOR} &nbsp; [<!-- IF U_POST_AUTHOR --><a href="{U_POST_AUTHOR}">{L_READ_PROFILE}</a><!-- ENDIF --><!-- IF S_USER_NOTES --><!-- IF U_POST_AUTHOR -->|<!-- ENDIF --><a href="{U_MCP_USER_NOTES}">{L_VIEW_NOTES}</a><!-- IF U_MCP_WARN_USER -->|<a href="{U_MCP_WARN_USER}">{L_WARN_USER}</a><!-- ENDIF --><!-- ENDIF -->]</span>
</div>
<!-- IF S_CAN_VIEWIP -->
<div class="row1">{L_THIS_POST_IP}: 
<span class="genmed">
<!-- IF U_WHOIS -->
<a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
<!-- ELSE -->
<!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
<!-- ENDIF -->
</span></div>
<!-- ENDIF -->
<div class="row1">{L_POSTED}: {POST_DATE}<br/> 
<span class="gensmall">{L_PREVIEW}</span>
<!-- IF U_EDIT --><span class="genmed" style="float: {S_CONTENT_FLOW_END};"><a href="{U_EDIT}">{EDIT_IMG}</a></span><!-- ENDIF -->
<br/>{POST_PREVIEW}</div>
	<!-- IF S_HAS_ATTACHMENTS -->
               <div class="tab"><span class="genmed">{L_ATTACHMENTS}: </span></div>
		<!-- BEGIN attachment -->
		<!-- IF attachment.S_ROW_COUNT is even --><div class="row_hard"><!-- ELSE --><div class="row_easy"><!-- ENDIF -->{attachment.DISPLAY_ATTACHMENT}</div>			
		<!-- END attachment -->		
	<!-- ENDIF -->

<!-- IF S_POST_UNAPPROVED and S_MCP_QUEUE -->
	<div class="cat"><input type="submit" value="{L_APPROVE}" name="action[approve]" /> &nbsp; <input type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /></div>
	<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
<!-- ENDIF -->
{S_FORM_TOKEN}
</form>
<!-- IF S_MCP_QUEUE -->
	<br clear="all" />
	<!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->
<!-- ELSEIF S_MCP_REPORT -->
	<br clear="all" />

	<!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->
<!-- ELSE -->
	<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER -->
		<br /><a name="mod"></a>
		<div align="center">{L_MOD_OPTIONS}</div>
		<!-- IF S_CAN_CHGPOSTER -->
			<div class="row1">{L_CHANGE_POSTER}<br/>
			<form method="post" name="mcp_chgposter" action="{U_POST_ACTION}"><input type="text" name="username" value="" /> <input type="submit" value="{L_CONFIRM}" name="action[chgposter]" /><br />
			<span class="genmed">[<a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a>]</span><!-- IF S_USER_SELECT --><br />
			<select name="u">{S_USER_SELECT}</select> <input type="submit" name="action[chgposter_ip]" value="{L_CONFIRM}" /><!-- ENDIF -->{S_FORM_TOKEN}</form>
			</div>
		<!-- ENDIF -->
		<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
			<div class="row1">{L_MOD_OPTIONS}<br/>
			<form method="post" name="mcp" action="{U_MCP_ACTION}">
			<select name="action"><!-- IF S_CAN_LOCK_POST --><!-- IF S_POST_LOCKED -->
			<option value="unlock_post">{L_UNLOCK_POST} [{L_UNLOCK_POST_EXPLAIN}]</option>
			<!-- ELSE --><option value="lock_post">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</option><!-- ENDIF -->
			<!-- ENDIF --><!-- IF S_CAN_DELETE_POST --><option value="delete_post">{L_DELETE_POST}</option><!-- ENDIF --></select> 
			<input type="submit" value="{L_SUBMIT}" />{S_FORM_TOKEN}</form>
			</div>
		<!-- ENDIF -->
	<!-- ENDIF -->

	<!-- IF S_CAN_VIEWIP -->
		<br /><a name="ip"></a>
		<div align="center">{L_IP_INFO}</div>
		<div class="cat"><span class="gensmall">{L_OTHER_USERS}</span></div>
		<!-- BEGIN userrow -->
			<!-- IF userrow.S_ROW_COUNT is even --><div class="row_hard"><!-- ELSE --><div class="row_easy"><!-- ENDIF -->
			<!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --> [{userrow.NUM_POSTS} {userrow.L_POST_S}]<br/>
			<a href="{userrow.U_SEARCHPOSTS}">{SEARCH_IMG}</a></div>
		<!-- BEGINELSE -->
			<div class="row1" align="center"><span class="gensmall">{L_NO_MATCHES_FOUND}</span></div>
		<!-- END userrow -->
		<div class="cat">{L_IPS_POSTED_FROM}<!-- IF U_LOOKUP_ALL --><span class="genmed">[<a href="{U_LOOKUP_ALL}">{L_LOOKUP_ALL}</a>]</span><!-- ENDIF -->
		</div>
		<!-- BEGIN iprow -->
			<!-- IF iprow.S_ROW_COUNT is even -->
				<div class="row_easy">
			<!-- ELSE -->
				<div class="row_hard">
			<!-- ENDIF -->
			<!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a><!-- ENDIF --> [ {iprow.NUM_POSTS} {iprow.L_POST_S} ]<br/>
			<!-- IF iprow.U_LOOKUP_IP --><span class="genmed">[<a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a>]</span><!-- ENDIF -->
			</div>
		<!-- BEGINELSE -->
			<div class="row1" align="center"><span class="gensmall">{L_NO_MATCHES_FOUND}</span></div>
		<!-- END iprow -->		
	<!-- ENDIF -->
<!-- ENDIF -->
<!-- INCLUDE mcp_footer.html -->