1
0
Fork 0

[Suggestion] Move New User Tip Link (#5342)

* Move new member tips to navigation bar.

The link looks so forlorn when its just somewhere in there. Put it in the nav bar.

* Style new member hints link propery.

* Make changes requested by @MrPetovan.
This commit is contained in:
Andreas Neustifter 2018-07-10 00:20:57 +02:00 committed by Hypolite Petovan
commit 09b7e217c7
5 changed files with 20 additions and 7 deletions

View file

@ -191,10 +191,6 @@ function profile_content(App $a, $update = 0)
$o .= Widget::commonFriendsVisitor($a->profile['profile_uid']);
if (x($_SESSION, 'new_member') && $is_owner) {
$o .= '<div id="newmember-tips"><a href="newmember"><b>' . L10n::t('Tips for New Members') . '</b></a></div>';
}
$commpage = $a->profile['page-flags'] == PAGE_COMMUNITY;
$commvisitor = $commpage && $remote_contact;