Merge pull request #8249 from annando/a11y-4

Useless links removed / Item menu is moved to the item actions bar
This commit is contained in:
Hypolite Petovan 2020-02-07 06:55:20 -05:00 committed by GitHub
commit 1a3807d598
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 88 additions and 108 deletions

View file

@ -184,16 +184,6 @@ class Profile
require_once $theme_info_file;
}
if (local_user() && local_user() == $a->profile['uid'] && $profiledata) {
DI::page()['aside'] .= Renderer::replaceMacros(
Renderer::getMarkupTemplate('settings/profile/link.tpl'),
[
'$editprofile' => DI::l10n()->t('Edit profile'),
'$profid' => $a->profile['id']
]
);
}
$block = ((DI::config()->get('system', 'block_public') && !Session::isAuthenticated()) ? true : false);
/**