Комментарии
комментарии вида:
в actionblog/comment.tlp
в stile.css
в блок /* Info Block */
.comment .header2 { border: 0px solid #cecea5; margin-left: 62px; margin-top: -6px; }
.comment .outer_wrapper2 { }
.comment .wrapper2 {}
.comment .container2 {width: 100%; float: left; }
.comment .content2 { margin-right: 0px; margin-bottom: 0px; margin-top: -17px;}
.comment .main2 {margin-left: 62px; margin-top: 0px;}
.comment .left2 {width: 60px; float: left; margin-top: 2px; }
.comment .footer2 { border: 0px solid #cecea5; margin-left: 60px; margin-top: 10px;}
.comment .probel2 { margin-top: 3px;}
.comment .clearing2 {height: 0; clear: both; }
.comment .date2 { color: #999; font-size: 10px; padding-right: 20px; }
.comment .info a.imglink { display: block; width: 9px; height: 11px; text-decoration: none; position: relative; top: 5px;}
.comment .info ul li.goto-comment-parent a { text-decoration: none; border-bottom: 0px dotted #79B1D4; font-family: tahoma;}
.comment .info ul li.goto-comment-child a { text-decoration: none; border-bottom: 0px dotted #79B1D4; font-family: tahoma;}
сделал коряво, ну уж как умею
подправил
в actionblog/comment.tlp
<div class="tb">
<div class="tl"><div class="tr"></div></div></div>
<div class="text">
{if $aComment.obj->isBad()}
<div style="display: none;" id="comment_text_{$aComment.obj->getId()}">
{$aComment.obj->getText()}
</div>
<a href="#" onclick="$('comment_text_{$aComment.obj->getId()}').style.display='block';$(this).style.display='none';return false;">{$aLang.comment_bad_open}</a>
{else}
<div class="header2">
<div class="date2">{date_format date=$aComment.obj->getDate()}
</div>
</div>
<div class="outer_wrapper2">
<div class="wrapper2">
<div class="container2">
<div class="content2">
<div class="left2">
<div class="info">
<p><a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_PROFILE}/{$aComment.obj->getUserLogin()}/" class="author">{$aComment.obj->getUserLogin()}</a></p>
<a href="{$DIR_WEB_ROOT}/{$ROUTE_PAGE_PROFILE}/{$aComment.obj->getUserLogin()}/"><img src="{$aComment.obj->getUserProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a>
</div>
</div>
<div class="main2">
{$aComment.obj->getText()}
</div>
</div>
</div>
<div class="clearing2"> </div>
</div>
</div>
<div class="footer2">
<div class="info">
<ul>
<!--<li class="date">{date_format date=$aComment.obj->getDate()}</li>-->
{if $oUserCurrent and !$aComment.obj->getDelete() and !$oTopic->getForbidComment()}
<li><a href="javascript:lsCmtTree.toggleCommentForm({$aComment.obj->getId()});" class="reply-link">{$aLang.comment_answer}</a></li>
{/if}
<li><a href="#comment{$aComment.obj->getId()}" class="imglink link"></a></li>
{if $aComment.obj->getPid()}
<li class="goto-comment-parent"><a href="#comment{$aComment.obj->getPid()}" onclick="return lsCmtTree.goToParentComment($(this));" title="{$aLang.comment_goto_parent}">↑</a></li>
{/if}
<li class="goto-comment-child hidden"><a href="#" onclick="return lsCmtTree.goToChildComment(this);" title="{$aLang.comment_goto_child}">↓</a></li>
{if !$aComment.obj->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="delete" onclick="lsCmtTree.toggleComment(this,{$aComment.obj->getId()}); return false;">{$aLang.comment_delete}</a></li>
{/if}
{if $aComment.obj->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="repair" onclick="lsCmtTree.toggleComment(this,{$aComment.obj->getId()}); return false;">{$aLang.comment_repair}</a></li>
{/if}
</ul>
</div>
</div>
{/if}
</div>
<div class="bl"><div class="bb"><div class="br"></div></div></div>
</div>
<div class="probel2"> </div>
в stile.css
в блок /* Info Block */
.comment .header2 { border: 0px solid #cecea5; margin-left: 62px; margin-top: -6px; }
.comment .outer_wrapper2 { }
.comment .wrapper2 {}
.comment .container2 {width: 100%; float: left; }
.comment .content2 { margin-right: 0px; margin-bottom: 0px; margin-top: -17px;}
.comment .main2 {margin-left: 62px; margin-top: 0px;}
.comment .left2 {width: 60px; float: left; margin-top: 2px; }
.comment .footer2 { border: 0px solid #cecea5; margin-left: 60px; margin-top: 10px;}
.comment .probel2 { margin-top: 3px;}
.comment .clearing2 {height: 0; clear: both; }
.comment .date2 { color: #999; font-size: 10px; padding-right: 20px; }
.comment .info a.imglink { display: block; width: 9px; height: 11px; text-decoration: none; position: relative; top: 5px;}
.comment .info ul li.goto-comment-parent a { text-decoration: none; border-bottom: 0px dotted #79B1D4; font-family: tahoma;}
.comment .info ul li.goto-comment-child a { text-decoration: none; border-bottom: 0px dotted #79B1D4; font-family: tahoma;}
сделал коряво, ну уж как умею
подправил
6 комментариев