diff options
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-x | view/theme/diabook/theme.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index a74e8c026..e8518a1c6 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -147,7 +147,6 @@ function diabook_community_info(){ } } - //right_aside FIND FRIENDS if(local_user()) { @@ -330,6 +329,7 @@ $a->page['htmlhead'] .= ' </script>'; + $a->page['htmlhead'] .= ' <script type="text/javascript"> @@ -480,7 +480,7 @@ function close_lastlikes(){ $a->page['htmlhead'] .= ' <script> -function insertFormatting(comment,BBcode,id) { +function insertFormatting(BBcode,id) { var tmpStr = $("#comment-edit-text-" + id).val(); if(tmpStr == comment) { @@ -508,4 +508,12 @@ function insertFormatting(comment,BBcode,id) { } return true; } + +function cmtBbOpen(id) { + $(".comment-edit-bb-" + id).show(); +} +function cmtBbClose(id) { + $(".comment-edit-bb-" + id).hide(); +} + </script> ';
\ No newline at end of file |