source: trunk/forum/styles/prosilver/template/mcp_topic.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 7.4 KB
Line 
1<!-- INCLUDE mcp_header.html -->
2
3<h2><a href="{U_VIEW_TOPIC}">{L_TOPIC}: {TOPIC_TITLE}</a></h2>
4
5<script type="text/javascript">
6// <![CDATA[
7var panels = new Array('display-panel', 'split-panel', 'merge-panel');
8
9<!-- IF S_MERGE_VIEW -->
10 var show_panel = 'merge-panel';
11<!-- ELSEIF S_SPLIT_VIEW -->
12 var show_panel = 'split-panel';
13<!-- ELSE -->
14 var show_panel = 'display-panel';
15<!-- ENDIF -->
16
17onload_functions.push('subPanels()');
18
19// ]]>
20</script>
21
22<div id="minitabs">
23 <ul>
24 <li id="display-panel-tab"<!-- IF not S_MERGE_VIEW --> class="activetab"<!-- ENDIF -->>
25 <span class="corners-top"><span></span></span>
26 <a href="#minitabs" onclick="subPanels('display-panel'); return false;"><span>{L_DISPLAY_OPTIONS}</span></a>
27 </li>
28 <li id="split-panel-tab">
29 <span class="corners-top"><span></span></span>
30 <a href="#minitabs" onclick="subPanels('split-panel'); return false;"><span>{L_SPLIT_TOPIC}</span></a>
31 </li>
32 <li id="merge-panel-tab"<!-- IF S_MERGE_VIEW --> class="activetab"<!-- ENDIF -->>
33 <span class="corners-top"><span></span></span>
34 <a href="#minitabs" onclick="subPanels('merge-panel'); return false;"><span>{L_MERGE_TOPIC}</span></a>
35 </li>
36 </ul>
37</div>
38
39<form id="mcp" method="post" action="{S_MCP_ACTION}">
40
41<div class="panel">
42 <div class="inner"><span class="corners-top"><span></span></span>
43
44 <fieldset id="display-panel" class="fields2">
45 <dl>
46 <dt><label for="posts_per_page">{L_POSTS_PER_PAGE}:</label><br /><span>{L_POSTS_PER_PAGE_EXPLAIN}</span></dt>
47 <dd><input class="inputbox autowidth" type="text" name="posts_per_page" id="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></dd>
48 </dl>
49 <dl>
50 <dt><label>{L_DISPLAY_POSTS}:</label></dt>
51 <dd>{S_SELECT_SORT_DAYS}&nbsp;&nbsp;<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> <input type="submit" name="sort" value="{L_GO}" class="button2" /></dd>
52 </dl>
53 </fieldset>
54
55<!-- IF S_CAN_SPLIT -->
56 <fieldset id="split-panel" class="fields2">
57 <p>{L_SPLIT_TOPIC_EXPLAIN}</p>
58
59 <!-- IF S_SHOW_TOPIC_ICONS -->
60 <dl>
61 <dt><label for="icon">{L_TOPIC_ICON}:</label></dt>
62 <dd><label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> {L_NO_TOPIC_ICON}</label>
63 <!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon --></dd>
64 </dl>
65 <!-- ENDIF -->
66
67 <dl>
68 <dt><label for="subject">{L_SPLIT_SUBJECT}:</label></dt>
69 <dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SPLIT_SUBJECT}" title="{L_SPLIT_SUBJECT}" class="inputbox" /></dd>
70 </dl>
71 <dl>
72 <dt><label>{L_SPLIT_FORUM}:</label></dt>
73 <dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd>
74 </dl>
75 </fieldset>
76<!-- ENDIF -->
77
78<!-- IF S_CAN_MERGE -->
79 <fieldset id="merge-panel" class="fields2">
80 <p>{L_MERGE_TOPIC_EXPLAIN}</p>
81 <dl>
82 <dt><label for="to_topic_id">{L_MERGE_TOPIC_ID}:</label></dt>
83 <dd>
84 <input class="inputbox autowidth" type="text" size="6" name="to_topic_id" id="to_topic_id" value="{TO_TOPIC_ID}" />
85 <a href="{U_SELECT_TOPIC}" >{L_SELECT_TOPIC}</a>
86 </dd>
87 <!-- IF TO_TOPIC_INFO --><dd>{TO_TOPIC_INFO}</dd><!-- ENDIF -->
88 </dl>
89 </fieldset>
90<!-- ENDIF -->
91
92 <span class="corners-bottom"><span></span></span></div>
93</div>
94
95<div class="panel">
96 <div class="inner"><span class="corners-top"><span></span></span>
97
98 <h3 id="review">
99 <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span>
100 {L_TOPIC_REVIEW}: {TOPIC_TITLE}
101 </h3>
102
103 <div id="topicreview">
104 <!-- BEGIN postrow -->
105 <div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
106 <div class="inner"><span class="corners-top"><span></span></span>
107
108 <div class="postbody" id="pr{postrow.POST_ID}">
109 <ul class="profile-icons"><li class="info-icon"><a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}"><span>{L_POST_DETAILS}</span></a></li><li>{L_SELECT}: <input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></li></ul>
110
111 <h3><a href="{postrow.U_POST_DETAILS}">{postrow.POST_SUBJECT}</a></h3>
112 <p class="author"><a href="#pr{postrow.POST_ID}">{postrow.MINI_POST_IMG}</a> {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong><!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF --></p>
113
114 <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
115 <p class="rules">
116 <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
117 <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
118 </p>
119 <!-- ENDIF -->
120
121 <div class="content" id="message_{postrow.POST_ID}">{postrow.MESSAGE}</div>
122
123 <!-- IF postrow.S_HAS_ATTACHMENTS -->
124 <dl class="attachbox">
125 <dt>{L_ATTACHMENTS}</dt>
126 <!-- BEGIN attachment -->
127 <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
128 <!-- END attachment -->
129 </dl>
130 <!-- ENDIF -->
131
132 </div>
133
134 <span class="corners-bottom"><span></span></span></div>
135 </div>
136 <!-- END postrow -->
137 </div>
138
139 <hr />
140
141 <!-- IF PAGINATION or TOTAL_POSTS -->
142 <ul class="linklist">
143 <li class="rightside pagination">
144 <!-- IF TOTAL_POSTS --> {TOTAL_POSTS}<!-- ENDIF -->
145 <!-- 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 -->
146 </li>
147 </ul>
148 <!-- ENDIF -->
149
150 <span class="corners-bottom"><span></span></span></div>
151</div>
152
153<fieldset class="display-actions">
154 <select name="action">
155 <option value="" selected="selected">{L_SELECT_ACTION}</option>
156 <!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF -->
157 <!-- 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 -->
158 <!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF -->
159 <!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF S_MERGE_VIEW --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF -->
160 <!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF S_SPLIT_VIEW --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF -->
161 </select>&nbsp;
162 <input class="button1" type="submit" name="mcp_topic_submit" value="{L_SUBMIT}" />
163 <div><a href="#" onclick="marklist('mcp', 'post', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'post', false); return false;">{L_UNMARK_ALL}</a></div>
164{S_HIDDEN_FIELDS}
165{S_FORM_TOKEN}
166</fieldset>
167
168</form>
169
170<!-- INCLUDE mcp_footer.html -->
Note: See TracBrowser for help on using the repository browser.