hide introduction link for self
This commit is contained in:
parent
1ddb91a5a1
commit
5d59a77cd9
1 changed files with 2 additions and 0 deletions
|
@ -20,7 +20,9 @@
|
||||||
|
|
||||||
<div id="profile-extra-links">
|
<div id="profile-extra-links">
|
||||||
<ul>
|
<ul>
|
||||||
|
<?php if($profile['uid'] != $_SESSION['uid']) { ?>
|
||||||
<li><a id="dfrn-request-link" href="dfrn_request/<?php echo $profile['nickname']; ?>">Introductions</a></li>
|
<li><a id="dfrn-request-link" href="dfrn_request/<?php echo $profile['nickname']; ?>">Introductions</a></li>
|
||||||
|
<?php } ?>
|
||||||
<?php if(! $profile['hide-friends']) echo '<li><a id="viewcontacts-link" href="viewcontacts/' . $profile['nickname'] . '">View Contacts</a></li>'; ?>
|
<?php if(! $profile['hide-friends']) echo '<li><a id="viewcontacts-link" href="viewcontacts/' . $profile['nickname'] . '">View Contacts</a></li>'; ?>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue