Jump to content

При выборе нескольких тем нет опций в выпадающим списке

Featured Replies

comment_28701

У самого такая лабуда была. Дело в стареньком стиле, не адаптированном под 344. Попробуйте пересмортеть это дело на стандартном стиле.

  • Author
comment_28727

У самого такая лабуда была. Дело в стареньком стиле, не адаптированном под 344. Попробуйте пересмортеть это дело на стандартном стиле.

У меня стоит 3.4.2

comment_28732

У меня стоит 3.4.2

А на стандартном стиле проверял???

У меня стоит 3.4.2

А на стандартном стиле проверял???

У меня стоит 3.4.2

А на стандартном стиле проверял???

comment_30146

актуально..

Идем в АЦ-Внешний вид-Ваш стиль-forumIndexTemplate  

и заменяем весь код на этот:

 

{parse js_module="forums"}
<script type="text/javascript">
//<![CDATA[
	//Search Setup
	ipb.vars['search_type']		= 'forum';
	ipb.vars['search_type_id']	= {$this->request['showforum']};
	ipb.templates['topic_rename'] = new Template("<input type='text' id='#{inputid}' value='#{value}' class='input_text' size='50' maxlength='{$this->settings['topic_title_max_len']}' /> <input type='submit' value='{$this->lang->words['rename_topic_update']}' class='input_submit' id='#{submitid}' /> <a href='#' id='#{cancelid}' class='cancel' title='{$this->lang->words['cancel']}'>{$this->lang->words['cancel']}</a>");
	var markerURL  = ipb.vars['base_url'] + "app=forums&module=ajax&section=markasread&i=1"; // Ajax URL so don't use &amp;
	var unreadIcon = "<img src='{$this->settings['img_url']}/f_icon_read.png' />";
	
	ipb.forums.modPerms	  = [];
	<if test="$this->memberData['g_is_supmod']">
		ipb.forums.modPerms['approve'] = 1;
		ipb.forums.modPerms['delete'] = 1;
		ipb.forums.modPerms['hide'] = 1;
		ipb.forums.modPerms['unhide'] = 1;
		ipb.forums.modPerms['pin'] = 1;
		ipb.forums.modPerms['unpin'] = 1;
		ipb.forums.modPerms['open'] = 1;
		ipb.forums.modPerms['close'] = 1;
		ipb.forums.modPerms['move'] = 1;
		ipb.forums.modPerms['merge'] = 1;
	<else />
		<if test="isset( $this->memberData['forumsModeratorData'][ $forum_data['id'] ] )">
			ipb.forums.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['topic_q']};
			ipb.forums.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['delete_topic']};
			ipb.forums.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_soft_delete']};
			ipb.forums.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['bw_mod_un_soft_delete']};
			ipb.forums.modPerms['pin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['pin_topic']};
			ipb.forums.modPerms['unpin'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['unpin_topic']};
			ipb.forums.modPerms['open'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['open_topic']};
			ipb.forums.modPerms['close'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['close_topic']};
			ipb.forums.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['move_topic']};
			ipb.forums.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum_data['id'] ]['split_merge']};
		</if>
	</if>
	
	ipb.templates['topic_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>{$this->lang->words['f_comment_action_count']} </span><select id='tactInPopup' class='input_select'></select>&nbsp;&nbsp;<input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /></div>");
//]]>
</script>
<if test="watchismember:|:$this->memberData['member_id']">
	<if test="hasFollowData:|:$other_data['follow_data']">
		{$other_data['follow_data']}
	</if>
</if>
<h1 class='ipsType_pagetitle'>{$forum_data['name']}</h1>
<div class='ipsType_pagedesc forum_rules'>
	<if test="rules:|:$forum_data['show_rules']">
		<if test="rulesinline:|:$forum_data['show_rules'] == 2">
			<strong>{$forum_data['rules_title']}</strong>
			{$forum_data['rules_text']}
		</if>
		<if test="ruleslink:|:$forum_data['show_rules'] == 1">
			<a href='{parse url="app=forums&amp;module=forums&amp;section=rules&amp;f={$forum_data['id']}" base="public"}' title='{$this->lang->words['view_forum_rules']}'>{$forum_data['rules_title']}</a>
		</if>
	<else />
		{$forum_data['description']}
	</if>
</div>
<br />
<if test="hasannouncements:|:is_array( $announce_data ) AND count( $announce_data )">
	<table class='ipb_table topic_list hover_rows' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='announcements'>
		<foreach loop="announcements:$announce_data as $aid => $adata">
			<tr class='row2 announcement' id='arow_{$adata['announce_id']}'>
				<td>
					<php>$_seoTitle	= $adata['announce_seo_title'] ? $adata['announce_seo_title'] : "%%{$adata['announce_title']}%%";</php>
					{parse replacement="t_announcement"}
					<h4>
						<a href="{parse url="showannouncement={$adata['announce_id']}&amp;f={$forum_data['id']}" seotitle="{$_seoTitle}" template="showannouncement" base="public"}" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a>
					</h4>&nbsp;
					<span class='desc'>{$this->lang->words['posted_by']} {parse template="userHoverCard" group="global" params="$adata"}
						<if test="announcedates:|:$adata['announce_start'] AND $adata['announce_start'] != '--'">, {$adata['announce_start']}</if>
					</span>
				</td>
			</tr>
		</foreach>
	</table>
	<br />
</if>
<!-- __-SUBFORUMS-__ -->
<if test="hassubforums:|:is_array( $sub_forum_data ) AND count( $sub_forum_data )">
	<div class='category_block block_wrap'>
		<h3 class='maintitle'>{$this->lang->words['sub_forum_title']}</h3>
		<div class='ipsBox table_wrap'>
			<div class='ipsBox_container'>
				<table class='ipb_table' summary="{$this->lang->words['cat_subforums']} '{$forum_data['name']}'">
					<foreach loop="subforums:$sub_forum_data as $_data">
						<if test="subforumdata:|:is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )">
							<foreach loop="forums:$_data['forum_data'] as $forum_id => $forum_data">
								<if test="forumRedirect:|:$forum_data['redirect_on']">
									<tr class='redirect_forum' id='f_{$forum_data['id']}'>
										<td class='col_c_icon'>
											<img src='{$this->settings['img_url']}/f_redirect.png' />
										</td>
										<td <if test="canSeeLastInfoRedirect:|:$this->memberData['gbw_view_last_info']">colspan='2'</if> class='col_c_forum'>
											<h4><a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a></h4>
											<p class='desc'>{$forum_data['description']}</p>
										</td>
										<td class='desc'>
											<ul class='last_post ipsType_small'>
												<li class='desc lighter'><em>{parse format_number="$forum_data['redirect_hits']"} {$this->lang->words['rd_hits']}</em></li>
											</ul>
										</td>
									</tr>
								<else />
									<tr class='<if test="$forum_data['_has_unread']">unread</if>'>
										<td class='col_c_icon'>
											<if test="$forum_data['_has_unread']">
												<a id='forum_img_{$forum_data['id']}' href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$this->request['f']}&amp;i=1" base="public"}" data-tooltip="{$this->lang->words['bi_markread']}" class='forum_marker'><img src='{$this->settings['img_url']}/f_icon.png' /></a>
												<script type='text/javascript'>
													ipb.global.registerMarker( "forum_img_{$forum_data['id']}", "{$forum_data['img_new_post']}", markerURL + "&forumid={$forum_data['id']}" );
												</script>
											<else />
												<img src='{$this->settings['img_url']}/f_icon_read.png' />
											</if>
										</td>
										<td class='col_c_forum'>
											<h4>
												<if test="hasQueuedAndCanSeeIcon:|:!empty($forum_data['_has_queued_and_can_see_icon'])">
													<a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['view_unapproved']}' class='ipsBadge ipsBadge_orange' data-tooltip="{parse expression="sprintf( $this->lang->words['f_queued'], $forum_data['queued_topics'], $forum_data['queued_posts'])"}" style='vertical-align: top'>{$this->lang->words['f_queued_badge']}</a>
												</if>
												<a href="{parse url="showforum={$forum_data['id']}" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}" title='{$forum_data['name']}'>{$forum_data['name']}</a>
											</h4>
											
											<if test="showSubForums:|:$forum_data['show_subforums'] AND count( $forum_data['subforums'] ) AND $forum_data['show_subforums']">
												<br />
												<ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'>
													<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">
														<if test="showSubForumsLit:|__data[3]"><li class='unread'><else /><li></if>
															<a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$__data[1]}'>{$__data[1]}</a><if test="isNotLast:|: empty($__data[4] )">,</if>
														</li>
													</foreach>
												</ol>
											</if>
											
											<p class='desc __forum_desc ipsType_small'>{$forum_data['description']}</p>
										</td>
										<td class='col_c_stats ipsType_small'>
											<ul>
												<li><strong>{$forum_data['topics']}</strong> {$this->lang->words['topics']}</li>
												<li><strong>{$forum_data['posts']}</strong> {$this->lang->words['replies']}</li>
											</ul>
										</td>
										<if test="canSeeLastInfoSubs:|:$this->memberData['gbw_view_last_info']">
										<td class='col_c_post'>
											<if test="hideLastInfo:|:$forum_data['hide_last_info']">
												<ul class='last_post ipsType_small'>
													<li class='desc lighter'><em>{$this->lang->words['f_protected']}</em></li>
												</ul>
											<else />
												<if test="hideTopicInTitle:|:$forum_data['_hide_last_date']">
												{parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => '' )"}
												<else />
												{parse template="userSmallPhoto" group="global" params="array('member_id' => $forum_data['last_poster_id'], 'members_seo_name' => $forum_data['seo_last_name'], 'pp_small_photo' => $forum_data['pp_small_photo'], 'alt' => sprintf( $this->lang->words['bindex_userphoto_alt'], $forum_data['last_title'], $forum_data['members_display_name'] ) )"}
												</if>
												<ul class='last_post ipsType_small'>
													<if test="!$forum_data['last_id']">
														<li class='desc lighter'><em>{$this->lang->words['f_none']}</em></li>
													<else />
														<li>{$forum_data['last_topic_title']}</li>
														<if test="lastPosterID:|:$forum_data['last_poster_id']">
															<li>{$this->lang->words['by_ucfirst']} {parse template="userHoverCard" group="global" params="$forum_data"}</li>
														</if>
														<if test="hideDateUrl:|:$forum_data['_hide_last_date']">
															<li class='desc lighter blend_links'>{parse date="$forum_data['last_post']" format="DATE"}</li>
														<else />
															<li class='desc lighter blend_links'><a href='{parse url="showtopic={$forum_data['last_id']}&amp;view=getlastpost" base="public" template="showtopic" seotitle="{$forum_data['seo_last_title']}"}' title='{$this->lang->words['view_last_post']}'>{parse date="$forum_data['last_post']" format="DATE"}</a></li>
														</if>
													</if>
												</ul>
											</if>
										</td>
										</if>
									</tr>
								</if>
							</foreach>
						</if>
					</foreach>
				</table>
			</div>
		</div>
	</div>
	<br /><br />
