put privacy role selector in settings page. Change visibility of various permissions items accordingly.

This commit is contained in:
friendica
2014-10-26 19:32:12 -07:00
parent d2af45d206
commit 655c3e1b47
6 changed files with 157 additions and 150 deletions

View File

@@ -734,6 +734,10 @@ function get_role_perms($role) {
function role_selector($current) {
if(! $current)
$current = 'custom';
$roles = array(
'social' => array( t('Social Networking'),
array('social' => t('Mostly Public'), 'social_restricted' => t('Restricted'), 'social_private' => t('Private'))),