1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 09:18:18 +03:00

fix template

This commit is contained in:
Mzhelskiy Maxim 2012-06-28 09:09:06 +04:00
parent 4f17a00eef
commit 317a88ed5e

View file

@ -6,32 +6,6 @@
}
{*
{if $oUserCurrent}
<script type="text/javascript">
jQuery(document).ready(function($){
$(document).click(function(){
if (!$('#reply-top-form').is(':visible')) {
$('#reply').hide();
$('#reply-top-form').show();
}
});
$('body').on('click', '#reply-top', function(e) {
e.stopPropagation();
});
});
ls.comments.expandReplyTop = function() {
$('#reply').show().appendTo('#reply-top');
$('#reply-top-form').hide();
$('#form_comment_text').val('');
$('#form_comment_reply').val(0);
}
</script>
{/if}
*}
<div class="comments" id="comments">
<header class="comments-header">
<h3>{$iCountComment} {$iCountComment|declension:$aLang.comment_declension:'russian'}</h3>
@ -45,16 +19,6 @@
<a name="comments"></a>
</header>
{*
{if $oUserCurrent}
<div id="reply-top">
<div class="wall-submit wall-submit-reply wall-submit-comment" id="reply-top-form">
<textarea rows="4" class="input-text input-width-full" placeholder="{$aLang.wall_reply_placeholder}" onclick="ls.comments.expandReplyTop();"></textarea>
</div>
</div>
{/if}
*}
{assign var="nesting" value="-1"}
{foreach from=$aComments item=oComment name=rublist}