</if>
<if test="showtopics:|:$forum_data['sub_can_post']">
	<div class='topic_controls clearfix'>
		{$forum_data['SHOW_PAGES']}
		<ul class='topic_buttons'>
			<if test="usercanpost:|:$forum_data['_user_can_post']">
				<li><a href='{parse url="module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' accesskey='s'>{$this->lang->words['topic_start']}</a></li>
			<else />
				<li class='disabled'><span><if test="isGuestPostTopicTop:|: ! $this->memberData['member_id']">{$this->lang->words['forum_no_start_topic_guest']}<else />{$this->lang->words['forum_no_start_topic']}</if></span></li>
			</if>
			<if test="moderationDropdownLink:|:$this->memberData['is_mod'] == 1">
				<li class='non_button'>
					<a href='#' id='forum_mod_options' class='ipbmenu'>{$this->lang->words['forum_management']}</a>
				</li>
			</if>
			<li class='non_button'>
				<a data-clicklaunch="forumMarkRead" data-fid="{$forum_data['id']}" href='{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=forum&amp;forumid={$forum_data['id']}&amp;returntoforumid={$forum_data['id']}" base="public"}' title='{$this->lang->words['mark_as_read']}'><img src='{$this->settings['img_url']}/icon_check.png' /> &nbsp;{$this->lang->words['mark_as_read']}</a>
			</li>
		</ul>
		
		
	</div>
	
	<if test="moderationDropdownMenu:|:$this->memberData['is_mod'] == 1">
		<ul class='ipbmenu_content' id='forum_mod_options_menucontent' style='display: none'>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=unapproved" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_unapproved']}'>{$this->lang->words['mod_unapproved']}</a></li>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;modfilter=hidden" seotitle="{$forum_data['name_seo']}" template="showforum" base="public"}' title='{$this->lang->words['mod_hidden']}'>{$this->lang->words['mod_hidden']}</a></li>
			<if test="$this->memberData['g_is_supmod']">
				<li><a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=prune_start&amp;f={$forum_data['id']}&amp;auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['mod_prumemovetopics']}'>{$this->lang->words['mod_prumemovetopics']}</a></li>
			</if>
		</ul>
	</if>
	<div class='ipsFilterbar maintitle'>
		<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
			<span class='right'>
				<input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' />
				&nbsp;
			</span>
		</if>
		
		<ul class='ipsList_inline ipsType_small'>
			<li <if test="ka_last_post:|:$this->request['sort_key'] == 'last_post' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=last_post&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_recent']}</a></li>
			<li <if test="ka_start_date:|:$this->request['sort_key'] == 'start_date' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=start_date&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_start']}</a></li>
			<li <if test="ka_replies:|:$this->request['sort_key'] == 'posts' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=posts&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_replies']}</a></li>
			<li <if test="ka_viewed:|:$this->request['sort_key'] == 'views' and $this->request['sort_by'] == 'Z-A'">class='active'</if>><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key=views&amp;sort_by=Z-A" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['sort_views']}</a></li>
			<li <if test="$this->request['sort_by'] == 'A-Z' or !in_array( $this->request['sort_key'], array( 'last_post', 'start_date', 'posts', 'views' ) )">class='active'</if>><a href='#forum_filter_menucontent' id='forum_filter'>{$this->lang->words['sort_custom']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /></a></li>
			<if test="answerLink:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )">
				<li <if test="ka_viewed:|:isset($this->request['answered'])">class='active'</if>><a href="#filter_answered_menucontent" id='filter_answered'>{$this->lang->words['tmenu_answered_link']} <img src="{$this->settings['img_url']}/useropts_arrow.png" /></a></li>
			</if>
		</ul>
	</div>
	<if test="answerMenu:|:$this->registry->class_forums->answerTopicsEnabled( $forum_data['id'] )">
		<ul id='filter_answered_menucontent' class='ipbmenu_content' style='display: none'>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key={$this->request['sort_key']}&amp;sort_by={$this->request['sort_by']}&amp;answered=true" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_answered']}</a></li>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key={$this->request['sort_key']}&amp;sort_by={$this->request['sort_by']}&amp;answered=false" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_unanswered']}</a></li>
			<li><a href='{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;sort_key={$this->request['sort_key']}&amp;sort_by={$this->request['sort_by']}" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}' rel='nofollow'>{$this->lang->words['tmenu_show_all']}</a></li>
		</ul>
		<script type='text/javascript'>
			new ipb.Menu( $('filter_answered'), $('filter_answered_menucontent'), { stopClose: true } );
		</script>
	</if>
	<div id='forum_filter_menucontent' class='ipbmenu_content ipsPad' style='display: none'>
		<form id='filter_form' action="{parse url="showforum={$forum_data['id']}&amp;st={$this->request['st']}&amp;changefilters=1" base="public" seotitle="{$forum_data['name_seo']}" template="showforum"}" method="post">
			<strong>{$this->lang->words['filter_type']}</strong><br />
			<select name="topicfilter" id='topic_filter' class='input_select'>{$footer_filter['topic_filter']}</select>
			<br /><br />
		
			<strong>{$this->lang->words['filter_sort']}</strong><br />
			<select name="sort_key" id='sort_by' class='input_select'>{$footer_filter['sort_by']}</select>
			<br /><br />
		
			<strong>{$this->lang->words['filter_direction']}</strong><br />
			<select name="sort_by" id='direction' class='input_select'>{$footer_filter['sort_order']}</select>
			<br /><br />
		
			<strong>{$this->lang->words['filter_time']}</strong><br />
			<select name="prune_day" id='time_frame' class='input_select'>{$footer_filter['sort_prune']}</select>
			<br /><br />
		
			<input type='checkbox' value='1' name='remember' class='input_check' id='remember_filter' /> <label for='remember_filter'>{$this->lang->words['remember_options']}</label>
			<br /><br />
			
			<input type="submit" value="{$this->lang->words['sort_submit']}" class="input_submit" />
		</form>
	</div>
	<script type='text/javascript'>
		new ipb.Menu( $('forum_filter'), $('forum_filter_menucontent'), { stopClose: true } );
	</script>
	<div class='ipsBox'>
		<div class='ipsBox_container'>
			<table class='ipb_table topic_list hover_rows <if test="topicsismod:|:$this->memberData['is_mod'] == 1">is_mod</if>' summary='{$this->lang->words['forum_topic_list']} "{$forum_data['name']}"' id='forum_table'>
				<tr class='header hide'>
					<th scope='col' class='col_f_icon'>&nbsp;</th>
					<th scope='col' class='col_f_topic'>{$this->lang->words['forum_topic']}</th>
					<th scope='col' class='col_f_starter short'>{$this->lang->words['forum_started_by']}</th>
					<th scope='col' class='col_f_views stats'>{$this->lang->words['forum_stats']}</th>
					<if test="canSeeLastInfoHeader:|:$this->memberData['gbw_view_last_info']"><th scope='col' class='col_f_post'>{$this->lang->words['forum_last_post_info']}</th></if>
					<if test="topicsismod:|:$this->memberData['is_mod'] == 1">
						<th scope='col' class='col_f_mod short'><input type='checkbox' id='tmod_all' class='input_check' title='{$this->lang->words['topic_select_all']}' value='1' /></th>
					</if>
				</tr>	
				<!-- BEGIN TOPICS -->
				<if test="hastopics:|:is_array( $topic_data ) AND count( $topic_data )">
					<foreach loop="topics:$topic_data as $tid => $data">
						{parse template="topic" group="forum" params="$data, $forum_data, $other_data, $inforum"}
					</foreach>
				<else />
					<tr> 
						<if test="notopicsspan:|:$this->memberData['is_mod'] == 1">
							<td colspan='6' class='no_messages'>
						<else />
							<td colspan='5' class='no_messages'>
						</if>
							{$this->lang->words['no_topics']}
						</td>
					</tr>
				</if>
			</table>
			<if test="hastopics:|:$other_data['hasMore']">
				<div id='more_topics' style='display: none'>
					<a href='#' id='forum_load_more'>{$this->lang->words['load_more_topics']}</a>
				</div>
				<script type='text/javascript'>
					ipb.forums.fetchMore = {
						'f': parseInt("{$this->request['showforum']}")	,
						'page': parseInt("{$this->request['page']}"),
						'sort_by': "{$this->request['sort_by']}",
						'sort_key': "{$this->request['sort_key']}",
						'topicfilter': "{$this->request['topicfilter']}",
						'prune_day': "{$this->request['prune_day']}",
						'max_topics': "{$this->settings['display_max_topics']}"
					};
				</script>
			</if>
		</div>
	</div>
		
	<br />
	<div class='topic_controls clear'>
		{$forum_data['SHOW_PAGES']}
		<ul class='topic_buttons'>
			<if test="bottomusercanpost:|:$forum_data['_user_can_post']">
				<li><a href='{parse url="module=post&amp;section=post&amp;do=new_post&amp;f={$forum_data['id']}" base="publicWithApp"}' title='{$this->lang->words['topic_start']}' rel='nofollow' accesskey='s'>{$this->lang->words['topic_start']}</a></li>
			<else />
				<li class='disabled'><span><if test="isGuestPostTopic:|: ! $this->memberData['member_id']">{$this->lang->words['forum_no_start_topic_guest']}<else />{$this->lang->words['forum_no_start_topic']}</if></span></li>
			</if>
		</ul>
	</div>
	<br class='clear' />	
	<div id='forum_footer' class='statistics clear clearfix'>
		<if test="hasmoderators:|:is_array( $mod_data ) AND count( $mod_data )">
			<div id='forum_led_by' class='right ipsType_small'>
				<img src='{$this->settings['img_url']}/icon_users.png' /> &nbsp;{$this->lang->words['forum_led_by']}
				<foreach loop="moderators:$mod_data as $p => $r">
					<a href='{$r[0]}' title='{$this->lang->words['view_profile']}'>{$r[1]}</a><if test="moderatorpopup:|:$r[2]"></if><if test="moderatorscomma:|:$p + 1 != count( $mod_data )">,</if>
				</foreach>
			</div>
		</if>
		<if test="showactiveusers:|:is_array( $active_user_data ) AND count( $active_user_data )">
			<div id='forum_active_users' class='active_users stats_list'>
				<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_titlef'], $active_user_data['stats']['total'] )"}</h4>
				<p class='statistics_brief'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $active_user_data['stats']['members'], $active_user_data['stats']['guests'], $active_user_data['stats']['anon'] )"}</p>
				<br />
				<ul class='ipsList_inline'>
					<if test="hasactiveusers:|:is_array( $active_user_data['names'] ) AND count( $active_user_data['names'] )">
						{parse expression="implode( ', ', $active_user_data['names'] )"}
					</if>
				</ul>
			</div>
		</if>	
	</div>
