first cut on restructuring the previously called network tabs

This commit is contained in:
Mario Vavti
2018-05-30 14:02:58 +02:00
parent 7d088c8d56
commit 9fcb3bf2e8
5 changed files with 52 additions and 17 deletions

View File

@@ -3333,4 +3333,24 @@ function unique_multidim_array($array, $key) {
$i++;
}
return $temp_array;
}
}
function network_qstring($req) {
$ret = '?f=';
if(x($req, 'cid'))
$ret .= '&cid=' . $req['cid'];
if(x($req, 'gid'))
$ret .= '&gid=' . $req['gid'];
if(x($req, 'star'))
$ret .= '&star=' . $req['star'];
if(x($req, 'conv'))
$ret .= '&conv=' . $req['conv'];
return $ret;
}