]> git.mxchange.org Git - friendica.git/commitdiff
audio/video bb tags showing up on Diaspora
authorfriendica <info@friendica.com>
Wed, 21 Dec 2011 01:01:41 +0000 (17:01 -0800)
committerfriendica <info@friendica.com>
Wed, 21 Dec 2011 01:01:41 +0000 (17:01 -0800)
boot.php
include/bb2diaspora.php
js/acl.js
mod/acl.php

index 61f14d9bc0654a597eff6ccbd1bc1c1e3b9db485..742b6c679072ddd3c64bdc4146b82e375f9e9ce9 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
 require_once('include/cache.php');
 
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
-define ( 'FRIENDICA_VERSION',      '2.3.1200' );
+define ( 'FRIENDICA_VERSION',      '2.3.1201' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    );
 define ( 'DB_UPDATE_VERSION',      1112      );
 
index eb709e01dc834c242e597e468d4309f0133fe093..0e001df3508a5682d4fafbb643fe0bb2b488d08f 100644 (file)
@@ -173,9 +173,9 @@ function bb2diaspora($Text,$preserve_nl = false) {
 
        // html5 video and audio
 
-//     $Text = preg_replace("/\[video\](.*?)\[\/video\]/", '<video src="$1" controls="controls" width="425" height="350"><a href="$1">$1</a></video>', $Text);
+       $Text = preg_replace("/\[video\](.*?)\[\/video\]/", '$1', $Text);
 
-//     $Text = preg_replace("/\[audio\](.*?)\[\/audio\]/", '<audio src="$1" controls="controls"><a href="$1">$1</a></audio>', $Text);
+       $Text = preg_replace("/\[audio\](.*?)\[\/audio\]/", '$1', $Text);
 
 //     $Text = preg_replace("/\[iframe\](.*?)\[\/iframe\]/", '<iframe src="$1" width="425" height="350"><a href="$1">$1</a></iframe>', $Text);
          
index b270adb6e3123640885718920e1cc6c2110ad2e9..12045fe521fedb3036a98f447ea54840621cb3a3 100644 (file)
--- a/js/acl.js
+++ b/js/acl.js
@@ -193,7 +193,8 @@ ACL.prototype.update_view = function(){
                                        bthide.addClass("selected");
                                        uclass="grouphide";
                                }
-                               
+
+
                                $(that.group_uids[id]).each(function(i,v){
                                        $("#c"+v).removeClass("groupshow grouphide").addClass(uclass);
                                });
@@ -208,6 +209,8 @@ ACL.prototype.update_view = function(){
                                        btshow.removeClass("selected");
                                        bthide.addClass("selected");
                                }                       
+                       default:
+                               break;
                }
                
        });
index 735c2c0b00653370e1b6f0d61cf33086d21dd781..0fea6f7fc20d06ca3da216ba209409fd4f7e4aeb 100644 (file)
@@ -60,8 +60,8 @@ function acl_init(&$a){
                        intval($count)
                );
 
-               
                foreach($r as $g){
+//             logger('acl: group: ' . $g['name'] . ' members: ' . $g['uids']);                
                        $groups[] = array(
                                "type"  => "g",
                                "photo" => "images/default-group-mm.png",