1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00
This commit is contained in:
Denis Shakhov 2013-05-25 14:32:26 +07:00
parent 294212be80
commit b1d638ee25
23 changed files with 23 additions and 22 deletions

View file

@ -640,7 +640,7 @@ class ModuleComment extends Module {
* @return string
*/
public function GetTemplateCommentByTarget($iTargetId,$sTargetType) {
return "comment.tpl";
return "comments/comment.tpl";
}
/**
* Строит дерево комментариев

View file

@ -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

View file

@ -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'}

View file

@ -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>

View file

@ -7,5 +7,5 @@
{include file='comment_list.tpl'}
{include file='comments/comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -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'}

View file

@ -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}

View file

@ -56,7 +56,7 @@
{if !$bNoComments}
{include
file='comment_tree.tpl'
file='comments/comment_tree.tpl'
iTargetId=$oTalk->getId()
sTargetType='talk'
iCountComment=$oTalk->getCountComment()

View file

@ -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}

View file

@ -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}

View file

@ -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; }

View file

@ -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

View file

@ -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'}

View file

@ -8,5 +8,5 @@
{include file='comment_list.tpl'}
{include file='comments/comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -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'}

View file

@ -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}

View file

@ -42,7 +42,7 @@
{if !$bNoComments}
{include
file='comment_tree.tpl'
file='comments/comment_tree.tpl'
iTargetId=$oTalk->getId()
sTargetType='talk'
iCountComment=$oTalk->getCountComment()

View file

@ -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}

View file

@ -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}