</if>
<br class='clear' />
	
<div id='delPopUp' style='display:none'>
	<h3 class='bar'>{$this->lang->words['dlt_title']}</h3>
	<div class='general_box'>
		<form action='#{removeUrl}' method='POST'>
			<strong>{$this->lang->words['dlt_remove_from_view']}</strong>
			<p class='desc'>{$this->lang->words['dlt_remove_from_view_desc']}</p>
			<p style='padding:4px 0px 4px 0px'>{$this->lang->words['dlt_reason']} <input type='text' name='deleteReason' id='delPop_reason' value='' style='width:65%' /> <input type='submit' class='input_submit' value='{$this->lang->words['dlt_remove']}' /></p>
		</form>
		<div style='#{permaDelete}padding-top:5px'>
			<strong>{$this->lang->words['dlt_delete_from_topic']}</strong>
			<p class='desc'>{$this->lang->words['dlt_delete_from_topic_desc']}</p>
			<p style='padding:4px 0px 4px 0px'><input type='button' class='input_submit' onclick="window.location='#{permaUrl}';" value='{$this->lang->words['dlt_delete_now']}' /></p>
		</div>
	</div>
</div>
<if test="moderationform:|:$this->memberData['is_mod'] == 1">
	<form id='modform' class='right' method="post" action="{parse url="" base="public"}">
		<input type="hidden" name="app" value="forums" />
		<input type="hidden" name="module" value="moderate" />
		<input type="hidden" name="section" value="moderate" />
		<input type="hidden" name="do" value="topicchoice" />
		<input type="hidden" name="st" value="{$this->request['st']}" />
		<input type="hidden" name="f" value="{$forum_data['id']}" />
		<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
		<input type="hidden" name="modfilter" value="{$this->request['modfilter']}" />
		<input type="hidden" value="{$this->request['selectedtids']}" id='selectedtids' name="selectedtids" />
		<input type="hidden" name="tact" id="tact" value="" />
	</form>
