]> git.mxchange.org Git - friendica.git/commitdiff
profile match
authorFriendika <info@friendika.com>
Tue, 22 Mar 2011 04:43:22 +0000 (21:43 -0700)
committerFriendika <info@friendika.com>
Tue, 22 Mar 2011 04:43:22 +0000 (21:43 -0700)
mod/contacts.php
mod/match.php
view/theme/duepuntozero/style.css
view/theme/loozah/style.css

index c1455ec54dea27c42b6e9da9abb4b12996425703..aee6548fe6a225e9fccb67b28911e9d4aabdf687 100644 (file)
@@ -9,7 +9,10 @@ function contacts_init(&$a) {
        $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>';
+               $a->page['aside'] .= '<div class="side-link" id="side-invite-link" ><a href="invite" >' . t("Invite Friends") . '</a></div>';
+
+       if(strlen(get_config('system','directory_submit_url')))
+               $a->page['aside'] .= '<div class="side-link" id="side-match-link"><a href="match" >' . t('Find People With Shared Interests') . '</a></div>';
 
        $tpl = load_view_file('view/follow.tpl');
        $a->page['aside'] .= replace_macros($tpl,array(
@@ -18,6 +21,8 @@ function contacts_init(&$a) {
                '$follow' => t('Follow')
        ));
 
+
+
 }
 
 function contacts_post(&$a) {
index f3c78bc7dcd082e9bc1c6b45f93af0607a9c2183..7228529d74eb9bc136715c6e8d8235f6b1bb93d1 100644 (file)
@@ -7,7 +7,7 @@ function match_content(&$a) {
        if(! local_user())
                return;
 
-       $o .= '<h2>' . t('Profile Keyword Match') . '</h2>';
+       $o .= '<h2>' . t('Profile Match') . '</h2>';
 
        $r = q("SELECT `pub_keywords`, `prv_keywords` FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1",
                intval(local_user())
index db73886e2fc077073a5a4a744acfbf2b7d204a6d..4f6d6c196c3448bd28a3bff7d5cc59d8b8ae437c 100644 (file)
@@ -2154,7 +2154,7 @@ a.mail-list-link {
        float: left;
        text-align: center;
        width: 120px;
-       overflow: clip;
+       overflow: hidden;
 }
 
 .profile-match-break,
@@ -2162,3 +2162,6 @@ a.mail-list-link {
        clear: both;
 }
 
+.side-link {
+       margin-bottom: 15px;
+}
index 69dee0dc9a3d301e3b05ae227b4d25a926e3002a..49c83c83c4ad8cf87c9f8acf7c25e95283b10920 100644 (file)
@@ -2180,7 +2180,7 @@ a.mail-list-link {
        float: left;
        text-align: center;
        width: 120px;
-       overflow: clip;
+       overflow: hidden;
 }
 
 .profile-match-break,
@@ -2188,3 +2188,6 @@ a.mail-list-link {
        clear: both;
 }
 
+.side-link {
+       margin-bottom: 15px;
+}