Skip to content

Commit

Permalink
Use new add/edit comment link in old profile sidebar.
Browse files Browse the repository at this point in the history
  • Loading branch information
thisismeonmounteverest committed Oct 23, 2022
1 parent 7f8eec5 commit e9c6ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/members/pages/member.page.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ protected function getSubmenuItems()
$feedbackUrl .= "&messageId=" . $this->message;
}
$tt = array_merge($tt, [
(isset($TCom[0])) ? array('commmentsadd', "members/$username/comments/edit", '<i class="fa fa-fw fa-comment"></i> ' . $ww->EditComments, 'commentsadd') : array('commmentsadd', "members/$username/comments/add", '<i class="fa fa-fw fa-comment"></i> ' . $ww->AddComments, 'commentsadd'),
(isset($TCom[0])) ? array('commmentsadd', "members/$username/comment/edit", '<i class="fa fa-fw fa-comment"></i> ' . $ww->EditComments, 'commentsadd') : array('commmentsadd', "members/$username/comment/add", '<i class="fa fa-fw fa-comment"></i> ' . $ww->AddComments, 'commentsadd'),
array('relationsadd', "members/$username/relations/add", '<i class="fa fa-fw fa-handshake"></i> ' . $ww->addRelation, 'relationsadd'),
array('notes', $mynotelinkname, '<i class="fa fa-fw fa-pencil-alt"></i> ' . $mynotewordsname, 'mynotes'),
array('report', $feedbackUrl, '<i class="fas fa-fw fa-flag"></i> ' . $words->getSilent('profile.report')),
Expand Down

0 comments on commit e9c6ee2

Please sign in to comment.