</if>
<select style='display:none' id='multiModOptions'>
<if test="hasMultiModeratorOptions:|:is_array( $multi_mod_data ) AND count( $multi_mod_data )">
	<foreach loop="mm:$multi_mod_data as $mm_data">
		<option value="t_{$mm_data[0]}">{$mm_data[1]}</option>
	</foreach>
</if>
</select> 

 

открываем topicViewTemplate и заменяем все на этот код:

<if test="allowRating:|:$forum['forum_allow_rating']">
{parse js_module="rating"}
</if>
{parse js_module="topic"}
<script type="text/javascript">
//<![CDATA[
	ipb.topic.inSection    = 'topicview';
	ipb.topic.topic_id     = {$topic['tid']};
	ipb.topic.forum_id     = {$forum['id']};
	ipb.topic.redirectPost = 1;
	ipb.topic.start_id     = {parse expression="$this->registry->getClass('topics')->pageToSt( intval($this->request['page']) )"};
	ipb.topic.page_id      = {parse expression="intval($this->request['page'])"};
	ipb.topic.topPid       = 0;
	ipb.topic.counts       = { postTotal: {parse expression="intval($topic['posts']+1)"},
							  curStart:  ipb.topic.start_id,
							  perPage:   {parse expression="intval($this->settings['display_max_posts'])"} };
	//Search Setup
	ipb.vars['search_type']			= 'forum';
	ipb.vars['search_type_id']		= {$forum['id']};
	ipb.vars['search_type_2']		= 'topic';
	ipb.vars['search_type_id_2']	= {$topic['tid']};
	
	<if test="canDeleteUrls:|:!$this->member->is_not_human">
	// Delete stuff set up
	ipb.topic.deleteUrls['hardDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate&section=moderate&do=04&f={$forum['id']}&t={$topic['tid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&p=#{pid}" );
	ipb.topic.deleteUrls['softDelete'] = new Template( ipb.vars['base_url'] + "app=forums&module=moderate&section=moderate&do=postchoice&tact=sdelete&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}&selectedpids[#{pid}]=#{pid}&pid=#{pid}" );
	</if>
	
	ipb.topic.modPerms	  = [];
	<if test="$this->memberData['g_is_supmod']">
		ipb.topic.modPerms['approve'] = 1;
		ipb.topic.modPerms['delete'] = 1;
		ipb.topic.modPerms['hide'] = 1;
		ipb.topic.modPerms['unhide'] = 1;
		ipb.topic.modPerms['merge'] = 1;
		ipb.topic.modPerms['split'] = 1;
		ipb.topic.modPerms['move'] = 1;
	<else />
		<if test="isset( $this->memberData['forumsModeratorData'][ $forum['id'] ] )">
			ipb.topic.modPerms['approve'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['post_q']};
			ipb.topic.modPerms['delete'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['delete_post']};
			ipb.topic.modPerms['hide'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_soft_delete']};
			ipb.topic.modPerms['unhide'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_un_soft_delete']};
			ipb.topic.modPerms['merge'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['split_merge']};
			ipb.topic.modPerms['split'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['split_merge']};
			ipb.topic.modPerms['move'] = {$this->memberData['forumsModeratorData'][ $forum['id'] ]['split_merge']};
		</if>
	</if>
	
	ipb.templates['post_moderation'] = new Template("<div id='comment_moderate_box' class='ipsFloatingAction' style='display: none'><span class='desc'>{$this->lang->words['comment_action_count']} </span><select id='tactInPopup' class='input_select'><option value='approve'>{$this->lang->words['cpt_approve']}</option><option value='delete'>{$this->lang->words['cpt_hide']}</option><option value='sundelete'>{$this->lang->words['cpt_undelete']}</option><option value='deletedo'>{$this->lang->words['cpt_delete']}</option><option value='merge'>{$this->lang->words['cpt_merge']}</option><option value='split'>{$this->lang->words['cpt_split']}</option><option value='move'>{$this->lang->words['cpt_move']}</option></select>&nbsp;&nbsp;<input type='button' class='input_submit' id='submitModAction' value='{$this->lang->words['comments_act_go']}' /></div>");
	
//]]>
</script>
<if test="disablelightbox:|:!$this->settings['disable_lightbox']">
{parse template="include_lightbox" group="global" params=""}
</if>
<if test="followsismember:|:$this->memberData['member_id']">
{$displayData['follow_data']}
</if>
{parse template="userSmallPhoto" group="global" params="array_merge( $topic['_starter'], array( '_customClass' => 'ipsUserPhoto_medium' ) )"}
<div itemscope itemtype="__schema.org/Article" class='ipsBox_withphoto'>
	<if test="topicRating:|:$forum['forum_allow_rating']">
		<span itemprop="aggregateRating" itemscope itemtype="__schema.org/AggregateRating" class='rating ipsType_smaller'>
			<if test="$topic['_allow_rate']">
				<strong>{$this->lang->words['js_rate_me']}</strong>&nbsp;&nbsp;
			</if>
			<if test="$topic['_allow_rate']">
				<a href='{parse url="app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=1&amp;secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_1' title='{$this->lang->words['top_js_1star']}'>
			</if>
			<if test="rate1:|:$topic['_rate_int'] >= 1">
				{parse replacement="rate_on"}
			<else />
				{parse replacement="rate_off"}
			</if>
			<if test="$topic['_allow_rate']">
				</a><a href='{parse url="app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=2&amp;secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_2' title='{$this->lang->words['top_js_2star']}'>
			</if>
			<if test="rate2:|:$topic['_rate_int'] >= 2">
				{parse replacement="rate_on"}
			<else />
				{parse replacement="rate_off"}
			</if>
			<if test="$topic['_allow_rate']">
				</a><a href='{parse url="app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=3&amp;secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_3' title='{$this->lang->words['top_js_3star']}'>
			</if>
			<if test="rate3:|:$topic['_rate_int'] >= 3">
				{parse replacement="rate_on"}
			<else />
				{parse replacement="rate_off"}
			</if>
			<if test="$topic['_allow_rate']">
				</a><a href='{parse url="app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=4&amp;secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_4' title='{$this->lang->words['top_js_4star']}'>
			</if>
			<if test="rate4:|:$topic['_rate_int'] >= 4">
				{parse replacement="rate_on"}
			<else />
				{parse replacement="rate_off"}
			</if>
			<if test="$topic['_allow_rate']">
				</a><a href='{parse url="app=forums&amp;module=extras&amp;section=rating&amp;t={$topic['tid']}&amp;rating=5&amp;secure_key={$this->member->form_hash}" base="public"}' id='topic_rate_5' title='{$this->lang->words['top_js_5star']}'>
			</if>
			<if test="rate5:|:$topic['_rate_int'] >= 5">
				{parse replacement="rate_on"}
			<else />
				{parse replacement="rate_off"}
			</if>
			<if test="$topic['_allow_rate']">
				</a>
			</if>
			<span id='rating_text'>
				<if test="hasRates:|:$topic['topic_rating_hits'] > 0">
					<span itemprop="ratingCount" id='rating_hits'>{$topic['topic_rating_hits']}</span> <span>{$this->lang->words['poll_s_votes']}</span>
					<meta itemprop="ratingValue" content="{parse expression="floor($topic['_rate_int'])"}" />
				</if>
			</span>
			<if test="$topic['_allow_rate']">
				<script type='text/javascript'>
				//<![CDATA[
					rating = new ipb.rating( 'topic_rate_', { 
										url: ipb.vars['base_url'] + 'app=forums&module=ajax&section=topics&do=rateTopic&t={$topic['tid']}&md5check=' + ipb.vars['secure_hash'],
										cur_rating: {$topic['_rate_int']},
										rated: <if test="jsHasRates:|:$topic['_rating_value'] != -1">1<else />0</if>,
										allow_rate: {$topic['_allow_rate']},
										multi_rate: 1,
										show_rate_text: true
									  } );
				//]]>
				</script>
			</if>
		</span>
	</if>
	<h1 itemprop="name" class='ipsType_pagetitle'>{$topic['title']}</h1>
	<div class='desc lighter blend_links'>
		 {$this->lang->words['started_by']} <span itemprop="creator">{parse template="userHoverCard" group="global" params="$topic['_starter']"}</span>, <span itemprop="dateCreated" datetime="{parse date="$topic['start_date']" format="YMD" relative="false"}">{parse date="$topic['start_date']" format="SHORT"}</span>
	</div>
	<if test="hasTags:|:is_array($topic['tags'])">
		{$topic['tags']['formatted']['parsedWithoutComma']}
		<br />
	</if>
	<meta itemprop="interactionCount" content="UserComments:{parse expression="intval($topic['posts'] + 1)"}" />
</div>
<if test="$displayData['best_answer_post_data']">
<br />
<div class='post post_block feature_box'>
	<if test="canSeeProfiles1:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $displayData['best_answer_post_data']['author'] ) )">
	<a itemprop="url" href="{parse url="showuser={$displayData['best_answer_post_data']['author']['member_id']}" template="showuser" seotitle="{$displayData['best_answer_post_data']['author']['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$displayData['best_answer_post_data']['author']['members_display_name']}" class='ipsUserPhotoLink'>
	</if>
	<img itemprop="image" src='{$displayData['best_answer_post_data']['author']['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_medium left' />
	<if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $displayData['best_answer_post_data']['author'] ) )">
	</a>
	</if>
	<div class="ipsBox_withphoto">
	<p class='ipsType_sectiontitle'>
		<span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span>
		{parse template="userHoverCard" group="global" params="$displayData['best_answer_post_data']['author']"},
		<if test="samePageBA:|:isset($post_data[ $displayData['best_answer_post_data']['post']['pid'] ])">
			<if test="hasPagesBA:|:$this->request['page']">
				<a href='{parse url="showtopic={$topic['tid']}&amp;page={$this->request['page']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'>{parse date="$displayData['best_answer_post_data']['post']['post_date']" format="long"}</a>
			<else />
				<a href='{parse url="showtopic={$topic['tid']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'>{parse date="$displayData['best_answer_post_data']['post']['post_date']" format="long"}</a>
			</if>
		<else />
			<a href="{parse url="app=forums&amp;module=forums&amp;section=findpost&amp;pid={$displayData['best_answer_post_data']['post']['pid']}" base="public"}">{parse date="$displayData['best_answer_post_data']['post']['post_date']" format="long"}</a>
		</if>
	</p>
	<p class='ipsPad_top desc'>
		{$displayData['best_answer_post_data']['post']['post']} 
		<if test="samePageBA2:|:isset($post_data[ $displayData['best_answer_post_data']['post']['pid'] ])">
			<if test="hasPagesBA2:|:$this->request['page']">
				<a href='{parse url="showtopic={$topic['tid']}&amp;page={$this->request['page']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'>
			<else />
				<a href='{parse url="showtopic={$topic['tid']}{$post_data[ $displayData['best_answer_post_data']['post']['pid'] ]['post']['PermalinkUrlBit']}#entry{$displayData['best_answer_post_data']['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}'>
			</if>
		<else />
			<a href="{parse url="app=forums&amp;module=forums&amp;section=findpost&amp;pid={$displayData['best_answer_post_data']['post']['pid']}" base="public"}">
		</if>
			<span class='ipsBadge has_icon ipsBadge_lightgrey'>{$this->lang->words['answer_gotopost']} <img class='icon' src="{$this->settings['img_url']}/right_white_10px.png"></span></a>
	</p>
	</div>
</div>
</if>
<if test="topicHasBeenHidden:|:$topic['approved'] == -1">
	<br />
	<div class='message error'>
		{parse expression="sprintf( $this->lang->words['tdb__forumindex'], $this->registry->output->getTemplate('global')->userHoverCard($topic['sdData']) )"} {parse date="$topic['sdData']['sdl_obj_date']" format="long"}
		<if test="showReason:|:$this->registry->getClass('class_forums')->canSeeSoftDeleteReason( $forum['id'] )">
			<br /><span><if test="$topic['sdData']['sdl_obj_reason']">{$topic['sdData']['sdl_obj_reason']}<else />{$this->lang->words['tdb__noreasongi']}</if></span>
		</if>
		<br /><br />
		<if test="tbdSoftRestore:|:$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['bw_mod_un_soft_delete_topic']">
			<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum['id']}&amp;t={$topic['tid']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;do=sundelete" base="public"}' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['dl_ths_restore']}</a>
		</if>
		<if test="tbdRestore:|:$this->memberData['g_is_supmod'] == 1 || $this->memberData['forumsModeratorData'][ $forum['id'] ]['delete_topic']">
			<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;f={$forum['id']}&amp;page={$this->request['page']}&amp;t={$topic['tid']}&amp;auth_key={$this->member->form_hash}&amp;do=08" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary important'>{$this->lang->words['dl_ths_delete']}</a>
		</if>
	</div>
</if>
<if test="topicHasBeenDeleted:|:$topic['approved'] == 2">
	<br />
	<div class='message error'>
		{$this->lang->words['topic_deleted']}
		<br /><br />
		<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=topic_restore&amp;t={$topic['tid']}&amp;f={$forum['id']}&amp;auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['dl_ths_restore']}' class='ipsButton_secondary'>{$this->lang->words['restore_post']}</a>
		<a href='{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;do=09&amp;t={$topic['tid']}&amp;f={$forum['id']}&amp;auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['dl_ths_delete']}' class='ipsButton_secondary'>{$this->lang->words['perm_delete_post']}</a>
	</div>
</if>
<br />
<div class='topic_controls'>
	{$topic['SHOW_PAGES']}
	<if test="isArchivedPostBox:|:$topic['_isArchived']">
		{parse template="archiveStatusMessage" group="topic" params="$topic,$forum"}
	<else />
		<ul class='topic_buttons'>
			<if test="closedButton:|:$displayData['reply_button']['image'] == 'locked'">
				<li class='important'>
					<if test="pollOnly:|:isset($displayData['poll_data']['poll']['poll_only']) && $displayData['poll_data']['poll']['poll_only']">
						<if test="closedButtonLink:|:$displayData['reply_button']['url']">
							<a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only_reply']}</a>
						<else />
							<span>{parse replacement="lock_icon"} {$this->lang->words['top_poll_only']}</span>
						</if>
					<else />
						<if test="closedButtonLink:|:$displayData['reply_button']['url']">
							<a href='{$displayData['reply_button']['url']}' accesskey='r'>{parse replacement="lock_icon"} {$this->lang->words['top_locked_reply']}</a>
						<else />
							<span>{parse replacement="lock_icon"} {$this->lang->words['top_locked']}</span>
						</if>
					</if>
				</li>
			<else />
				<if test="replyButton:|:$displayData['reply_button']['image']">
					<if test="replyButtonLink:|:$displayData['reply_button']['url']">
						<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['topic_add_reply']}' accesskey='r'>{$this->lang->words['topic_add_reply']}</a></li>
					<else />
						<li class='disabled'><span><if test="isMemberTop:|: ! $this->memberData['member_id']">{$this->lang->words['topic_no_reply_guest']}<else />{$this->lang->words['top_cannot_reply']}</if></span></li>
					</if>
				</if>
			</if>
			<if test="topicDescription:|:$topic['hasUnreadPosts'] AND ( $topic['posts'] + 1 ) > $this->settings['display_max_posts']">
				<li class='non_button'><a href='{parse url="showtopic={$topic['tid']}&amp;view=getnewpost" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' title='{$this->lang->words['first_unread_post']}'>{$this->lang->words['go_to_first_unread']}</a></li>
			</if>
			<if test="modOptions:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )">
				<li class='non_button'><a href='#' id='topic_mod_options' title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a></li>
			</if>
		</ul>	
	</if>
