styles/subsilver2/template/mcp_topic.html
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/subsilver2/template/mcp_topic.html	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,151 @@
     1.4 +<!-- INCLUDE mcp_header.html -->
     1.5 +
     1.6 +<form name="mcp" id="mcp" method="post" action="{S_MCP_ACTION}">
     1.7 +
     1.8 +<table class="tablebg" width="100%" cellspacing="1">
     1.9 +<!-- IF S_CAN_SPLIT -->
    1.10 +	<tr>
    1.11 +		<th colspan="3" nowrap="nowrap">{L_SPLIT_TOPIC}</th>
    1.12 +	</tr>
    1.13 +	<tr>
    1.14 +		<td class="row2" colspan="3" align="center"><span class="gensmall">{L_SPLIT_TOPIC_EXPLAIN}</span></td>
    1.15 +	</tr>
    1.16 +	<tr>
    1.17 +		<td class="row1" nowrap="nowrap"><span class="gen">{L_SPLIT_SUBJECT}</span></td>
    1.18 +		<td class="row2" colspan="2"><input class="post" style="width: 350px" type="text" size="35" maxlength="64" name="subject" value="{SPLIT_SUBJECT}" /></td>
    1.19 +	</tr>
    1.20 +	<tr>
    1.21 +		<td class="row1" nowrap="nowrap"><span class="gen">{L_SPLIT_FORUM}</span></td>
    1.22 +		<td class="row2" colspan="2"><select name="to_forum_id">{S_FORUM_SELECT}</select></td>
    1.23 +	</tr>
    1.24 +
    1.25 +	<!-- IF S_SHOW_TOPIC_ICONS -->
    1.26 +		<tr>
    1.27 +			<td class="row1"><span class="gen">{L_TOPIC_ICON}</span></td>
    1.28 +			<td class="row2" colspan="2">
    1.29 +				<table width="100%" cellspacing="0" cellpadding="0" border="0">
    1.30 +				<tr>
    1.31 +					<td><span class="genmed nowrap"><input type="radio" class="radio" name="icon" value="0"<!-- IF not S_TOPIC_ICON --> checked="checked"<!-- ENDIF --> />{L_NO_TOPIC_ICON}</span> <!-- BEGIN topic_icon --><span class="nowrap"><input type="radio" class="radio" name="icon" value="{topic_icon.ICON_ID}"<!-- IF topic_icon.S_CHECKED --> checked="checked"<!-- ENDIF --> /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" hspace="2" vspace="2" /></span> <!-- END topic_icon --></td>
    1.32 +				</tr>
    1.33 +				</table>
    1.34 +			</td>
    1.35 +		</tr>
    1.36 +	<!-- ENDIF -->
    1.37 +<!-- ENDIF -->
    1.38 +
    1.39 +<!-- IF S_CAN_MERGE -->
    1.40 +	<tr>
    1.41 +		<th colspan="3" nowrap="nowrap">{L_MERGE_POSTS}</th>
    1.42 +	</tr>
    1.43 +	<tr>
    1.44 +		<td class="row2" colspan="3" align="center"><span class="gensmall">{L_MERGE_TOPIC_EXPLAIN}</span></td>
    1.45 +	</tr>
    1.46 +	<tr>
    1.47 +		<td class="row1" nowrap="nowrap"><span class="gen">{L_MERGE_TOPIC_ID}</span></td>
    1.48 +		<td class="row2" colspan="2"><input class="post" type="text" size="6" name="to_topic_id" value="{TO_TOPIC_ID}" /> <a href="{U_SELECT_TOPIC}">{L_SELECT_TOPIC}</a></td>
    1.49 +	</tr>
    1.50 +	<!-- IF TO_TOPIC_INFO -->
    1.51 +		<tr>
    1.52 +			<td class="row3" colspan="3" align="center"><b class="gen">{TO_TOPIC_INFO}</b></td>
    1.53 +		</tr>
    1.54 +	<!-- ENDIF -->
    1.55 +<!-- ENDIF -->
    1.56 +<tr>
    1.57 +	<th colspan="3" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th>
    1.58 +</tr>
    1.59 +<tr>
    1.60 +	<td class="row1" nowrap="nowrap"><span class="gen">{L_POSTS_PER_PAGE}</span><br /><span class="gensmall">{L_POSTS_PER_PAGE_EXPLAIN}</span></td>
    1.61 +	<td class="row2" colspan="2"><input class="post" type="text" name="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></td>
    1.62 +</tr>
    1.63 +<tr>
    1.64 +	<td class="cat" colspan="3" align="center"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" name="sort" value="{L_GO}" /></td>
    1.65 +</tr>
    1.66 +<tr>
    1.67 +	<th nowrap="nowrap" colspan="3">{L_TOPIC_REVIEW}: {TOPIC_TITLE}</th>
    1.68 +</tr>
    1.69 +<tr>
    1.70 +	<td class="row3" colspan="3" align="center"><span class="gensmall">{RETURN_TOPIC}</span></td>
    1.71 +</tr>
    1.72 +<!-- BEGIN postrow -->
    1.73 +
    1.74 +	<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
    1.75 +
    1.76 +		<td align="center"><b class="postauthor">{postrow.POST_AUTHOR_FULL}</b></td>
    1.77 +		<td width="100%">
    1.78 +			<table width="100%" cellspacing="0" cellpadding="0" border="0">
    1.79 +			<tr valign="top">
    1.80 +				<td class="gensmall" nowrap="nowrap">&nbsp;<b>{L_POST_SUBJECT}:</b>&nbsp;</td>
    1.81 +				<td class="gensmall" width="100%">{postrow.POST_SUBJECT}</td>
    1.82 +			</tr>
    1.83 +			</table>
    1.84 +		</td>
    1.85 +		<td width="5%" align="center"><a href="{postrow.U_POST_DETAILS}">{INFO_IMG}</a></td>
    1.86 +	</tr>
    1.87 +
    1.88 +	<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
    1.89 +
    1.90 +		<td width="100%" valign="top" colspan="2">
    1.91 +			<table width="100%" cellspacing="0" cellpadding="2" border="0">
    1.92 +			<tr>
    1.93 +				<td valign="top">
    1.94 +					<div class="postbody">{postrow.MESSAGE}</div>
    1.95 +					<!-- IF postrow.S_HAS_ATTACHMENTS -->
    1.96 +						<br clear="all" /><br />
    1.97 +
    1.98 +						<table class="tablebg" width="100%" cellspacing="1">
    1.99 +						<tr>
   1.100 +							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
   1.101 +						</tr>
   1.102 +						<!-- BEGIN attachment -->
   1.103 +							<tr>
   1.104 +								<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
   1.105 +							</tr>
   1.106 +						<!-- END attachment -->
   1.107 +						</table>
   1.108 +					<!-- ENDIF -->
   1.109 +
   1.110 +				</td>
   1.111 +			</tr>
   1.112 +			<tr>
   1.113 +				<td valign="bottom">
   1.114 +					<table width="100%" cellspacing="0" cellpadding="0" border="0">
   1.115 +					<tr valign="middle">
   1.116 +						<td width="100%">
   1.117 +							<!-- IF postrow.S_POST_UNAPPROVED and postrow.U_MCP_APPROVE --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><br /><!-- ENDIF -->
   1.118 +							<!-- IF postrow.S_POST_REPORTED and postrow.U_MCP_REPORT --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF -->
   1.119 +						</td>
   1.120 +						<td width="10" nowrap="nowrap">{postrow.MINI_POST_IMG}</td>
   1.121 +						<td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {postrow.POST_DATE}</td>
   1.122 +					</tr>
   1.123 +					</table>
   1.124 +				</td>
   1.125 +			</tr>
   1.126 +			</table>
   1.127 +		</td>
   1.128 +		<td width="5%" align="center"><input type="checkbox" class="radio" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></td>
   1.129 +	</tr>
   1.130 +	<tr>
   1.131 +		<td class="row3" colspan="3" height="1"><img src="images/spacer.gif" width="1" height="1" alt="" /></td>
   1.132 +	</tr>
   1.133 +<!-- END postrow -->
   1.134 +<tr>
   1.135 +	<td class="cat" colspan="3" align="center"><select name="action"><option value="" selected="selected">{L_SELECT_ACTION}</option>
   1.136 +		<!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF -->
   1.137 +		<!-- IF S_CAN_LOCK --><option value="lock_post">{L_LOCK_POST_POSTS} [ {L_LOCK_POST_EXPLAIN} ]</option><option value="unlock_post">{L_UNLOCK_POST_POSTS}</option><!-- ENDIF -->
   1.138 +		<!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF -->
   1.139 +		<!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF ACTION eq 'merge' --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF -->
   1.140 +		<!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF ACTION eq 'split' --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF -->
   1.141 +	</select>&nbsp;<input class="btnmain" type="submit" name="mcp_topic_submit" value="{L_SUBMIT}" /></td>
   1.142 +</tr>
   1.143 +</table>
   1.144 +{S_HIDDEN_FIELDS}
   1.145 +{S_FORM_TOKEN}
   1.146 +</form>
   1.147 +
   1.148 +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
   1.149 +<tr>
   1.150 +	<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="gensmall"><a href="#" onclick="marklist('mcp', '', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', '', false); return false;">{L_UNMARK_ALL}</a></b></td>
   1.151 +</tr>
   1.152 +</table>
   1.153 +
   1.154 +<!-- INCLUDE mcp_footer.html -->