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
-10
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);
/**
+1
View File
@@ -440,6 +440,7 @@ class Post
'switchcomment' => DI::l10n()->t('Comment'),
'reply_label' => DI::l10n()->t('Reply to %s', $name_e),
'comment' => $comment,
'menu' => DI::l10n()->t('More'),
'previewing' => $conv->isPreview() ? ' preview ' : '',
'wait' => DI::l10n()->t('Please wait'),
'thread_level' => $thread_level,