From: Andreas Gohr Date: Tue, 26 Aug 2014 09:41:51 +0000 (+0200) Subject: Merge commit '0ca5fea0cc893684982894e474a00176853535e6' into cweiske X-Git-Tag: 0.8.0~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1ddaa8817df4a82805ec3902c72554c411ad468;p=contagged Merge commit '0ca5fea0cc893684982894e474a00176853535e6' into cweiske * commit '0ca5fea0cc893684982894e474a00176853535e6': fix missing space in company address hide counter reset support non-http URLs in labeledURI fields (e.g. xmpp or mailto) support multiple URLs Conflicts: inc/functions.php --- f1ddaa8817df4a82805ec3902c72554c411ad468 diff --cc inc/functions.php index 301148c,add970c..2032a03 --- a/inc/functions.php +++ b/inc/functions.php @@@ -526,4 -526,24 +526,3 @@@ function get_fields_from_template($tpl) return $return; } -function addCoords(&$coords, $entry, $geocoder) -{ - $priv = $geocoder->getPrivateCoords($entry); - if ($priv !== null) { - $priv->address = '' - . $entry['givenname'] . ' ' . $entry['name'] . '
' - . str_replace("\n", '
', $entry['homestreet']); - $coords[] = $priv; - } - - $busi = $geocoder->getBusinessCoords($entry); - if ($busi !== null) { - $busi->address = '' . $entry['organization'] . '
' - . $entry['givenname'] . ' ' . $entry['name'] . '

' - . $entry['street'] . '
' - . $entry['zip'] . ' ' . $entry['location']; - $coords[] = $busi; - } -} - --?>