1
0
Fork 0

Vier: Now there are buttons for inserting bbcode elements in the comments

This commit is contained in:
Michael Vogel 2012-12-20 03:33:36 +01:00
commit 330960f8f7
4 changed files with 99 additions and 7 deletions

View file

@ -12,7 +12,7 @@ $a->theme_info = array();
function vier_init(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>
/*function insertFormatting(comment,BBcode,id) {
function insertFormatting(comment,BBcode,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
if(tmpStr == comment) {
@ -41,7 +41,7 @@ $a->page['htmlhead'] .= <<< EOT
}
return true;
}
*/
function showThread(id) {
$("#collapsed-comments-" + id).show()
@ -52,13 +52,15 @@ function hideThread(id) {
$("#collapsed-comments-" + id + " .collapsed-comments").hide()
}
/*
function cmtBbOpen(id) {
$("#comment-edit-bb-" + id).show();
}
function cmtBbClose(id) {
$("#comment-edit-bb-" + id).hide();
}
/*
$(document).ready(function() {
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });