Опубліковано 5 грудня, 20159 р Адміністратор Админ Панель-Внешний вид-Ваш стиль-Темы-post заменить все на:<!--post:{$post['post']['pid']}--><if test="sDeleted:|:$post['post']['_isDeleted'] AND $post['post']['_softDeleteSee']"> {parse template="softDeletedPostBit" group="topic" params="$post, $displayData['sdData'], $topic"}</if><if test="sDeletedNot:|:! $post['post']['_isDeleted']"> <div class='post_block hentry clear clearfix <if test="isSolvedCss:|:$post['post']['_isMarkedAnswered']">solved</if> <if test="postQueued:|:$post['post']['_isHidden']">moderated</if>' id='post_id_{$post['post']['pid']}'> <a id='entry{$post['post']['pid']}'></a> <if test="repIgnored:|:!empty( $post['post']['_repignored'] ) AND $post['post']['_repignored'] == 1 && $post['post']['_ignored'] != 1"> <div class='post_ignore'> <if test="noRep:|:$post['post']['rep_points'] == 0"> <span class='reputation zero' title='{$this->lang->words['top_rep']}'> </if> <if test="posRep:|:$post['post']['rep_points'] > 0"> <span class='reputation positive' title='{$this->lang->words['top_rep']}'> </if> <if test="negRep:|:$post['post']['rep_points'] < 0"> <span class='reputation negative' title='{$this->lang->words['top_rep']}' > </if> {$post['post']['rep_points']}</span> {$this->lang->words['top_this_post_by']} {parse template="userHoverCard" group="global" params="$post['author']"} {$this->lang->words['top_below_thresh']}. <a href='#' title='{$this->lang->words['ignore_view_post']}' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> </div> </if> <if test="userIgnored:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <div class='post_ignore'> <if test="userIgnoredLang:|:$post['post']['_repignored'] == 1">{$this->lang->words['post_ignored_rep']}<else />{$this->lang->words['post_ignored']}</if> {parse template="userHoverCard" group="global" params="$post['author']"}. <a href='#entry{$post['post']['pid']}' title='{$this->lang->words['ignore_view_post']}' style='display: none' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> <if test="userIgnoredLangTwo:|:$this->settings['reputation_enabled'] AND $post['post']['_repignored'] == 1"><div><a href="{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}&rep_filter_set=*&rep_filter=update&secure_key={$this->member->form_hash}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}">{$this->lang->words['post_ignore_reset_rep']}</a></div></if> </div> </if> <div class='post_wrap' <if test="isNotIgnoring:|:$post['post']['_ignored'] == 1 || $post['post']['_repignored'] == 1">style='display: none'</if>> <if test="postMid:|:$post['author']['member_id']"> <h3 class='row2'> <else /> <h3 class='guest row2'> </if> <span class='post_id right ipsType_small desc blend_links'> <if test="hasPages:|:$this->request['page']"> <a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> <else /> <a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> </if> #{$post['post']['post_count']} <img src='{$this->settings['img_url']}/icon_share.png' class='small' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}' /> </a> </span> <if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']"> <span class='right'> <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' /> </span> </if> <if test="postMember:|:$post['author']['member_id']"> <span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span> <else /> {parse template="userHoverCard" group="global" params="$post['author']"} </if> <if test="postIp:|:$post['post']['_show_ip']"> <span class='ip right ipsType_small'>({$this->lang->words['ip']}: <if test="postAdmin:|:$post['author']['g_access_cp']"> <em>{$this->lang->words['ip_private']}</em> <else /> <if test="accessModCP:|:$this->memberData['g_is_supmod']"><a href="{parse url="app=core&module=modcp&fromapp=members&tab=iplookup&ip={$post['post']['ip_address']}" base="public"}" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a><else />{$post['post']['ip_address']}</if> </if>) </span> </if> </h3> <div class='author_info'> {parse template="userInfoPane" group="global" params="$post['author'], $post['post']['pid'], array( 'isTopicView' => true, 'wl_id' => $post['post']['wl_id'] )"} </div> <div class='post_body'> <p class='posted_info desc lighter ipsType_small'> {$this->lang->words['posted']} <abbr class="published" itemprop="commentTime" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr> <if test="isSolvedSausage:|:$post['post']['_isMarkedAnswered']"> <span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span></if> </p> <if test="repHighlight:|:$this->settings['reputation_highlight'] AND $post['post']['rep_points'] >= $this->settings['reputation_highlight']"> <p class='rep_highlight'>{parse replacement="popular_post"}<br />{$this->lang->words['popular_post']}</p> </if> <div itemprop="commentText" class='post entry-content <if test="$post['post']['_repignored'] == 1">imgsize_ignore</if>'> {$post['post']['post']} {$post['post']['attachmentHtml']} <br /> <if test="postEditBy:|:$post['post']['edit_by']"> <p class='edit'> {$post['post']['edit_by']} <if test="postEditByReason:|:$post['post']['post_edit_reason'] != ''"> <br /> <span class='reason'>{$post['post']['post_edit_reason']}</span> </if> </p> </if> </div> <if test="repButtonsLike:|: ! $topic['_isArchived']"> {parse template="repButtons" group="global_other" params="$post['author'], array_merge( array( 'primaryId' => $post['post']['pid'], 'domLikeStripId' => 'like_post_' . $post['post']['pid'], 'domCountId' => 'rep_post_' . $post['post']['pid'], 'app' => 'forums', 'type' => 'pid', 'likeFormatted' => $post['post']['like']['formatted'] ), $post['post'] )"} </if> <if test="postSignature:|:$post['post']['signature']"> {$post['post']['signature']} </if> <if test="controlsForUnapprovedPost:|:$this->memberData['is_mod'] && ! $topic['_isArchived'] && $post['post']['queued']"> <ul id='postControlsUnapproved_{$post['post']['pid']}' class='post_controls clear clearfix'> <if test="canDelete:|:$post['post']['_can_delete'] === TRUE && ! $topic['_isArchived']"> <li class='post_del'> <a class='ipsButton_secondary' href='{parse url="module=moderate§ion=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' onclick='if( !confirm("{$this->lang->words['post_delete_confirm']}") ){ return false; }' >{$this->lang->words['post_delete']}</a> </li> </if> <li class='post_toggle toggle_post' id='toggle_post_{$post['post']['pid']}' style='display: none'> <a class='ipsButton_secondary' href='{parse url="app=forums&module=moderate§ion=moderate&do=postchoice&tact=<if test="!$post['post']['queued']">unapprove<else />approve</if>&selectedpids[{$post['post']['pid']}]={$post['post']['pid']}&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['post_toggle_visible']}'><span id='toggletext_post_{$post['post']['pid']}'><if test="approveUnapprove:|:$post['post']['queued']==1">{$this->lang->words['post_approve']}<else />{$this->lang->words['post_unapprove']}</if></span></a> </li> <if test="canEdit:|:$post['post']['_can_edit'] === TRUE"> <li class='post_edit'><a href='{parse url="module=post§ion=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&page={$this->request['page']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='ipsButton_secondary edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> </if> </ul> </if> <ul id='postControlsNormal_{$post['post']['pid']}' class='post_controls clear clearfix' <if test="hideNormalControlsForUnapprovedPost:|:$this->memberData['is_mod'] && ! $topic['_isArchived'] && $post['post']['queued']">style='display:none'</if>> <li class='top hide'><a href='#ipboard_body' class='top' title='{$this->lang->words['back_top']}'>{$this->lang->words['back_top']}</a></li> <if test="canAnswerTopic:|:$topic['Perms']['canAnswerTopic'] && $post['post']['post_count'] > 1"> <if test="isAnswered:|:$post['post']['_isMarkedAnswered']"> <if test="canUnanswer:|:$post['post']['_canMarkUnanswered']"> <li><a href="{parse url="module=extras§ion=answer&do=unanswer&t={$this->request['t']}&pid={$post['post']['pid']}&auth_key={$this->member->form_hash}" base="publicWithApp"}" data-post-button="unanswer" class='ipsButton_secondary important' data-pid="{$post['post']['pid']}"><img class='icon' src="{$this->settings['img_url']}/cross_white_10px.png">{$this->lang->words['topic_mark_unsolved']}</a></li> </if> <else /> <if test="notAnswered:|:$post['post']['_canAnswer'] && $topic['topic_firstpost'] != $post['post']['pid']"> <li><a href="{parse url="module=extras§ion=answer&do=answer&t={$this->request['t']}&pid={$post['post']['pid']}&auth_key={$this->member->form_hash}" base="publicWithApp"}" data-post-button="answer" class='ipsButton_secondary' data-pid="{$post['post']['pid']}"><img class='icon' src="{$this->settings['img_url']}/tick_10px.png">{$this->lang->words['topic_mark_solved']}</a></li> </if> </if> </if> <if test="replyButtonWarn:|:!$this->memberData['unacknowledged_warnings'] && !$this->memberData['restrict_post']"> <if test="replyButton:|:$post['post']['_canReply']"> <li><a href="{parse url="module=post§ion=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" class='_ips_trigger_quote ipsButton_secondary' pid="{$post['post']['pid']}" title="{$this->lang->words['tt_reply_to_post']}">{$this->lang->words['post_reply']}</a></li> <if test="multiquote:|:!empty( $post['post']['_mq_selected'] )"> <li class='selected multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> <else /> <li class='multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> </if> <a href="{parse url="module=post§ion=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" title="{$this->lang->words['quote_with_mq']}" class='ipsButton_secondary'>{$this->lang->words['mq']}</a> </li> </if> </if> <if test="canDelete:|:$post['post']['_can_delete'] === TRUE && ! $topic['_isArchived']"> <li id='del_post_{$post['post']['pid']}' class='post_del'> <a href='{parse url="module=moderate§ion=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' class='delete_post' onclick='return false;' >{$this->lang->words['post_delete']}</a> </li> </if> <if test="canHide:|:$post['post']['_softDelete'] && ! $topic['_isArchived']"> <li id='hide_post_{$post['post']['pid']}'> <a href='{parse url="module=moderate§ion=moderate&do=postchoice&tact=delete&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' class='hide_post'>{$this->lang->words['post_hide']}</a> </li> </if> <if test="canEdit:|:$post['post']['_can_edit'] === TRUE"> <li class='post_edit'><a href='{parse url="module=post§ion=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&page={$this->request['page']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> </if> <if test="canReportPost:|:$topic['_canReport'] and ! $topic['_isArchived']"> <li class='report'> <a href='{parse url="app=core&module=reports&rcom=post&tid={$this->request['t']}&pid={$post['post']['pid']}&page={$this->request['page']}" base="public"}'>{$this->lang->words['report']}</a> </li> <if test="postIsReported:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <li class='report'> <a href="{$this->settings['base_url']}app=core&module=reports§ion=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}" id='post-report-{$post['post']['pid']}' class='ipbmenu'> <span id="rstat-{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}"><img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['gfx']}.png" alt="" /></span> </a> </li> </if> </if> </ul> <if test="reportedPostData:|:! $topic['_isArchived'] AND $this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <ul id='post-report-{$post['post']['pid']}_menucontent' class='ipbmenu_content report_menu'> <li><a href="{parse url="app=core&module=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}" base="public"}" id='report_mark_{$post['post']['pid']}'><img src='{$this->settings['img_url']}/reports/mark_complete.png' alt='' /> {$this->lang->words['report_menu_mark_complete']}</a></li> <li><a href="{$this->settings['base_url']}app=core&module=reports§ion=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}"><img src='{$this->settings['img_url']}/reports/view_report.png' alt='' /> {$this->lang->words['report_menu_view_report']}</a></li> </ul> <script type="text/javascript"> $('report_mark_{$post['post']['pid']}').observe('click', ipb.global.updateReportStatus.bindAsEventListener( this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2 ) ); </script> </if> </div> </div> </div></if> <if test="initIgnoredPost:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <script type='text/javascript'> ipb.topic.setPostHidden( {$post['post']['pid']} ); $('unhide_post_{$post['post']['pid']}').show(); </script> </if> <hr /> <if test="adCodeCheck:|:$post['post']['_adCode']"> {$post['post']['_adCode']} </if><script type="text/javascript">var pid = parseInt({$post['post']['pid']});if ( pid > ipb.topic.topPid ){ ipb.topic.topPid = pid;}<if test="sDeletedNotMQ:|:! $post['post']['_isDeleted']"> // Show multiquote for JS browsers if ( $('multiq_{$post['post']['pid']}') ) { $('multiq_{$post['post']['pid']}').show(); } if( $('toggle_post_{$post['post']['pid']}') ) { $('toggle_post_{$post['post']['pid']}').show(); } // Add perm data ipb.topic.deletePerms[{$post['post']['pid']}] = { 'canDelete' : {parse expression="intval($post['post']['_can_delete'])"}, 'canSoftDelete' : {parse expression="intval($post['post']['_softDelete'])"} };</if></script>Админ Панель-Внешний вид-Ваш стиль-Темы-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§ion=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§ion=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> <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="http://schema.org/Article" class='ipsBox_withphoto'> <if test="topicRating:|:$forum['forum_allow_rating']"> <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" class='rating ipsType_smaller'> <if test="$topic['_allow_rate']"> <strong>{$this->lang->words['js_rate_me']}</strong> </if> <if test="$topic['_allow_rate']"> <a href='{parse url="app=forums&module=extras§ion=rating&t={$topic['tid']}&rating=1&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&module=extras§ion=rating&t={$topic['tid']}&rating=2&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&module=extras§ion=rating&t={$topic['tid']}&rating=3&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&module=extras§ion=rating&t={$topic['tid']}&rating=4&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&module=extras§ion=rating&t={$topic['tid']}&rating=5&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§ion=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="bestAnswer:|:$displayData['best_answer_post_data']"><br /><div class='post post_block feature_box entry-content'> <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']}&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&module=forums§ion=findpost&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']}&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&module=forums§ion=findpost&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&module=moderate§ion=moderate&f={$forum['id']}&t={$topic['tid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&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&module=moderate§ion=moderate&f={$forum['id']}&page={$this->request['page']}&t={$topic['tid']}&auth_key={$this->member->form_hash}&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&module=moderate§ion=moderate&do=topic_restore&t={$topic['tid']}&f={$forum['id']}&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&module=moderate§ion=moderate&do=09&t={$topic['tid']}&f={$forum['id']}&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']} {parse template="archiveStatusMessage" group="topic" params="$topic,$forum"} <if test="isArchivedPostBox:|:!$topic['_isArchived']"> <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']}&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=multimod&t={$topic['tid']}&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&module=forums§ion=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&page={$this->request['page']}&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&module=forums§ion=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&page={$this->request['page']}&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> · </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']"> · <a href='{parse url="showtopic={$topic['tid']}&view=getnextunread" template="showtopicnextunread" seotitle="{$topic['title_seo']}" base="public"}' rel="nofollow" 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' /> <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(/&/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> <a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='{$this->lang->words['mq_clear_desc']}'>{$this->lang->words['mq_clear']}</a> </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" name="page" value="{$this->request['page']}" /> <input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' /> <input type="hidden" name="tact" id="tact" value="" /></form>Админ Панель-Внешний вид-Ваш стиль-css-ipb_styles.css найти:.author_infoВсе что там заменить на:.author_info { width: 155px; float: left; font-size: 12px; text-align: center; padding: 15px 10px;}ipb_styles.css найти:.post_block h3Все что там заменить на:.post_block h3 { background: #D8DDE8; padding: 0 10px; height: 36px; line-height: 36px; font-weight: normal; font-size: 16px;}
Опубліковано 5 грудня, 20159 р Автор Админ Панель-Внешний вид-Ваш стиль-Темы-post заменить все на:<!--post:{$post['post']['pid']}--><if test="sDeleted:|:$post['post']['_isDeleted'] AND $post['post']['_softDeleteSee']"> {parse template="softDeletedPostBit" group="topic" params="$post, $displayData['sdData'], $topic"}</if><if test="sDeletedNot:|:! $post['post']['_isDeleted']"> <div class='post_block hentry clear clearfix <if test="isSolvedCss:|:$post['post']['_isMarkedAnswered']">solved</if> <if test="postQueued:|:$post['post']['_isHidden']">moderated</if>' id='post_id_{$post['post']['pid']}'> <a id='entry{$post['post']['pid']}'></a> <if test="repIgnored:|:!empty( $post['post']['_repignored'] ) AND $post['post']['_repignored'] == 1 && $post['post']['_ignored'] != 1"> <div class='post_ignore'> <if test="noRep:|:$post['post']['rep_points'] == 0"> <span class='reputation zero' title='{$this->lang->words['top_rep']}'> </if> <if test="posRep:|:$post['post']['rep_points'] > 0"> <span class='reputation positive' title='{$this->lang->words['top_rep']}'> </if> <if test="negRep:|:$post['post']['rep_points'] < 0"> <span class='reputation negative' title='{$this->lang->words['top_rep']}' > </if> {$post['post']['rep_points']}</span> {$this->lang->words['top_this_post_by']} {parse template="userHoverCard" group="global" params="$post['author']"} {$this->lang->words['top_below_thresh']}. <a href='#' title='{$this->lang->words['ignore_view_post']}' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> </div> </if> <if test="userIgnored:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <div class='post_ignore'> <if test="userIgnoredLang:|:$post['post']['_repignored'] == 1">{$this->lang->words['post_ignored_rep']}<else />{$this->lang->words['post_ignored']}</if> {parse template="userHoverCard" group="global" params="$post['author']"}. <a href='#entry{$post['post']['pid']}' title='{$this->lang->words['ignore_view_post']}' style='display: none' id='unhide_post_{$post['post']['pid']}'>{$this->lang->words['rep_view_anyway']}</a> <if test="userIgnoredLangTwo:|:$this->settings['reputation_enabled'] AND $post['post']['_repignored'] == 1"><div><a href="{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}&rep_filter_set=*&rep_filter=update&secure_key={$this->member->form_hash}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}">{$this->lang->words['post_ignore_reset_rep']}</a></div></if> </div> </if> <div class='post_wrap' <if test="isNotIgnoring:|:$post['post']['_ignored'] == 1 || $post['post']['_repignored'] == 1">style='display: none'</if>> <if test="postMid:|:$post['author']['member_id']"> <h3 class='row2'> <else /> <h3 class='guest row2'> </if> <span class='post_id right ipsType_small desc blend_links'> <if test="hasPages:|:$this->request['page']"> <a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}&page={$this->request['page']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> <else /> <a itemprop="replyToUrl" data-entry-pid='{$post['post']['pid']}' href='{parse url="showtopic={$post['post']['topic_id']}{$post['post']['PermalinkUrlBit']}#entry{$post['post']['pid']}" template="showtopic" seotitle="{$topic['title_seo']}" base="public"}' rel='bookmark' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}'> </if> #{$post['post']['post_count']} <img src='{$this->settings['img_url']}/icon_share.png' class='small' title='{$topic['title']}{$this->lang->words['link_to_post']} #{$post['post']['post_count']}' /> </a> </span> <if test="postModCheckbox:|:$post['post']['moddable'] && ! $topic['_isArchived']"> <span class='right'> <label for='checkbox_{$post['post']['pid']}' class='post_mod hide'>{$this->lang->words['mod_select_post']}</label><input type='checkbox' id='checkbox_{$post['post']['pid']}' name='selectedpids[]' value='{$post['post']['pid']}' class='post_mod right'<if test="postModSelected:|:!empty( $post['post']['_pid_selected'] )"> checked='checked'</if> data-status='{$post['post']['queued']}' /> </span> </if> <if test="postMember:|:$post['author']['member_id']"> <span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span> <else /> {parse template="userHoverCard" group="global" params="$post['author']"} </if> <if test="postIp:|:$post['post']['_show_ip']"> <span class='ip right ipsType_small'>({$this->lang->words['ip']}: <if test="postAdmin:|:$post['author']['g_access_cp']"> <em>{$this->lang->words['ip_private']}</em> <else /> <if test="accessModCP:|:$this->memberData['g_is_supmod']"><a href="{parse url="app=core&module=modcp&fromapp=members&tab=iplookup&ip={$post['post']['ip_address']}" base="public"}" title='{$this->lang->words['info_about_this_ip']}'>{$post['post']['ip_address']}</a><else />{$post['post']['ip_address']}</if> </if>) </span> </if> </h3> <div class='author_info'> {parse template="userInfoPane" group="global" params="$post['author'], $post['post']['pid'], array( 'isTopicView' => true, 'wl_id' => $post['post']['wl_id'] )"} </div> <div class='post_body'> <p class='posted_info desc lighter ipsType_small'> {$this->lang->words['posted']} <abbr class="published" itemprop="commentTime" title="{parse expression="date( 'c', $post['post']['post_date'] )"}">{parse date="$post['post']['post_date']" format="long"}</abbr> <if test="isSolvedSausage:|:$post['post']['_isMarkedAnswered']"> <span class='ipsBadge ipsBadge_green'>{$this->lang->words['topic_best_answer']}</span></if> </p> <if test="repHighlight:|:$this->settings['reputation_highlight'] AND $post['post']['rep_points'] >= $this->settings['reputation_highlight']"> <p class='rep_highlight'>{parse replacement="popular_post"}<br />{$this->lang->words['popular_post']}</p> </if> <div itemprop="commentText" class='post entry-content <if test="$post['post']['_repignored'] == 1">imgsize_ignore</if>'> {$post['post']['post']} {$post['post']['attachmentHtml']} <br /> <if test="postEditBy:|:$post['post']['edit_by']"> <p class='edit'> {$post['post']['edit_by']} <if test="postEditByReason:|:$post['post']['post_edit_reason'] != ''"> <br /> <span class='reason'>{$post['post']['post_edit_reason']}</span> </if> </p> </if> </div> <if test="repButtonsLike:|: ! $topic['_isArchived']"> {parse template="repButtons" group="global_other" params="$post['author'], array_merge( array( 'primaryId' => $post['post']['pid'], 'domLikeStripId' => 'like_post_' . $post['post']['pid'], 'domCountId' => 'rep_post_' . $post['post']['pid'], 'app' => 'forums', 'type' => 'pid', 'likeFormatted' => $post['post']['like']['formatted'] ), $post['post'] )"} </if> <if test="postSignature:|:$post['post']['signature']"> {$post['post']['signature']} </if> <if test="controlsForUnapprovedPost:|:$this->memberData['is_mod'] && ! $topic['_isArchived'] && $post['post']['queued']"> <ul id='postControlsUnapproved_{$post['post']['pid']}' class='post_controls clear clearfix'> <if test="canDelete:|:$post['post']['_can_delete'] === TRUE && ! $topic['_isArchived']"> <li class='post_del'> <a class='ipsButton_secondary' href='{parse url="module=moderate§ion=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' onclick='if( !confirm("{$this->lang->words['post_delete_confirm']}") ){ return false; }' >{$this->lang->words['post_delete']}</a> </li> </if> <li class='post_toggle toggle_post' id='toggle_post_{$post['post']['pid']}' style='display: none'> <a class='ipsButton_secondary' href='{parse url="app=forums&module=moderate§ion=moderate&do=postchoice&tact=<if test="!$post['post']['queued']">unapprove<else />approve</if>&selectedpids[{$post['post']['pid']}]={$post['post']['pid']}&t={$topic['tid']}&f={$forum['id']}&auth_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['post_toggle_visible']}'><span id='toggletext_post_{$post['post']['pid']}'><if test="approveUnapprove:|:$post['post']['queued']==1">{$this->lang->words['post_approve']}<else />{$this->lang->words['post_unapprove']}</if></span></a> </li> <if test="canEdit:|:$post['post']['_can_edit'] === TRUE"> <li class='post_edit'><a href='{parse url="module=post§ion=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&page={$this->request['page']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='ipsButton_secondary edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> </if> </ul> </if> <ul id='postControlsNormal_{$post['post']['pid']}' class='post_controls clear clearfix' <if test="hideNormalControlsForUnapprovedPost:|:$this->memberData['is_mod'] && ! $topic['_isArchived'] && $post['post']['queued']">style='display:none'</if>> <li class='top hide'><a href='#ipboard_body' class='top' title='{$this->lang->words['back_top']}'>{$this->lang->words['back_top']}</a></li> <if test="canAnswerTopic:|:$topic['Perms']['canAnswerTopic'] && $post['post']['post_count'] > 1"> <if test="isAnswered:|:$post['post']['_isMarkedAnswered']"> <if test="canUnanswer:|:$post['post']['_canMarkUnanswered']"> <li><a href="{parse url="module=extras§ion=answer&do=unanswer&t={$this->request['t']}&pid={$post['post']['pid']}&auth_key={$this->member->form_hash}" base="publicWithApp"}" data-post-button="unanswer" class='ipsButton_secondary important' data-pid="{$post['post']['pid']}"><img class='icon' src="{$this->settings['img_url']}/cross_white_10px.png">{$this->lang->words['topic_mark_unsolved']}</a></li> </if> <else /> <if test="notAnswered:|:$post['post']['_canAnswer'] && $topic['topic_firstpost'] != $post['post']['pid']"> <li><a href="{parse url="module=extras§ion=answer&do=answer&t={$this->request['t']}&pid={$post['post']['pid']}&auth_key={$this->member->form_hash}" base="publicWithApp"}" data-post-button="answer" class='ipsButton_secondary' data-pid="{$post['post']['pid']}"><img class='icon' src="{$this->settings['img_url']}/tick_10px.png">{$this->lang->words['topic_mark_solved']}</a></li> </if> </if> </if> <if test="replyButtonWarn:|:!$this->memberData['unacknowledged_warnings'] && !$this->memberData['restrict_post']"> <if test="replyButton:|:$post['post']['_canReply']"> <li><a href="{parse url="module=post§ion=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" class='_ips_trigger_quote ipsButton_secondary' pid="{$post['post']['pid']}" title="{$this->lang->words['tt_reply_to_post']}">{$this->lang->words['post_reply']}</a></li> <if test="multiquote:|:!empty( $post['post']['_mq_selected'] )"> <li class='selected multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> <else /> <li class='multiquote' id='multiq_{$post['post']['pid']}' style='display: none'> </if> <a href="{parse url="module=post§ion=post&do=reply_post&f={$this->request['f']}&t={$this->request['t']}&qpid={$post['post']['pid']}" base="publicWithApp"}" title="{$this->lang->words['quote_with_mq']}" class='ipsButton_secondary'>{$this->lang->words['mq']}</a> </li> </if> </if> <if test="canDelete:|:$post['post']['_can_delete'] === TRUE && ! $topic['_isArchived']"> <li id='del_post_{$post['post']['pid']}' class='post_del'> <a href='{parse url="module=moderate§ion=moderate&do=postchoice&tact=deletedo&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' title='{$this->lang->words['post_delete_title']}' class='delete_post' onclick='return false;' >{$this->lang->words['post_delete']}</a> </li> </if> <if test="canHide:|:$post['post']['_softDelete'] && ! $topic['_isArchived']"> <li id='hide_post_{$post['post']['pid']}'> <a href='{parse url="module=moderate§ion=moderate&do=postchoice&tact=delete&f={$topic['forum_id']}&t={$topic['tid']}&selectedpids[]={$post['post']['pid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}" base="publicWithApp"}' class='hide_post'>{$this->lang->words['post_hide']}</a> </li> </if> <if test="canEdit:|:$post['post']['_can_edit'] === TRUE"> <li class='post_edit'><a href='{parse url="module=post§ion=post&do=edit_post&f={$topic['forum_id']}&t={$topic['tid']}&p={$post['post']['pid']}&page={$this->request['page']}" base="publicWithApp"}' title='{$this->lang->words['post_edit_title']}' class='edit_post' id='edit_post_{$post['post']['pid']}'>{$this->lang->words['post_edit']}</a></li> </if> <if test="canReportPost:|:$topic['_canReport'] and ! $topic['_isArchived']"> <li class='report'> <a href='{parse url="app=core&module=reports&rcom=post&tid={$this->request['t']}&pid={$post['post']['pid']}&page={$this->request['page']}" base="public"}'>{$this->lang->words['report']}</a> </li> <if test="postIsReported:|:$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <li class='report'> <a href="{$this->settings['base_url']}app=core&module=reports§ion=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}" id='post-report-{$post['post']['pid']}' class='ipbmenu'> <span id="rstat-{$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}"><img src="{$this->settings['img_url']}/reports/post_alert_{$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['gfx']}.png" alt="" /></span> </a> </li> </if> </if> </ul> <if test="reportedPostData:|:! $topic['_isArchived'] AND $this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['gfx'] > 0"> <ul id='post-report-{$post['post']['pid']}_menucontent' class='ipbmenu_content report_menu'> <li><a href="{parse url="app=core&module=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][ $post['post']['pid'] ]['info']['id']}" base="public"}" id='report_mark_{$post['post']['pid']}'><img src='{$this->settings['img_url']}/reports/mark_complete.png' alt='' /> {$this->lang->words['report_menu_mark_complete']}</a></li> <li><a href="{$this->settings['base_url']}app=core&module=reports§ion=reports&do=show_report&rid={$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']}"><img src='{$this->settings['img_url']}/reports/view_report.png' alt='' /> {$this->lang->words['report_menu_view_report']}</a></li> </ul> <script type="text/javascript"> $('report_mark_{$post['post']['pid']}').observe('click', ipb.global.updateReportStatus.bindAsEventListener( this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2 ) ); </script> </if> </div> </div> </div></if> <if test="initIgnoredPost:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']"> <script type='text/javascript'> ipb.topic.setPostHidden( {$post['post']['pid']} ); $('unhide_post_{$post['post']['pid']}').show(); </script> </if> <hr /> <if test="adCodeCheck:|:$post['post']['_adCode']"> {$post['post']['_adCode']} </if><script type="text/javascript">var pid = parseInt({$post['post']['pid']});if ( pid > ipb.topic.topPid ){ ipb.topic.topPid = pid;}<if test="sDeletedNotMQ:|:! $post['post']['_isDeleted']"> // Show multiquote for JS browsers if ( $('multiq_{$post['post']['pid']}') ) { $('multiq_{$post['post']['pid']}').show(); } if( $('toggle_post_{$post['post']['pid']}') ) { $('toggle_post_{$post['post']['pid']}').show(); } // Add perm data ipb.topic.deletePerms[{$post['post']['pid']}] = { 'canDelete' : {parse expression="intval($post['post']['_can_delete'])"}, 'canSoftDelete' : {parse expression="intval($post['post']['_softDelete'])"} };</if></script>Админ Панель-Внешний вид-Ваш стиль-Темы-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§ion=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§ion=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> <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="http://schema.org/Article" class='ipsBox_withphoto'> <if test="topicRating:|:$forum['forum_allow_rating']"> <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" class='rating ipsType_smaller'> <if test="$topic['_allow_rate']"> <strong>{$this->lang->words['js_rate_me']}</strong> </if> <if test="$topic['_allow_rate']"> <a href='{parse url="app=forums&module=extras§ion=rating&t={$topic['tid']}&rating=1&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&module=extras§ion=rating&t={$topic['tid']}&rating=2&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&module=extras§ion=rating&t={$topic['tid']}&rating=3&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&module=extras§ion=rating&t={$topic['tid']}&rating=4&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&module=extras§ion=rating&t={$topic['tid']}&rating=5&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§ion=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="bestAnswer:|:$displayData['best_answer_post_data']"><br /><div class='post post_block feature_box entry-content'> <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']}&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&module=forums§ion=findpost&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']}&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&module=forums§ion=findpost&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&module=moderate§ion=moderate&f={$forum['id']}&t={$topic['tid']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&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&module=moderate§ion=moderate&f={$forum['id']}&page={$this->request['page']}&t={$topic['tid']}&auth_key={$this->member->form_hash}&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&module=moderate§ion=moderate&do=topic_restore&t={$topic['tid']}&f={$forum['id']}&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&module=moderate§ion=moderate&do=09&t={$topic['tid']}&f={$forum['id']}&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']} {parse template="archiveStatusMessage" group="topic" params="$topic,$forum"} <if test="isArchivedPostBox:|:!$topic['_isArchived']"> <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']}&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=moderate&t={$topic['tid']}&f={$topic['forum_id']}&page={$this->request['page']}&auth_key={$this->member->form_hash}&_fromTopic=1&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&module=moderate§ion=multimod&t={$topic['tid']}&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&module=forums§ion=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&page={$this->request['page']}&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&module=forums§ion=topics&rep_filter=update&f={$topic['forum_id']}&t={$topic['tid']}&secure_key={$this->member->form_hash}&page={$this->request['page']}&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> · </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']"> · <a href='{parse url="showtopic={$topic['tid']}&view=getnextunread" template="showtopicnextunread" seotitle="{$topic['title_seo']}" base="public"}' rel="nofollow" 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' /> <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(/&/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> <a href='#' id='multiQuoteClear' class='ipsType_smaller desc' title='{$this->lang->words['mq_clear_desc']}'>{$this->lang->words['mq_clear']}</a> </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" name="page" value="{$this->request['page']}" /> <input type="hidden" value="{$this->request['selectedpids']}" name="selectedpidsJS" id='selectedpidsJS' /> <input type="hidden" name="tact" id="tact" value="" /></form>Админ Панель-Внешний вид-Ваш стиль-css-ipb_styles.css найти:.author_infoВсе что там заменить на:.author_info { width: 155px; float: left; font-size: 12px; text-align: center; padding: 15px 10px;}ipb_styles.css найти:.post_block h3Все что там заменить на:.post_block h3 { background: #D8DDE8; padding: 0 10px; height: 36px; line-height: 36px; font-weight: normal; font-size: 16px;}не такого кода
Опубліковано 5 грудня, 20159 р Адміністратор Ты с 1ех зделай то что я тебе скинул а потому брось скриншот как у тебя. Змінено 5 грудня, 20159 р користувачем Ciko
Опубліковано 5 грудня, 20159 р Автор Ты с 1ех зделай то что я тебе скинул а потому брось скриншот как у тебя.
Опубліковано 5 грудня, 20159 р Адміністратор В userInfoPane заменить все на:<div itemscope itemtype="http://schema.org/Person" class='user_details'> <span class='hide' itemprop="name">{$author['members_display_name']}</span> <ul class='basic_info'> <if test="membertitle:|:$author['member_title']"> <p class='desc member_title'>{$author['member_title']}</p> </if> <if test="avatar:|:$author['member_id']"> <li class='avatar'> <if test="canSeeProfiles:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> <a itemprop="url" href="{parse url="showuser={$author['member_id']}" template="showuser" seotitle="{$author['members_seo_name']}" base="public"}" title="{$this->lang->words['view_profile']}: {$author['members_display_name']}" class='ipsUserPhotoLink'> </if> <if test="hasVariable:|:$this->settings['member_topic_avatar_max']"> <img itemprop="image" src='{$author['pp_main_photo']}' class='ipsUserPhoto ipsUserPhoto_variable' /> <else /> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </if> <if test="canSeeProfiles2:|:$this->memberData['g_is_supmod'] OR ( $this->memberData['g_mem_info'] && ! IPSMember::isInactive( $author ) )"> </a> </if> </li> <else /> <li class='avatar'> <img itemprop="image" src='{$author['pp_thumb_photo']}' class='ipsUserPhoto ipsUserPhoto_large' /> </li> </if> <li class='group_title'> {$author['_group_formatted']} </li> <if test="rankimage:|:$author['member_rank_img']"> <li class='group_icon'> <if test="rankimageimage:|:$author['member_rank_img_i'] == 'img'"> <img src='{$author['member_rank_img']}' alt='' /> <else /> {$author['member_rank_img']} </if> </li> </if> <if test="postCount:|:$author['member_id']"> <li class='post_count desc lighter'> {parse expression="$this->registry->getClass('class_localization')->formatNumber( intval( $author['posts'] ) )"} {$this->lang->words['m_posts']} </li> </if> <if test="authorwarn:|:$author['show_warn']"> <li> <if test="hasWarningId:|:$options['wl_id']"> <img src='{$this->settings['img_url']}/warn.png' class='clickable' onclick='warningPopup( this, {$options['wl_id']} )' title='{$this->lang->words['warnings_issued']}' /> </if> <a class='desc lighter blend_links' href='{parse url="app=members&module=profile§ion=warnings&member={$author['member_id']}&from_app={$this->request['app']}&from_id1={$contentid}&from_id2={$options['id2']}" base="public"}' id='warn_link_{$contentid}_{$author['member_id']}' title='{$this->lang->words['warn_view_history']}'>{parse expression="sprintf( $this->lang->words['warn_status'], $author['warn_level'] )"}</a> </li> </if> </ul> <if test="authorcfields:|:$author['custom_fields'] != """> <ul class='custom_fields'> <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data"> <foreach loop="customFields:$author['custom_fields'][ $group ] as $field"> <if test="$field != ''"> <li> {$field} </li> </if> </foreach> </foreach> </ul> </if> </div>
Опубліковано 9 грудня, 20159 р Адміністратор Смотри в Админ Панель-Внешний вид-Ваш стиль-Темы-post или в topicViewTemplate
Опубліковано 11 грудня, 20159 р Внешний вид- Vertigo_2- ipb_styles.css найти:} .post_body {margin: 0 10px 0 15px;padding-top: 15px;}заменить на:}.post_body {margin: 0 10px 0 240px;padding-top: 15px;}
Опубліковано 11 грудня, 20159 р Автор Внешний вид- Vertigo_2- ipb_styles.css найти:} .post_body {margin: 0 10px 0 15px;padding-top: 15px;}заменить на:}.post_body {margin: 0 10px 0 240px;padding-top: 15px;}а если нет такого кода то добавить ?