styles/cubometry-style/template/mcp_forum.html
changeset 10 2829504a06be
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/cubometry-style/template/mcp_forum.html	Thu Mar 08 01:28:49 2012 +0400
     1.3 @@ -0,0 +1,111 @@
     1.4 +<!-- INCLUDE mcp_header.html -->
     1.5 +
     1.6 +<!-- DEFINE $CUSTOM_FIELDSET_CLASS = 'forum-selection2' -->
     1.7 +<!-- INCLUDE jumpbox.html -->
     1.8 +
     1.9 +<h2><a href="{U_VIEW_FORUM}">{L_FORUM}: {FORUM_NAME}</a></h2>
    1.10 +
    1.11 +<form method="post" id="mcp" action="{S_MCP_ACTION}">
    1.12 +
    1.13 +<div class="panel">
    1.14 +	<div class="inner"><span class="corners-top"><span></span></span>
    1.15 +
    1.16 +	<!-- IF PAGINATION or TOTAL_TOPICS -->
    1.17 +		<ul class="linklist">
    1.18 +			<li class="rightside pagination">
    1.19 +				<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS}<!-- ENDIF -->
    1.20 +				<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
    1.21 +			</li>
    1.22 +		</ul>
    1.23 +	<!-- ENDIF -->
    1.24 +
    1.25 +	<!-- IF .topicrow -->
    1.26 +		<ul class="topiclist">
    1.27 +			<li class="header">
    1.28 +				<dl class="icon">
    1.29 +					<dt>{L_TOPICS}</dt>
    1.30 +					<dd class="posts">{L_REPLIES}</dd>
    1.31 +					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
    1.32 +					<!-- IF not S_MERGE_SELECT --><dd class="mark">{L_MARK}</dd><!-- ENDIF -->
    1.33 +				</dl>
    1.34 +			</li>
    1.35 +		</ul>
    1.36 +		<ul class="topiclist cplist">
    1.37 +
    1.38 +		<!-- BEGIN topicrow -->
    1.39 +		<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
    1.40 +			<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
    1.41 +				<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
    1.42 +					<!-- IF topicrow.S_SELECT_TOPIC --><a href="{topicrow.U_SELECT_TOPIC}" class="topictitle">[ {L_SELECT_MERGE} ]</a>&nbsp;&nbsp; <!-- ENDIF -->
    1.43 +					<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
    1.44 +					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
    1.45 +					<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->
    1.46 +					<!-- IF topicrow.S_MOVED_TOPIC and S_CAN_DELETE -->&nbsp;<a href="{topicrow.U_DELETE_TOPIC}" class="topictitle">[ {L_DELETE_SHADOW_TOPIC} ]</a><!-- ENDIF -->
    1.47 +					<br />
    1.48 +					<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
    1.49 +					<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME} </dt>
    1.50 +				<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
    1.51 +				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}<br />{topicrow.LAST_POST_TIME}</span>
    1.52 +				</dd>
    1.53 +				<!-- IF not S_MERGE_SELECT -->
    1.54 +				<dd class="mark">
    1.55 +					<!-- IF not topicrow.S_MOVED_TOPIC --><input type="checkbox" name="topic_id_list[]" value="{topicrow.TOPIC_ID}"<!-- IF topicrow.S_TOPIC_CHECKED --> checked="checked"<!-- ENDIF --> /><!-- ELSE -->&nbsp;<!-- ENDIF -->
    1.56 +				</dd>
    1.57 +				<!-- ENDIF -->
    1.58 +			</dl>
    1.59 +		</li>
    1.60 +		<!-- END topicrow -->
    1.61 +		</ul>
    1.62 +	<!-- ELSE -->
    1.63 +		<ul class="topiclist">
    1.64 +			<li><p class="notopics">{L_NO_TOPICS}</p></li>
    1.65 +		</ul>
    1.66 +	<!-- ENDIF -->
    1.67 +
    1.68 +	<fieldset class="display-options">
    1.69 +		<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
    1.70 +		<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
    1.71 +		<label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label>
    1.72 +		<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label>
    1.73 +		<label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
    1.74 +	</fieldset>
    1.75 +
    1.76 +	<hr />
    1.77 +
    1.78 +	<!-- IF PAGINATION or TOTAL_TOPICS -->
    1.79 +		<ul class="linklist">
    1.80 +			<li class="rightside pagination">
    1.81 +				<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS}<!-- ENDIF -->
    1.82 +				<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
    1.83 +			</li>
    1.84 +		</ul>
    1.85 +	<!-- ENDIF -->
    1.86 +
    1.87 +	<span class="corners-bottom"><span></span></span></div>
    1.88 +</div>
    1.89 +
    1.90 +<fieldset class="display-actions">
    1.91 +	<!-- IF not S_MERGE_SELECT -->
    1.92 +	<select name="action">
    1.93 +		<option value="" selected="selected">{L_SELECT_ACTION}</option>
    1.94 +		<!-- IF S_CAN_DELETE --><option value="delete_topic">{L_DELETE}</option><!-- ENDIF -->
    1.95 +		<!-- IF S_CAN_MERGE --><option value="merge_topics">{L_MERGE}</option><!-- ENDIF -->
    1.96 +		<!-- IF S_CAN_MOVE --><option value="move">{L_MOVE}</option><!-- ENDIF -->
    1.97 +		<!-- IF S_CAN_FORK --><option value="fork">{L_FORK}</option><!-- ENDIF -->
    1.98 +		<!-- IF S_CAN_LOCK --><option value="lock">{L_LOCK}</option><option value="unlock">{L_UNLOCK}</option><!-- ENDIF -->
    1.99 +		<!-- IF S_CAN_SYNC --><option value="resync">{L_RESYNC}</option><!-- ENDIF -->
   1.100 +		<!-- IF S_CAN_MAKE_NORMAL --><option value="make_normal">{L_MAKE_NORMAL}</option><!-- ENDIF -->
   1.101 +		<!-- IF S_CAN_MAKE_STICKY --><option value="make_sticky">{L_MAKE_STICKY}</option><!-- ENDIF -->
   1.102 +		<!-- IF S_CAN_MAKE_ANNOUNCE -->
   1.103 +			<option value="make_announce">{L_MAKE_ANNOUNCE}</option>
   1.104 +			<option value="make_global">{L_MAKE_GLOBAL}</option>
   1.105 +		<!-- ENDIF -->
   1.106 +	</select>
   1.107 +	<input class="button2" type="submit" value="{L_SUBMIT}" />
   1.108 +	<div><a href="#" onclick="marklist('mcp', 'topic_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'topic_id_list', false); return false;">{L_UNMARK_ALL}</a></div>
   1.109 +	<!-- ENDIF -->
   1.110 +	{S_FORM_TOKEN}
   1.111 +</fieldset>
   1.112 +</form>
   1.113 +
   1.114 +<!-- INCLUDE mcp_footer.html -->
   1.115 \ No newline at end of file