</div>
<if test="modOptionsDropdown:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )">
<ul class='ipbmenu_content' id='topic_mod_options_menucontent'  style='display:none'>
	<foreach loop="mod_links:$displayData['mod_links'] as $_mod_link">
		<li><a <if test="isDelete:|_mod_link['option'] == '08'"> data-confirmaction="true"</if> href="{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do={$_mod_link['option']}" base="public"}" class='modlink_{$_mod_link['option']}'>{$_mod_link['value']}</a></li>
	</foreach>
	<if test="$topic['topic_queuedposts'] AND $this->registry->class_forums->canQueuePosts( $forum['id'] )">
		<li><a href="{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_approve" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_approve'], $topic['topic_queuedposts'])"}</a></li>
	</if>
	<if test="$topic['topic_queuedposts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )">
		<li><a href="{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_delete_approve" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_delete_approve'], $topic['topic_queuedposts'])"}</a></li>
	</if>
	<if test="$this->registry->class_forums->can_Un_SoftDeletePosts( $forum['id'] ) AND $topic['topic_deleted_posts']">
		<li><a href="{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_restore" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_restore'], $topic['topic_deleted_posts'])"}</a></li>
	</if>
	<if test="$topic['topic_deleted_posts'] AND $this->registry->class_forums->canHardDeletePosts( $forum['id'], $topic )">
		<li><a href="{parse url="app=forums&amp;module=moderate&amp;section=moderate&amp;t={$topic['tid']}&amp;f={$topic['forum_id']}&amp;page={$this->request['page']}&amp;auth_key={$this->member->form_hash}&amp;_fromTopic=1&amp;do=p_delete_softed" base="public"}">{parse expression="sprintf( $this->lang->words['nmo_p_delete_softed'], $topic['topic_deleted_posts'])"}</a></li>	
	</if>
	<if test="mmModOptions:|:is_array( $displayData['multi_mod'] ) AND count( $displayData['multi_mod'] )">
		<foreach loop="mm:$displayData['multi_mod'] as $mm_data">
			<li><a href="{parse url="app=forums&amp;module=moderate&amp;section=multimod&amp;t={$topic['tid']}&amp;mm_id={$mm_data[0]}" base="public"}">{$mm_data[1]}</a></li>
		</foreach>
	</if>
