Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: include/diaspora.php
This commit is contained in:
commit
cc5b0cde1d
1
boot.php
1
boot.php
@ -2009,7 +2009,6 @@ function load_pdl(&$a) {
|
||||
|
||||
if((! $s) && (($p = theme_include($n)) != ''))
|
||||
$s = @file_get_contents($p);
|
||||
|
||||
if($s) {
|
||||
comanche_parser($a, $s);
|
||||
$a->pdl = $s;
|
||||
|
@ -284,6 +284,11 @@ function comanche_widget($name, $text) {
|
||||
|
||||
if(file_exists('widget/' . trim($name) . '.php'))
|
||||
require_once('widget/' . trim($name) . '.php');
|
||||
else {
|
||||
$theme_widget = 'widget_' . trim($name) . '.php';
|
||||
if(theme_include($theme_widget))
|
||||
require_once(theme_include($theme_widget));
|
||||
}
|
||||
|
||||
$func = 'widget_' . trim($name);
|
||||
if (function_exists($func))
|
||||
|
@ -3386,7 +3386,7 @@ function post_is_importable($item,$abook) {
|
||||
|
||||
$lang = null;
|
||||
|
||||
if((strpos($abook['abook_incl'],'lang=') !== false) || (strpos($abook['abook_incl'],'lang=') !== false))
|
||||
if((strpos($abook['abook_incl'],'lang=') !== false) || (strpos($abook['abook_excl'],'lang=') !== false))
|
||||
$lang = detect_language($text);
|
||||
|
||||
$tags = ((count($item['term'])) ? $item['term'] : false);
|
||||
|
@ -1256,7 +1256,8 @@ function public_recips($msg) {
|
||||
$include_sys = false;
|
||||
|
||||
if($msg['message']['type'] === 'activity') {
|
||||
$include_sys = true;
|
||||
if(! get_config('system','disable_discover_tab'))
|
||||
$include_sys = true;
|
||||
$col = 'channel_w_stream';
|
||||
$field = PERMS_W_STREAM;
|
||||
if(array_key_exists('flags',$msg['message']) && in_array('thread_parent', $msg['message']['flags'])) {
|
||||
|
@ -148,10 +148,9 @@ function events_post(&$a) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Note: do not set `private` field for self-only events. It will
|
||||
// keep even you from seeing them!
|
||||
$str_contact_allow = '<' . $channel['channel_hash'] . '>';
|
||||
$str_group_allow = $str_contact_deny = $str_group_deny = '';
|
||||
$private_event = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2015-07-21.1100
|
||||
2015-07-23.1102
|
||||
|
Reference in New Issue
Block a user