Merge remote-tracking branch 'upstream/dev' into website-import-remote

This commit is contained in:
Andrew Manning
2016-07-16 21:04:04 -04:00
34 changed files with 2628 additions and 2699 deletions

View File

@@ -609,6 +609,15 @@ function widget_settings_menu($arr) {
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
if(! UNO) {
$tabs[] = array(
'label' => t('Guest Access Tokens'),
'url' => z_root() . '/settings/tokens',
'selected' => ((argv(1) === 'tokens') ? 'active' : ''),
);
}
if($role === false || $role === 'custom') {
$tabs[] = array(
'label' => t('Connection Default Permissions'),