]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/theme.php
Merge branch 'master' of git://github.com/friendica/friendica
[friendica.git] / view / theme / diabook / theme.php
index 29e71c61154fcd18f45d1632761b5940da3b79c0..e8518a1c6f4423c38b08f2b68ceac21212ccb15a 100644 (file)
@@ -26,6 +26,7 @@ if ($color=="blue") $color_path = "/diabook-blue/";
 if ($color=="red") $color_path = "/diabook-red/";
 if ($color=="pink") $color_path = "/diabook-pink/";
 if ($color=="green") $color_path = "/diabook-green/";
+if ($color=="dark") $color_path = "/diabook-dark/";
 
 
 /**
@@ -146,7 +147,6 @@ function diabook_community_info(){
                }
        }
        
-       
    
    //right_aside FIND FRIENDS
        if(local_user()) {
@@ -329,6 +329,7 @@ $a->page['htmlhead'] .= '
    
  </script>';
  
 $a->page['htmlhead'] .= '
 
 <script type="text/javascript">
@@ -479,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) {
@@ -507,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