diff --git a/boot.php b/boot.php index 61f14d9bc0..742b6c6790 100644 --- 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 ); diff --git a/include/bb2diaspora.php b/include/bb2diaspora.php index eb709e01dc..0e001df350 100644 --- a/include/bb2diaspora.php +++ b/include/bb2diaspora.php @@ -173,9 +173,9 @@ function bb2diaspora($Text,$preserve_nl = false) { // html5 video and audio -// $Text = preg_replace("/\[video\](.*?)\[\/video\]/", '', $Text); + $Text = preg_replace("/\[video\](.*?)\[\/video\]/", '$1', $Text); -// $Text = preg_replace("/\[audio\](.*?)\[\/audio\]/", '', $Text); + $Text = preg_replace("/\[audio\](.*?)\[\/audio\]/", '$1', $Text); // $Text = preg_replace("/\[iframe\](.*?)\[\/iframe\]/", '', $Text); diff --git a/js/acl.js b/js/acl.js index b270adb6e3..12045fe521 100644 --- 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; } }); diff --git a/mod/acl.php b/mod/acl.php index 735c2c0b00..0fea6f7fc2 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -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",