aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirprofile.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-08 14:11:39 -0800
committerfriendica <info@friendica.com>2014-01-08 14:11:39 -0800
commit29db2369811ba35515d285491ce089d937ed8d29 (patch)
tree961e460561b94f9a16c7fda4de965ec983649684 /mod/dirprofile.php
parent73102f0c261be1ca54bf454264ea85fa266bfab8 (diff)
downloadvolse-hubzilla-29db2369811ba35515d285491ce089d937ed8d29.tar.gz
volse-hubzilla-29db2369811ba35515d285491ce089d937ed8d29.tar.bz2
volse-hubzilla-29db2369811ba35515d285491ce089d937ed8d29.zip
qr enhancements
Diffstat (limited to 'mod/dirprofile.php')
-rw-r--r--mod/dirprofile.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/dirprofile.php b/mod/dirprofile.php
index ba056e864..0cd84b910 100644
--- a/mod/dirprofile.php
+++ b/mod/dirprofile.php
@@ -70,6 +70,8 @@ function dirprofile_init(&$a) {
$profile_link = chanlink_url($rr['url']);
$pdesc = (($rr['description']) ? $rr['description'] . '<br />' : '');
+
+ $qrlink = zid($rr['url']);
$connect_link = ((local_user()) ? z_root() . '/follow?f=&url=' . urlencode($rr['address']) : '');
if(in_array($rr['hash'],$contacts))
@@ -145,6 +147,7 @@ function dirprofile_init(&$a) {
$entry = replace_macros(get_markup_template('direntry_large.tpl'), array(
'$id' => ++$t,
'$profile_link' => $profile_link,
+ '$qrlink' => $qrlink,
'$photo' => $rr['photo_l'],
'$alttext' => $rr['name'] . ' ' . $rr['address'],
'$name' => $rr['name'],