mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 16:04:24 +03:00
Comments
This commit is contained in:
parent
294212be80
commit
b1d638ee25
|
@ -640,7 +640,7 @@ class ModuleComment extends Module {
|
|||
* @return string
|
||||
*/
|
||||
public function GetTemplateCommentByTarget($iTargetId,$sTargetType) {
|
||||
return "comment.tpl";
|
||||
return "comments/comment.tpl";
|
||||
}
|
||||
/**
|
||||
* Строит дерево комментариев
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{include file='topics/topic.tpl'}
|
||||
{include
|
||||
file='comment_tree.tpl'
|
||||
file='comments/comment_tree.tpl'
|
||||
iTargetId=$oTopic->getId()
|
||||
iAuthorId=$oTopic->getUserId()
|
||||
sAuthorNotice=$aLang.topic_author
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
<h2 class="page-header">{$aLang.comments_all}</h2>
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
{include file='footer.tpl'}
|
|
@ -6,8 +6,9 @@
|
|||
|
||||
{extends file='add.topic.base.tpl'}
|
||||
|
||||
|
||||
{block name='add_topic_type'}link{/block}
|
||||
{block name='add_topic_options'}
|
||||
{$sTopicType = 'link'}
|
||||
{/block}
|
||||
|
||||
{block name='add_topic_form_text_before'}
|
||||
<p><label for="topic_link_url">{$aLang.topic_link_create_url}:</label>
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
|
||||
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
{include file='footer.tpl'}
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
{include file='actions/ActionProfile/profile_top.tpl'}
|
||||
{include file='navs/nav.profile_favourite.tpl'}
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
|
||||
{include file='footer.tpl'}
|
|
@ -35,7 +35,7 @@
|
|||
{if $aReq.sType == 'topics'}
|
||||
{include file='topics/topic_list.tpl'}
|
||||
{elseif $aReq.sType == 'comments'}
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
{else}
|
||||
{hook run='search_result' sType=$aReq.sType}
|
||||
{/if}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
|
||||
{if !$bNoComments}
|
||||
{include
|
||||
file='comment_tree.tpl'
|
||||
file='comments/comment_tree.tpl'
|
||||
iTargetId=$oTalk->getId()
|
||||
sTargetType='talk'
|
||||
iCountComment=$oTalk->getCountComment()
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*}
|
||||
|
||||
{foreach from=$aComments item=oComment}
|
||||
{include file='comment.tpl' bList=true}
|
||||
{include file='comments/comment.tpl' bList=true}
|
||||
{/foreach}
|
||||
|
||||
{include file='paging.tpl' aPaging=$aPaging}
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
<div class="comment-wrapper" id="comment_wrapper_id_{$oComment->getId()}">
|
||||
|
||||
{include file='comment.tpl'}
|
||||
{include file='comments/comment.tpl'}
|
||||
|
||||
{$nesting = $cmtlevel}
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
{**
|
||||
* Страницы
|
||||
*}
|
||||
{include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}
|
||||
{include file='comments/comment_paging.tpl' aPagingCmt=$aPagingCmt}
|
||||
|
||||
{hook run='comment_tree_end' iTargetId=$iTargetId sTargetType=$sTargetType}
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
#container { margin: 0 auto; margin-bottom: 20px; padding: 0 50px; }
|
||||
#header { padding: 50px 0; position: relative; }
|
||||
#nav { margin-bottom: 15px; overflow: hidden; }
|
||||
#wrapper { overflow: hidden; zoom: 1; padding: 30px; background: #fff; border-bottom: 1px solid #eee; -webkit-box-shadow: 0 0 3px rgba(0,0,0,.1); box-shadow: 0 0 3px rgba(0,0,0,.1); }
|
||||
#wrapper { overflow: hidden; zoom: 1; padding: 30px; background: #fff; border-bottom: 1px solid #eee; }
|
||||
#content-wrapper { float: left; width: 100%; margin-right: -330px; }
|
||||
#content { margin-right: 330px; background: #fff; position: relative; }
|
||||
#sidebar { float: right; width: 300px; position: relative; z-index: 1; }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
{include file='topics/topic.tpl'}
|
||||
{include
|
||||
file='comment_tree.tpl'
|
||||
file='comments/comment_tree.tpl'
|
||||
iTargetId=$oTopic->getId()
|
||||
iAuthorId=$oTopic->getUserId()
|
||||
sAuthorNotice=$aLang.topic_author
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
<h2 class="page-header">{$aLang.comments_all}</h2>
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
{include file='footer.tpl'}
|
||||
|
||||
|
|
|
@ -8,5 +8,5 @@
|
|||
|
||||
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
{include file='footer.tpl'}
|
|
@ -6,7 +6,7 @@
|
|||
{include file='actions/ActionProfile/profile_top.tpl'}
|
||||
{include file='navs/nav.profile_favourite.tpl'}
|
||||
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
{if $aReq.sType == 'topics'}
|
||||
{include file='topics/topic_list.tpl'}
|
||||
{elseif $aReq.sType == 'comments'}
|
||||
{include file='comment_list.tpl'}
|
||||
{include file='comments/comment_list.tpl'}
|
||||
{else}
|
||||
{hook run='search_result' sType=$aReq.sType}
|
||||
{/if}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
{if !$bNoComments}
|
||||
{include
|
||||
file='comment_tree.tpl'
|
||||
file='comments/comment_tree.tpl'
|
||||
iTargetId=$oTalk->getId()
|
||||
sTargetType='talk'
|
||||
iCountComment=$oTalk->getCountComment()
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*}
|
||||
|
||||
{foreach from=$aComments item=oComment}
|
||||
{include file='comment.tpl' bList=true}
|
||||
{include file='comments/comment.tpl' bList=true}
|
||||
{/foreach}
|
||||
|
||||
{include file='paging.tpl' aPaging=$aPaging}
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
<div class="comment-wrapper" id="comment_wrapper_id_{$oComment->getId()}">
|
||||
|
||||
{include file='comment.tpl'}
|
||||
{include file='comments/comment.tpl'}
|
||||
|
||||
{$nesting = $cmtlevel}
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
{**
|
||||
* Страницы
|
||||
*}
|
||||
{include file='comment_paging.tpl' aPagingCmt=$aPagingCmt}
|
||||
{include file='comments/comment_paging.tpl' aPagingCmt=$aPagingCmt}
|
||||
|
||||
{hook run='comment_tree_end' iTargetId=$iTargetId sTargetType=$sTargetType}
|
||||
|
Loading…
Reference in a new issue