diff options
author | Michael <icarus@dabo.de> | 2012-05-16 08:10:28 +0200 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-05-16 08:10:28 +0200 |
commit | 2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7 (patch) | |
tree | 8c569c61c06e50c943addc132286d44c2f8ec178 /view/theme/dispy-dark/comment_item.tpl | |
parent | 188829ed46be6d3c7a91380226e26e8292c327be (diff) | |
parent | a3f08c44be78d4517e9f1619811def09b2ec7e7a (diff) | |
download | volse-hubzilla-2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7.tar.gz volse-hubzilla-2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7.tar.bz2 volse-hubzilla-2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7.zip |
Merge branch 'master' of github.com:annando/friendica
Diffstat (limited to 'view/theme/dispy-dark/comment_item.tpl')
-rw-r--r-- | view/theme/dispy-dark/comment_item.tpl | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/view/theme/dispy-dark/comment_item.tpl b/view/theme/dispy-dark/comment_item.tpl index adf2772af..b4fbae5df 100644 --- a/view/theme/dispy-dark/comment_item.tpl +++ b/view/theme/dispy-dark/comment_item.tpl @@ -11,14 +11,49 @@ <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> + <ul class="comment-edit-bb-$id"> + <li><a class="editicon boldbb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','b', $id);"></a></li> + <li><a class="editicon italicbb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','i', $id);"></a></li> + <li><a class="editicon underlinebb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','u', $id);"></a></li> + <li><a class="editicon quotebb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','quote', $id);"></a></li> + <li><a class="editicon codebb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','code', $id);"></a></li> + <li><a class="editicon imagebb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','img', $id);"></a></li> + <li><a class="editicon urlbb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','url', $id);"></a></li> + <li><a class="editicon videobb shadow" + style="cursor: pointer;" + onclick="insertFormatting('$comment','video', $id);"></a></li> + </ul> + <div class="comment-edit-bb-end"></div> + <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);" + placeholder="Comment">$comment</textarea> {{ if $qcomment }} <div class="qcomment-wrapper"> - <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);"> + <select id="qcomment-select-$id" + name="qcomment-$id" + class="qcomment" + onchange="qCommentInsert(this,$id);"> <option value=""></option> - {{ for $qcomment as $qc }} + {{ for $qcomment as $qc }} <option value="$qc">$qc</option> - {{ endfor }} + {{ endfor }} </select> </div> {{ endif }} |