aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-08-27 17:25:52 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-08-27 17:25:52 -0700
commit5d59a77cd97725b6db4a7ade0c97ee277ed4ce73 (patch)
tree607d82565c761456972bd932d9965e92a24e80d9
parent1ddb91a5a116a7895661ae527e194346f98da049 (diff)
downloadvolse-hubzilla-5d59a77cd97725b6db4a7ade0c97ee277ed4ce73.tar.gz
volse-hubzilla-5d59a77cd97725b6db4a7ade0c97ee277ed4ce73.tar.bz2
volse-hubzilla-5d59a77cd97725b6db4a7ade0c97ee277ed4ce73.zip
hide introduction link for self
-rw-r--r--view/profile.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/profile.php b/view/profile.php
index 64f8f410a..88cc8f2c7 100644
--- a/view/profile.php
+++ b/view/profile.php
@@ -20,7 +20,9 @@
<div id="profile-extra-links">
<ul>
+ <?php if($profile['uid'] != $_SESSION['uid']) { ?>
<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>'; ?>
</ul>