From: friendica Date: Wed, 21 Mar 2012 13:48:04 +0000 (-0700) Subject: smooth the comix comment box X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56495e04b2c3ce600aa0c158f9ba8f92b6456d37;p=friendica.git smooth the comix comment box --- diff --git a/view/head.tpl b/view/head.tpl index c5f7a805a8..722c794414 100755 --- a/view/head.tpl +++ b/view/head.tpl @@ -34,14 +34,16 @@ function commentOpen(obj,id) { if(obj.value == '$comment') { obj.value = ''; - obj.className = "comment-edit-text-full"; + $("#comment-edit-text-" + id).addClass("comment-edit-text-full"); + $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty"); openMenu("comment-edit-submit-wrapper-" + id); } } function commentClose(obj,id) { if(obj.value == '') { obj.value = '$comment'; - obj.className="comment-edit-text-empty"; + $("#comment-edit-text-" + id).removeClass("comment-edit-text-full"); + $("#comment-edit-text-" + id).addClass("comment-edit-text-empty"); closeMenu("comment-edit-submit-wrapper-" + id); } } diff --git a/view/theme/comix/comment_item.tpl b/view/theme/comix/comment_item.tpl new file mode 100755 index 0000000000..9c3facaff0 --- /dev/null +++ b/view/theme/comix/comment_item.tpl @@ -0,0 +1,32 @@ +
+
+ + + + + + + +
+ $mytitle +
+
+ + {{ if $qcomment }} + {{ for $qcomment as $qc }} + $qc +   + {{ endfor }} + {{ endif }} + +
+ + +
+
+ +