CR: added spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
e325c6ec85
commit
8e1b6186f1
1 changed files with 4 additions and 3 deletions
|
@ -55,7 +55,8 @@ function group_select($selname,$selclass,$preselected = false,$size = 4) {
|
||||||
return $o;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// @TODO after an optional parameter, no mandadory parameter can follow
|
||||||
|
/// @TODO find proper type-hints
|
||||||
function contact_selector($selname, $selclass, $preselected = false, $options) {
|
function contact_selector($selname, $selclass, $preselected = false, $options) {
|
||||||
|
|
||||||
$a = get_app();
|
$a = get_app();
|
||||||
|
@ -84,7 +85,7 @@ function contact_selector($selname, $selclass, $preselected = false, $options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (x($options, 'networks')) {
|
if (x($options, 'networks')) {
|
||||||
switch($options['networks']) {
|
switch ($options['networks']) {
|
||||||
case 'DFRN_ONLY':
|
case 'DFRN_ONLY':
|
||||||
$networks = array(NETWORK_DFRN);
|
$networks = array(NETWORK_DFRN);
|
||||||
break;
|
break;
|
||||||
|
@ -375,7 +376,7 @@ function populate_acl($user = null, $show_jotnets = false) {
|
||||||
'$aclModalTitle' => t('Permissions'),
|
'$aclModalTitle' => t('Permissions'),
|
||||||
'$aclModalDismiss' => t('Close'),
|
'$aclModalDismiss' => t('Close'),
|
||||||
'$features' => array(
|
'$features' => array(
|
||||||
'aclautomention' => (feature_enabled($user['uid'],"aclautomention")?"true":"false")
|
'aclautomention' => (feature_enabled($user['uid'], "aclautomention") ? "true" : "false")
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue