aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-31 17:55:52 -0800
committerfriendica <info@friendica.com>2013-01-31 17:55:52 -0800
commit982034b87d341c0bbada64b48d8488a5d2ff711c (patch)
tree1c5b34934f1c91119a8c7e1b206cb3bc0f8fcae7 /view
parent808de7b447c5b5b06a1b314713b7473b3ea0a02f (diff)
downloadvolse-hubzilla-982034b87d341c0bbada64b48d8488a5d2ff711c.tar.gz
volse-hubzilla-982034b87d341c0bbada64b48d8488a5d2ff711c.tar.bz2
volse-hubzilla-982034b87d341c0bbada64b48d8488a5d2ff711c.zip
update friends in common tool now that poco is working
Diffstat (limited to 'view')
-rw-r--r--view/tpl/remote_friends_common.tpl6
-rw-r--r--view/tpl/smarty3/remote_friends_common.tpl6
2 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/remote_friends_common.tpl b/view/tpl/remote_friends_common.tpl
index 9e0562878..09ce3588e 100644
--- a/view/tpl/remote_friends_common.tpl
+++ b/view/tpl/remote_friends_common.tpl
@@ -4,13 +4,13 @@
{{ for $items as $item }}
<div class="profile-match-wrapper">
<div class="profile-match-photo">
- <a href="$item.url">
- <img src="$item.photo" width="80" height="80" alt="$item.name" title="$item.name" />
+ <a href="$base/chanview?f=&url=$item.xchan_url">
+ <img src="$item.xchan_photo_m" width="80" height="80" alt="$item.xchan_name" title="$item.xchan_name" />
</a>
</div>
<div class="profile-match-break"></div>
<div class="profile-match-name">
- <a href="$itemurl" title="$item.name">$item.name</a>
+ <a href="$base/chanview?f=&url=$item.xchan_url" title="$item.xchan_name">$item.xchan_name</a>
</div>
<div class="profile-match-end"></div>
</div>
diff --git a/view/tpl/smarty3/remote_friends_common.tpl b/view/tpl/smarty3/remote_friends_common.tpl
index 5844aac87..b1156a1a8 100644
--- a/view/tpl/smarty3/remote_friends_common.tpl
+++ b/view/tpl/smarty3/remote_friends_common.tpl
@@ -9,13 +9,13 @@
{{foreach $items as $item}}
<div class="profile-match-wrapper">
<div class="profile-match-photo">
- <a href="{{$item.url}}">
- <img src="{{$item.photo}}" width="80" height="80" alt="{{$item.name}}" title="{{$item.name}}" />
+ <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}">
+ <img src="{{$item.xchan_photo_m}}" width="80" height="80" alt="{{$item.xchan_name}}" title="{{$item.xchan_name}}" />
</a>
</div>
<div class="profile-match-break"></div>
<div class="profile-match-name">
- <a href="{{$itemurl}}" title="{{$item.name}}">{{$item.name}}</a>
+ <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}" title="{{$item.xchan_name}}">{{$item.xchan_name}}</a>
</div>
<div class="profile-match-end"></div>
</div>