parent
90b1355555
commit
3b1d89252a
|
@ -376,17 +376,17 @@ function conversation(App $a, array $items, $mode, $update, $preview = false, $o
|
||||||
. "<script> var profile_uid = " . $_SESSION['uid']
|
. "<script> var profile_uid = " . $_SESSION['uid']
|
||||||
. "; var netargs = '" . substr(DI::args()->getCommand(), 8)
|
. "; var netargs = '" . substr(DI::args()->getCommand(), 8)
|
||||||
. '?f='
|
. '?f='
|
||||||
. (!empty($_GET['cid']) ? '&cid=' . rawurlencode($_GET['cid']) : '')
|
. (!empty($_GET['contactid']) ? '&contactid=' . rawurlencode($_GET['contactid']) : '')
|
||||||
. (!empty($_GET['search']) ? '&search=' . rawurlencode($_GET['search']) : '')
|
. (!empty($_GET['search']) ? '&search=' . rawurlencode($_GET['search']) : '')
|
||||||
. (!empty($_GET['star']) ? '&star=' . rawurlencode($_GET['star']) : '')
|
. (!empty($_GET['star']) ? '&star=' . rawurlencode($_GET['star']) : '')
|
||||||
. (!empty($_GET['order']) ? '&order=' . rawurlencode($_GET['order']) : '')
|
. (!empty($_GET['order']) ? '&order=' . rawurlencode($_GET['order']) : '')
|
||||||
. (!empty($_GET['bmark']) ? '&bmark=' . rawurlencode($_GET['bmark']) : '')
|
. (!empty($_GET['bmark']) ? '&bmark=' . rawurlencode($_GET['bmark']) : '')
|
||||||
. (!empty($_GET['liked']) ? '&liked=' . rawurlencode($_GET['liked']) : '')
|
. (!empty($_GET['liked']) ? '&liked=' . rawurlencode($_GET['liked']) : '')
|
||||||
. (!empty($_GET['conv']) ? '&conv=' . rawurlencode($_GET['conv']) : '')
|
. (!empty($_GET['conv']) ? '&conv=' . rawurlencode($_GET['conv']) : '')
|
||||||
. (!empty($_GET['nets']) ? '&nets=' . rawurlencode($_GET['nets']) : '')
|
. (!empty($_GET['nets']) ? '&nets=' . rawurlencode($_GET['nets']) : '')
|
||||||
. (!empty($_GET['cmin']) ? '&cmin=' . rawurlencode($_GET['cmin']) : '')
|
. (!empty($_GET['cmin']) ? '&cmin=' . rawurlencode($_GET['cmin']) : '')
|
||||||
. (!empty($_GET['cmax']) ? '&cmax=' . rawurlencode($_GET['cmax']) : '')
|
. (!empty($_GET['cmax']) ? '&cmax=' . rawurlencode($_GET['cmax']) : '')
|
||||||
. (!empty($_GET['file']) ? '&file=' . rawurlencode($_GET['file']) : '')
|
. (!empty($_GET['file']) ? '&file=' . rawurlencode($_GET['file']) : '')
|
||||||
|
|
||||||
. "'; </script>\r\n";
|
. "'; </script>\r\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,8 +58,8 @@ function network_init(App $a)
|
||||||
$group_id = (($a->argc > 1 && is_numeric($a->argv[1])) ? intval($a->argv[1]) : 0);
|
$group_id = (($a->argc > 1 && is_numeric($a->argv[1])) ? intval($a->argv[1]) : 0);
|
||||||
|
|
||||||
$cid = 0;
|
$cid = 0;
|
||||||
if (!empty($_GET['cid'])) {
|
if (!empty($_GET['contactid'])) {
|
||||||
$cid = $_GET['cid'];
|
$cid = $_GET['contactid'];
|
||||||
$_GET['nets'] = '';
|
$_GET['nets'] = '';
|
||||||
$group_id = 0;
|
$group_id = 0;
|
||||||
}
|
}
|
||||||
|
@ -466,12 +466,12 @@ function networkThreadedView(App $a, $update, $parent)
|
||||||
|
|
||||||
$o = '';
|
$o = '';
|
||||||
|
|
||||||
$cid = intval($_GET['cid'] ?? 0);
|
$cid = intval($_GET['contactid'] ?? 0);
|
||||||
$star = intval($_GET['star'] ?? 0);
|
$star = intval($_GET['star'] ?? 0);
|
||||||
$bmark = intval($_GET['bmark'] ?? 0);
|
$bmark = intval($_GET['bmark'] ?? 0);
|
||||||
$conv = intval($_GET['conv'] ?? 0);
|
$conv = intval($_GET['conv'] ?? 0);
|
||||||
$order = Strings::escapeTags(($_GET['order'] ?? '') ?: 'activity');
|
$order = Strings::escapeTags(($_GET['order'] ?? '') ?: 'activity');
|
||||||
$nets = $_GET['nets'] ?? '';
|
$nets = $_GET['nets'] ?? '';
|
||||||
|
|
||||||
$allowedCids = [];
|
$allowedCids = [];
|
||||||
if ($cid) {
|
if ($cid) {
|
||||||
|
@ -891,8 +891,8 @@ function network_tabs(App $a)
|
||||||
$cmd = DI::args()->getCommand();
|
$cmd = DI::args()->getCommand();
|
||||||
|
|
||||||
$def_param = [];
|
$def_param = [];
|
||||||
if (!empty($_GET['cid'])) {
|
if (!empty($_GET['contactid'])) {
|
||||||
$def_param['cid'] = $_GET['cid'];
|
$def_param['contactid'] = $_GET['contactid'];
|
||||||
}
|
}
|
||||||
|
|
||||||
// tabs
|
// tabs
|
||||||
|
|
|
@ -126,7 +126,7 @@ class ForumManager
|
||||||
$selected = (($cid == $contact['id']) ? ' forum-selected' : '');
|
$selected = (($cid == $contact['id']) ? ' forum-selected' : '');
|
||||||
|
|
||||||
$entry = [
|
$entry = [
|
||||||
'url' => 'network?cid=' . $contact['id'],
|
'url' => 'network?contactid=' . $contact['id'],
|
||||||
'external_url' => Contact::magicLink($contact['url']),
|
'external_url' => Contact::magicLink($contact['url']),
|
||||||
'name' => $contact['name'],
|
'name' => $contact['name'],
|
||||||
'cid' => $contact['id'],
|
'cid' => $contact['id'],
|
||||||
|
|
|
@ -202,7 +202,7 @@ function vier_community_info()
|
||||||
$selected = (($cid == $contact['id']) ? ' forum-selected' : '');
|
$selected = (($cid == $contact['id']) ? ' forum-selected' : '');
|
||||||
|
|
||||||
$entry = [
|
$entry = [
|
||||||
'url' => 'network?cid=' . $contact['id'],
|
'url' => 'network?contactid=' . $contact['id'],
|
||||||
'external_url' => Contact::magicLink($contact['url']),
|
'external_url' => Contact::magicLink($contact['url']),
|
||||||
'name' => $contact['name'],
|
'name' => $contact['name'],
|
||||||
'cid' => $contact['id'],
|
'cid' => $contact['id'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user