</ul>
<script type='text/javascript'>
	document.observe("dom:loaded", function()
	{
		new ipb.Menu( $('topic_mod_options'), $('topic_mod_options_menucontent') );
	} );
</script>
</if>
<div class='maintitle clear clearfix'>
	<span class='ipsType_small'>
		<if test="$topic['posts']">
			{parse expression="sprintf( ( $topic['posts'] > 1 ) ? $this->lang->words['x_replies_to_topic'] : $this->lang->words['x_reply_to_topic'], $topic['posts'] )"}
		<else />
			{$this->lang->words['no_replies_to_topic']}
		</if>
	</span>
	<if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])">
		<a href='#rep_filter_menucontent' id='rep_filter' class='right ipsType_smaller'>
			<if test="repFilterDefault:|:$this->memberData['_members_cache']['rep_filter'] && $this->memberData['_members_cache']['rep_filter'] === '*'">
				{$this->lang->words['rep_f_viewing_all']}
			<else />
				{parse expression="sprintf( $this->lang->words['rep_f_hiding'], $this->memberData['_members_cache']['rep_filter'] )"}
			</if>
			<img src='{$this->settings['img_url']}/useropts_arrow.png' />
		</a>
	</if>	
</div>
<if test="reputationFilter:|:$this->settings['reputation_enabled'] && $this->settings['reputation_point_types'] != 'like' && $this->settings['reputation_show_content'] && $this->memberData['member_id'] != 0 && is_array($this->caches['reputation_levels'])">
	<ul id='rep_filter_menucontent' class='ipbmenu_content with_checks' style='display: none'>
		<li <if test="optSelectStar:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $this->memberData['_members_cache']['rep_filter'] === '*'">class='selected'</if>>
			<a href='{parse url="app=forums&amp;module=forums&amp;section=topics&amp;rep_filter=update&amp;f={$topic['forum_id']}&amp;t={$topic['tid']}&amp;secure_key={$this->member->form_hash}&amp;page={$this->request['page']}&amp;rep_filter_set=*" base="public"}'>{$this->lang->words['rep_f_all_posts']}</a>
		</li>
		<if test="repFilterOptions:|:is_array($this->caches['reputation_levels'])">
			<foreach loop="reputation_levels:$this->caches['reputation_levels'] as $k => $v">
				<li <if test="optRepFilterSelected:|:isset( $this->memberData['_members_cache']['rep_filter'] ) AND $v['level_points'] == $this->memberData['_members_cache']['rep_filter']">class='selected'</if>>
					<a href='{parse url="app=forums&amp;module=forums&amp;section=topics&amp;rep_filter=update&amp;f={$topic['forum_id']}&amp;t={$topic['tid']}&amp;secure_key={$this->member->form_hash}&amp;page={$this->request['page']}&amp;rep_filter_set={$v['level_points']}" base="public"}' rel='nofollow'>
						{$this->lang->words['rep_f_hide']} <strong>{$v['level_points']} {$this->lang->words['rep_f_points']}</strong>
					</a>
				</li>
			</foreach>
		</if>
	</ul>
	<script type='text/javascript'>
		new ipb.Menu( $('rep_filter'), $('rep_filter_menucontent') );
	</script>
