mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
- allow local moderators to properly use the mcp for more than one forum (mcp)
- automatically get a forum id for global topics if needed (mcp) - allow linking to unapproved topics via a post id (viewtopic) - use #p[post_id] anchor (mcp_post) - use actions where appropriate (mcp_queue) - added approve_details mode (mcp_queue) - use new post details page (mcp_queue) - adding missing lang keys for (dis)approval of topics/posts (mcp_queue) - return to topic link (mcp_topic) - some changes to follow the coding guidelines git-svn-id: file:///svn/phpbb/trunk@5584 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -21,12 +21,12 @@
|
||||
<br />
|
||||
<table border="0" width="90%" cellspacing="2" cellpadding="1">
|
||||
<tr>
|
||||
<td class="row2" width="22%"><b class="gen">{L_DISAPPROVE_REASON}:</b></td>
|
||||
<td class="row2" width="78%"><select name="reason_id"><!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --></select></td>
|
||||
<td class="row1" width="22%"><b class="gen">{L_DISAPPROVE_REASON}:</b></td>
|
||||
<td class="row1" width="78%"><select name="reason_id"><!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --></select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row2" valign="top"><span class="gen"><b>{L_MORE_INFO}:</b></span><br /><span class="gensmall">{L_CAN_LEAVE_BLANK}</span></td>
|
||||
<td class="row2"><textarea class="post" style="width:500px" name="reason" rows="10" cols="40">{REASON}</textarea></td>
|
||||
<td class="row1" valign="top"><span class="gen"><b>{L_MORE_INFO}:</b></span><br /><span class="gensmall">{L_CAN_LEAVE_BLANK}</span></td>
|
||||
<td class="row1"><textarea class="post" style="width:500px" name="reason" rows="10" cols="40">{REASON}</textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
|
@@ -33,7 +33,7 @@
|
||||
</tr>
|
||||
<!-- IF S_POST_UNAPPROVED -->
|
||||
<tr>
|
||||
<td class="cat" align="center" colspan="2"><input class="btnmain" type="submit" value="{L_APPROVE}" name="mode[approve]" /> <input class="btnlite" type="submit" value="{L_DISAPPROVE}" name="mode[disapprove]" /></td>
|
||||
<td class="cat" align="center" colspan="2"><input class="btnmain" type="submit" value="{L_APPROVE}" name="action[approve]" /> <input class="btnlite" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /></td>
|
||||
</tr>
|
||||
<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
|
||||
<!-- ENDIF -->
|
||||
|
@@ -15,7 +15,7 @@
|
||||
</tr>
|
||||
<!-- BEGIN postrow -->
|
||||
<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||
<td style="padding: 4px;"><p class="topictitle"><a href="{postrow.U_VIEWTOPIC}">{postrow.TOPIC_TITLE}</a></p><br />
|
||||
<td style="padding: 4px;"><p class="topictitle"><a href="{postrow.U_VIEWTOPIC}">{postrow.TOPIC_TITLE}</a></p>
|
||||
<span class="gensmall">{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a></span></td>
|
||||
<td style="padding: 4px;" align="left" valign="top" nowrap="nowrap"><span class="gen"><!-- IF postrow.U_VIEWPROFILE --><a href="{postrow.U_VIEWPROFILE}">{postrow.POSTER}</a><!-- ELSE -->{postrow.POSTER}<!-- ENDIF --></span><br />
|
||||
<span class="gensmall">[ <a href="{postrow.U_VIEW_DETAILS}">{L_VIEW_DETAILS}</a> ]</span></td>
|
||||
@@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
<!-- END postrow -->
|
||||
<tr>
|
||||
<td class="cat" colspan="6" height="28" align="center"><input class="btnmain" type="submit" name="mode[approve]" value="{L_APPROVE}" /> <input class="btnlite" type="submit" name="mode[disapprove]" value="{L_DISAPPROVE}" /></td>
|
||||
<td class="cat" colspan="6" height="28" align="center"><input class="btnmain" type="submit" name="action[approve]" value="{L_APPROVE}" /> <input class="btnlite" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" /></td>
|
||||
</tr>
|
||||
</form></table>
|
||||
|
||||
|
@@ -59,6 +59,9 @@
|
||||
<th nowrap="nowrap">{L_MESSAGE}</th>
|
||||
<th nowrap="nowrap">{L_SELECT}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" colspan="3" align="center"><span class="gensmall">{RETURN_TOPIC}</span></td>
|
||||
</tr>
|
||||
<!-- BEGIN postrow -->
|
||||
<!-- IF postrow.S_ROW_COUNT is even -->
|
||||
<tr class="row1">
|
||||
|
Reference in New Issue
Block a user