]> git.mxchange.org Git - friendica.git/blobdiff - view/comment_item.tpl
more poll stuff ahead of item revamp
[friendica.git] / view / comment_item.tpl
index 3ca190ba5be953db291b94fdf047a56ed2f9e6a4..b91be5ab5a172b65ce6a6a105435eb6e5ea3cd88 100644 (file)
@@ -1,16 +1,19 @@
 
-<div class="comment-edit" id="comment-edit-$id" onclick="openClose('comment-edit-wrapper-$id');" >Comments</div>
-<div class="comment-edit-wrapper" id="comment-edit-wrapper-$id" style="display: none;">
+
+<div class="comment-$wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
        <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" >
-               <input type="hidden" name="type" value="jot" />
+               <input type="hidden" name="type" value="wall-comment" />
                <input type="hidden" name="profile_uid" value="$profile_uid" />
                <input type="hidden" name="parent" value="$parent" />
-               <textarea rows="3" cols="40" id="comment-edit-text-$id" name="body" ></textarea>
+               <input type="hidden" name="return" value="$return_path" />
+
+               <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >Comment</textarea>
 
 
-               <div id="comment-edit-submit-wrapper" >
-                       <input type="submit" id="comment-edit-submit" name="submit" value="Submit" />
+               <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
+                       <input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
                </div>
+
                <div id="comment-edit-end"></div>
        </form>
 </div>