aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index dcbadd2ba..c2a1d5338 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -3,6 +3,9 @@
function contacts_init(&$a) {
require_once('include/group.php');
$a->page['aside'] .= group_side();
+
+ if($a->config['register_policy'] != REGISTER_CLOSED)
+ $a->page['aside'] .= '<div class="side-invite-link-wrapper" id="side-invite-link-wrapper" ><a href="invite" class="side-invite-link" id="side-invite-link">' . t("Invite Friends") . '</a></div>';
}
function contacts_post(&$a) {