</if>
<div class='topic hfeed clear clearfix'>
	
	{$displayData['poll_data']['html']}
<if test="hasPosts:|:is_array( $post_data ) AND count( $post_data )">
	<div class='ipsBox'>
		<div class='ipsBox_container' id='ips_Posts'>
			<foreach loop="post_data:$post_data as $post">
				{parse template="post" group="topic" params="$post, $displayData, $topic, $forum"}
			</foreach>
		</div>
	</div>
</if>
<hr />
<div class='topic_controls clear ipsPad_top_bottom_half'>
	<if test="$topic['SHOW_PAGES']">
		<div class='left'>{$topic['SHOW_PAGES']}</div>
	</if>
	<div class='ipsPad_top_slimmer right'>
		<if test="modOptions2:|:$displayData['mod_links'] AND ( $this->memberData['is_mod'] OR $this->memberData['member_id'] == $topic['starter_id'] )">
			<a href='#' id='topic_mod_options_alt'  class="ipsType_small desc" title='{$this->lang->words['topic_moderation']}'>{$this->lang->words['topic_moderation']}</a> &middot;
		</if>
		<a href='{parse url="showforum={$forum['id']}" template="showforum" seotitle="{$forum['name_seo']}" base="public"}' class="ipsType_small desc">{parse expression="sprintf( $this->lang->words['go_back_to'], $forum['name'] )"}</a>
		<if test="hasUnreadNext:|:$forum['_hasUnreadTopics']">
			&middot; <a href='{parse url="showtopic={$topic['tid']}&amp;view=getnextunread" template="showtopicnextunread" seotitle="{$topic['title_seo']}" base="public"}' class="ipsType_small desc">{$this->lang->words['goto_next_unread_topic']}</a>
		</if>
	</div>	
