aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/comment_item.tpl
diff options
context:
space:
mode:
authorVasudev Kamath <kamathvasudev@gmail.com>2012-04-22 12:08:05 +0530
committerVasudev Kamath <kamathvasudev@gmail.com>2012-04-22 12:08:05 +0530
commitf1d84c10458986a0a014f844e784617401764b29 (patch)
treea9428755260c3e132ccc507e1df4656431964c43 /view/theme/diabook/comment_item.tpl
parent4499ce96a0c5fd7ca9feb2b9b5e62876155aa63e (diff)
parent54817f058a4f62301525950d8cdf0189b4d964dc (diff)
downloadvolse-hubzilla-f1d84c10458986a0a014f844e784617401764b29.tar.gz
volse-hubzilla-f1d84c10458986a0a014f844e784617401764b29.tar.bz2
volse-hubzilla-f1d84c10458986a0a014f844e784617401764b29.zip
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'view/theme/diabook/comment_item.tpl')
-rw-r--r--view/theme/diabook/comment_item.tpl18
1 files changed, 10 insertions, 8 deletions
diff --git a/view/theme/diabook/comment_item.tpl b/view/theme/diabook/comment_item.tpl
index ee4dfba45..6843f958c 100644
--- a/view/theme/diabook/comment_item.tpl
+++ b/view/theme/diabook/comment_item.tpl
@@ -11,14 +11,16 @@
<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);tautogrow($id)" onBlur="commentClose(this,$id);" >$comment</textarea>
- <a class="icon bb-image" style="cursor: pointer;" onclick="insertFormatting('$comment','img',$id);">img</a>
- <a class="icon bb-url" style="cursor: pointer;" onclick="insertFormatting('$comment','url',$id);">url</a>
- <a class="icon bb-video" style="cursor: pointer;" onclick="insertFormatting('$comment','video',$id);">video</a>
- <a class="icon underline" style="cursor: pointer;" onclick="insertFormatting('$comment','u',$id);">u</a>
- <a class="icon italic" style="cursor: pointer;" onclick="insertFormatting('$comment','i',$id);">i</a>
- <a class="icon bold" style="cursor: pointer;" onclick="insertFormatting('$comment','b',$id);">b</a>
- <a class="icon quote" style="cursor: pointer;" onclick="insertFormatting('$comment','quote',$id);">quote</a>
+ <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);tautogrow($id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>
+ <div class="comment-edit-bb-$id" style="display:none;">
+ <a class="icon bb-image" style="cursor: pointer;" onclick="insertFormatting('img',$id);">img</a>
+ <a class="icon bb-url" style="cursor: pointer;" onclick="insertFormatting('url',$id);">url</a>
+ <a class="icon bb-video" style="cursor: pointer;" onclick="insertFormatting('video',$id);">video</a>
+ <a class="icon underline" style="cursor: pointer;" onclick="insertFormatting('u',$id);">u</a>
+ <a class="icon italic" style="cursor: pointer;" onclick="insertFormatting('i',$id);">i</a>
+ <a class="icon bold" style="cursor: pointer;" onclick="insertFormatting('b',$id);">b</a>
+ <a class="icon quote" style="cursor: pointer;" onclick="insertFormatting('quote',$id);">quote</a>
+ </div>
{{ if $qcomment }}
<select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
<option value=""></option>