Useless links removed / Item menu is moved to the item actions bar

This commit is contained in:
Michael 2020-02-06 22:06:24 +00:00
parent dad6b43689
commit 6e02105d88
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);
/**