provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now.

This commit is contained in:
friendica
2014-07-17 20:54:30 -07:00
parent 0cb81714d8
commit b19176169c
9 changed files with 56 additions and 28 deletions

View File

@@ -235,11 +235,11 @@ function connections_content(&$a) {
}
nav_set_selected('intros');
break;
case 'unconnected':
$search_flags = ABOOK_FLAG_UNCONNECTED;
$head = t('Unconnected');
$unconnected = true;
break;
// case 'unconnected':
// $search_flags = ABOOK_FLAG_UNCONNECTED;
// $head = t('Unconnected');
// $unconnected = true;
// break;
case 'all':
$head = t('All');
@@ -316,12 +316,12 @@ function connections_content(&$a) {
'title' => t('Only show hidden connections'),
),
array(
'label' => t('Unconnected'),
'url' => z_root() . '/connections/unconnected',
'sel' => ($unconnected) ? 'active' : '',
'title' => t('Only show one-way connections'),
),
// array(
// 'label' => t('Unconnected'),
// 'url' => z_root() . '/connections/unconnected',
// 'sel' => ($unconnected) ? 'active' : '',
// 'title' => t('Only show one-way connections'),
// ),
);