diff options
Diffstat (limited to 'view/theme/loozah')
-rwxr-xr-x | view/theme/loozah/comment_item.tpl | 32 | ||||
-rwxr-xr-x | view/theme/loozah/jot.tpl | 2 | ||||
-rwxr-xr-x | view/theme/loozah/wall_item.tpl | 2 | ||||
-rwxr-xr-x | view/theme/loozah/wallwall_item.tpl | 2 |
4 files changed, 35 insertions, 3 deletions
diff --git a/view/theme/loozah/comment_item.tpl b/view/theme/loozah/comment_item.tpl new file mode 100755 index 000000000..b29735227 --- /dev/null +++ b/view/theme/loozah/comment_item.tpl @@ -0,0 +1,32 @@ + <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" onsubmit="post_comment($id); return false;"> + <input type="hidden" name="type" value="$type" /> + <input type="hidden" name="profile_uid" value="$profile_uid" /> + <input type="hidden" name="parent" value="$parent" /> + <input type="hidden" name="return" value="$return_path" /> + <input type="hidden" name="jsreload" value="$jsreload" /> + <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" /> + + <div class="comment-edit-photo" id="comment-edit-photo-$id" > + <a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a> + </div> + <div class="comment-edit-photo-end"></div> + <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea> + {{ if $qcomment }} + {{ for $qcomment as $qc }} + <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span> + + {{ endfor }} + {{ endif }} + + <div class="comment-edit-text-end"></div> + <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" > + <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" /> + <span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="fakelink">$preview</span> + <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div> + </div> + + <div class="comment-edit-end"></div> + </form> + + </div> diff --git a/view/theme/loozah/jot.tpl b/view/theme/loozah/jot.tpl index 9bda1868e..ac64223fb 100755 --- a/view/theme/loozah/jot.tpl +++ b/view/theme/loozah/jot.tpl @@ -19,7 +19,6 @@ <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea> - {{ if $content }}<script>initEditor();</script>{{ endif }} <div id="profile-jot-submit-wrapper" style="display:none" class="jothidden"> <input type="submit" id="profile-jot-submit" name="submit" value="$share" /> @@ -82,3 +81,4 @@ <div id="profile-jot-end"></div> </form> </div> + {{ if $content }}<script>initEditor();</script>{{ endif }} diff --git a/view/theme/loozah/wall_item.tpl b/view/theme/loozah/wall_item.tpl index e2b7c9c5a..727e3d1c2 100755 --- a/view/theme/loozah/wall_item.tpl +++ b/view/theme/loozah/wall_item.tpl @@ -36,7 +36,7 @@ <div class="wall-item-like-buttons" id="wall-item-like-buttons-$id"> <a href="#" class="icon like" title="$vote.like.0" onclick="dolike($id,'like'); return false"></a> <a href="#" class="icon dislike" title="$vote.dislike.0" onclick="dolike($id,'dislike'); return false"></a> - {{ if $vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title=""$vote.share.0" onclick="jotShare($id); return false"></a>{{ endif }} + {{ if $vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$vote.share.0" onclick="jotShare($id); return false"></a>{{ endif }} <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> </div> {{ endif }} diff --git a/view/theme/loozah/wallwall_item.tpl b/view/theme/loozah/wallwall_item.tpl index aaa542760..09de86c7b 100755 --- a/view/theme/loozah/wallwall_item.tpl +++ b/view/theme/loozah/wallwall_item.tpl @@ -40,7 +40,7 @@ <div class="wall-item-like-buttons" id="wall-item-like-buttons-$id"> <a href="#" class="icon like" title="$vote.like.0" onclick="dolike($id,'like'); return false"></a> <a href="#" class="icon dislike" title="$vote.dislike.0" onclick="dolike($id,'dislike'); return false"></a> - {{ if $vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title=""$vote.share.0" onclick="jotShare($id); return false"></a>{{ endif }} + {{ if $vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$vote.share.0" onclick="jotShare($id); return false"></a>{{ endif }} <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> </div> {{ endif }} |