</div>
<if test="fastReply:|:$displayData['fast_reply'] && $displayData['reply_button']['url']">
<hr />
<div class='ipsBox' id='fast_reply_wrapper'>
	<div class='ipsBox_container ipsPad'>
		<h1 class='ipsType_subtitle'>{$this->lang->words['topic_add_reply']}</h1>
		<if test="isLockedFR:|:$topic['state'] == 'closed'"><span class='error'>{$this->lang->words['locked_reply_fr']}</span><br /></if>
		<br />
		<if test="isMember:|:$this->memberData['member_id']">
			<a href="{parse url="showuser={$this->memberData['member_id']}" seotitle="{$this->memberData['members_seo_name']}" template="showuser" base="public"}" title='{$this->lang->words['your_profile']}' class='ipsUserPhotoLink left'><img src='{$this->memberData['pp_small_photo']}' alt="{parse expression="sprintf($this->lang->words['users_photo'],$this->memberData['members_display_name'])"}" class='ipsUserPhoto ipsUserPhoto_medium' /></a>
		<else />
			<div class='left'>{IPSMember::buildNoPhoto(0, 'small' )}</div>
		</if>
		<div class='ipsBox_withphoto clearfix'>
			<form action="{parse url="" base="public"}" method="post" id='ips_fastReplyForm'>
				<input type="hidden" name="app" value="forums" />
				<input type="hidden" name="module" value="post" />
				<input type="hidden" name="section" value="post" />
				<input type="hidden" name="do" value="reply_post_do" />
				<input type="hidden" name="f" value="{$forum['id']}" />
				<input type="hidden" name="t" value="{$topic['tid']}" />
				<input type="hidden" name="st" value="{$this->request['st']}" />
				<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
				<input type="hidden" name="fast_reply_used" value="1" />
				<input type="hidden" name="enableemo" value="yes" />
				<input type="hidden" name="enablesig" value="yes" />
				<if test="$this->memberData['auto_track']">
					<input type="hidden" name="enabletrack" value="1" />
				<else />
					<input type="hidden" name="enabletrack" value="{$topic['_isLiked']}" />
				</if>
				<if test="is_array($topic['_fastReplyStatusMessage']) AND count($topic['_fastReplyStatusMessage']) AND strlen($topic['_fastReplyStatusMessage'][0])">
					<div class='message'>{parse expression="implode( '<br />', $topic['_fastReplyStatusMessage'] )"}</div>
				</if>
				{parse editor="Post" options="array( 'type' => 'full', 'minimize' => 1, 'isTypingCallBack' => 'ipb.topic.isTypingCallBack', 'height' => 180, 'legacyMode' => 'off', 'autoSaveKey' => 'reply-' . $topic[tid], 'warnInfo' => 'fastReply', 'modAll' => $topic['_fastReplyModAll'] )"}
				<br />
				
				<fieldset class='right' id='fast_reply_controls'>
					<input type='submit' name="submit" class='input_submit' value='{$this->lang->words['qr_post']}' tabindex='50' accesskey='s' id='submit_post' />&nbsp;&nbsp;<input type='submit' name="preview" class='input_submit alt' value='{$this->lang->words['qr_more_opts']}' tabindex='51' id='full_compose' />			
				</fieldset>
			</form>
		</div>
		<div id='ips_HasReplies'></div>
	</div>
</div>
<script type='text/javascript'>
	ipb.topic.fastReplyId	= '{$this->settings['_lastEditorId']}';
</script>
<else />
	<if test="loadJsManually:|:$displayData['load_editor_js']">
		{parse template="editorLoadJs" group="editors" params="array( 'smilies' => $displayData['smilies'] )"}
	</if>
</if>
<!-- Close topic -->
</div>
<!-- BOTTOM BUTTONS -->
<if test="canShare:|:!$forum['disable_sharelinks'] AND $this->settings['sl_enable']">
	<br />
	<div class='clear clearfix left'>
		{IPSLib::shareLinks( $topic['title'], $topic['posts'] > 300 ? array( 'skip' => array( 'print', 'download' ) ) : array() )}
	</div>
	<br />
</if>
<!-- SAME TAGGED -->
<if test="sameTagged:|:is_array( $displayData['same_tagged'] ) and count( $displayData['same_tagged'] )">
	<br />
	<div class='ipsBox'>
		<h3 class='maintitle'>{parse expression="sprintf( $this->lang->words['topic_same_tagged_as'], $topic['tags']['formatted']['string'] )"}</h3>
		<div class='ipsBox_container'>
			<table class='ipb_table topic_list'>
			<foreach loop="topics:$displayData['same_tagged'] as $tid => $tdata">
				{parse template="topic" group="forum" params="$tdata, $forum, array(), false"}
			</foreach>
			</table>
		</div>
	</div>
</if>
<!-- ACTIVE USERS -->
<if test="topicActiveUsers:|:is_array( $displayData['active_users'] ) AND count( $displayData['active_users'] )">
	<div id='topic_stats' class='statistics clear clearfix'>
		<div id='topic_active_users' class='active_users'>
			<h4 class='statistics_head'>{parse expression="sprintf( $this->lang->words['active_users_title'], $displayData['active_users']['stats']['total'] )"}</h4>
			<p class='statistics_brief desc'>{parse expression="sprintf( $this->lang->words['active_users_detail'], $displayData['active_users']['stats']['members'], $displayData['active_users']['stats']['guests'], $displayData['active_users']['stats']['anon'] )"}</p>
			<if test="auNames:|:is_array( $displayData['active_users']['names'] ) AND count( $displayData['active_users']['names'] )">
				<br />
				<ul class='ipsList_inline'>
					{parse expression="implode( ', ', $displayData['active_users']['names'] )"}
				</ul>
			</if>
		</div>
	</div>
</if>
<if test="scrollToPost:|:$this->request['gopid']">
<script type='text/javascript'>
	var gopid = "{$this->request['gopid']}".replace(/&amp;/g, '');
	ipb.topic.scrollToPost( parseInt( gopid ) );
</script>
</if>
{parse template="include_highlighter" group="global" params="1"}
<div id='multiQuoteInsert' style='display: none;' class='ipsFloatingAction'>
	<span class='ipsButton no_width' id='mqbutton'>{$this->lang->words['mq_reply_quoted_posts']}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='{$this->lang->words['mq_clear_desc']}'>{$this->lang->words['mq_clear']}</a> &nbsp;&nbsp;&nbsp;
</div>
<form id="modform" method="post" action="{parse url="" base="public"}">
	<input type="hidden" name="app" value="forums" />
	<input type="hidden" name="module" value="moderate" />
	<input type="hidden" name="section" value="moderate" />
	<input type="hidden" name="do" value="postchoice" />
	<input type="hidden" name="f" value="{$topic['forum_id']}" />
	<input type="hidden" name="t" value="{$topic['tid']}" />
	<input type="hidden" name="auth_key" value="{$this->member->form_hash}" />
	<input type="hidden" name="st" value="{$this->request['st']}" />
	<input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' />
	<input type="hidden" name="tact" id="tact" value="" />
</form> 

 

вот и усе  ;)

Edited by WOLF

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.