aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/duepuntozero/tpl/comment_item.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/duepuntozero/tpl/comment_item.tpl')
-rwxr-xr-xview/theme/duepuntozero/tpl/comment_item.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/theme/duepuntozero/tpl/comment_item.tpl b/view/theme/duepuntozero/tpl/comment_item.tpl
index 63c05f335..f64ae753b 100755
--- a/view/theme/duepuntozero/tpl/comment_item.tpl
+++ b/view/theme/duepuntozero/tpl/comment_item.tpl
@@ -1,6 +1,10 @@
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
+ {{ if $threaded }}
<span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ {{ else }}
+ <form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ {{ endif }}
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="profile_uid" value="$profile_uid" />
<input type="hidden" name="parent" value="$parent" />