]> git.mxchange.org Git - friendica.git/commitdiff
remote self: There is now an option if the keyswords should be used as tags or not.
authorMichael Vogel <icarus@dabo.de>
Thu, 23 Oct 2014 23:37:33 +0000 (01:37 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 23 Oct 2014 23:37:33 +0000 (01:37 +0200)
include/items.php
mod/contacts.php
view/templates/contact_edit.tpl

index 2d6109b0f2884467368a41bb08297df71d4e18c3..53e8126a40df6eddd00f276530ea477d6b1b005c 100644 (file)
@@ -872,7 +872,7 @@ function get_atom_elements($feed, $item, $contact = array()) {
        }
 
        if (isset($contact["network"]) AND ($contact["network"] == NETWORK_FEED) AND $contact['fetch_further_information']) {
-               $res["body"] = $res["title"].add_page_info($res['plink'], false, "", true);
+               $res["body"] = $res["title"].add_page_info($res['plink'], false, "", ($contact['fetch_further_information'] == 2));
                $res["title"] = "";
                $res["object-type"] = ACTIVITY_OBJ_BOOKMARK;
        } elseif (isset($contact["network"]) AND ($contact["network"] == NETWORK_OSTATUS))
index b212803b32ef5dd58fc7d0590c3280aec936abe5..51ff4ed4bc1fc481dcc646ceb5ae34c76873e06d 100644 (file)
@@ -502,7 +502,8 @@ function contacts_content(&$a) {
                        '$archived' => (($contact['archive']) ? t('Currently archived') : ''),
                        '$hidden' => array('hidden', t('Hide this contact from others'), ($contact['hidden'] == 1), t('Replies/likes to your public posts <strong>may</strong> still be visible')),
                        '$notify' => array('notify', t('Notification for new posts'), ($contact['notify_new_posts'] == 1), t('Send a notification of every new post of this contact')),
-                       '$fetch_further_information' => array('fetch_further_information', t('Fetch further information for feeds'), ($contact['fetch_further_information'] == 1), t('Fetch further information for feeds')),
+                       '$fetch_further_information' => array('fetch_further_information', t('Fetch further information for feeds'), $contact['fetch_further_information'], t('Fetch further information for feeds'),
+                                                               array('0'=>t('Disabled'), '1'=>t('Fetch information'), '2'=>t('Fetch information and keywords'))),
                        '$photo' => $contact['photo'],
                        '$name' => $contact['name'],
                        '$dir_icon' => $dir_icon,
@@ -684,10 +685,10 @@ function contacts_content(&$a) {
                        );
                }
 
-               
+
 
        }
-       
+
        $tpl = get_markup_template("contacts-template.tpl");
        $o .= replace_macros($tpl, array(
                '$baseurl' => $a->get_baseurl(),
index 7f2e924842f24f37bbebe65fc840aed3f32cb6d0..133912bc94c988a68abbcf286f21545fcb05b477 100644 (file)
@@ -66,7 +66,7 @@
        {{/if}}
        <div id="contact-edit-end" ></div>
        {{include file="field_checkbox.tpl" field=$notify}}
-       {{include file="field_checkbox.tpl" field=$fetch_further_information}}
+       {{include file="field_select.tpl" field=$fetch_further_information}}
        {{include file="field_checkbox.tpl" field=$hidden}}
 
 <div id="contact-edit-info-wrapper">