aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-20 14:17:23 -0800
committerfriendica <info@friendica.com>2013-02-20 14:17:23 -0800
commit92f94a0fdc87088a8ce40b652f396bbac4801a42 (patch)
treeb470d26214ec50a9ac5b7441d695f281b3d5c9c0
parent9016b5c67aec817168b1b1b37f1c04690c49264a (diff)
downloadvolse-hubzilla-92f94a0fdc87088a8ce40b652f396bbac4801a42.tar.gz
volse-hubzilla-92f94a0fdc87088a8ce40b652f396bbac4801a42.tar.bz2
volse-hubzilla-92f94a0fdc87088a8ce40b652f396bbac4801a42.zip
contact_template is called from multiple places with different params
-rw-r--r--mod/connections.php2
-rw-r--r--mod/nogroup.php2
-rw-r--r--mod/viewconnections.php2
-rw-r--r--view/tpl/contact_template.tpl2
-rw-r--r--view/tpl/smarty3/contact_template.tpl2
5 files changed, 5 insertions, 5 deletions
diff --git a/mod/connections.php b/mod/connections.php
index 8e002d870..c98709470 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -594,7 +594,7 @@ function connections_content(&$a) {
'name' => $rr['xchan_name'],
'username' => $rr['xchan_name'],
'sparkle' => $sparkle,
- 'edit' => z_root() . '/connections/' . $rr['abook_id'],
+ 'link' => z_root() . '/connections/' . $rr['abook_id'],
'url' => $rr['xchan_url'],
'network' => network_to_name($rr['network']),
);
diff --git a/mod/nogroup.php b/mod/nogroup.php
index bd1ec82ed..31ccaadbf 100644
--- a/mod/nogroup.php
+++ b/mod/nogroup.php
@@ -48,7 +48,7 @@ function nogroup_content(&$a) {
'username' => $rr['name'],
'sparkle' => $sparkle,
'itemurl' => $rr['url'],
- 'url' => $url,
+ 'link' => $url,
'network' => network_to_name($rr['network']),
);
}
diff --git a/mod/viewconnections.php b/mod/viewconnections.php
index e6c739562..a08723ba2 100644
--- a/mod/viewconnections.php
+++ b/mod/viewconnections.php
@@ -70,7 +70,7 @@ function viewconnections_content(&$a) {
'thumb' => $rr['xchan_photo_m'],
'name' => substr($rr['xchan_name'],0,20),
'username' => $rr['xchan_addr'],
- 'url' => $url,
+ 'link' => $url,
'sparkle' => '',
'itemurl' => $rr['url'],
'network' => '',
diff --git a/view/tpl/contact_template.tpl b/view/tpl/contact_template.tpl
index 7bdcd6b93..905892d9f 100644
--- a/view/tpl/contact_template.tpl
+++ b/view/tpl/contact_template.tpl
@@ -1,7 +1,7 @@
<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
<div class="contact-entry-photo-wrapper" >
- <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" alt="$contact.name" /></a>
+ <a href="$contact.link" title="$contact.img_hover" /><img src="$contact.thumb" alt="$contact.name" /></a>
</div>
<div class="contact-entry-photo-end" ></div>
<div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div>
diff --git a/view/tpl/smarty3/contact_template.tpl b/view/tpl/smarty3/contact_template.tpl
index 496fb90ba..ee8dac10d 100644
--- a/view/tpl/smarty3/contact_template.tpl
+++ b/view/tpl/smarty3/contact_template.tpl
@@ -6,7 +6,7 @@
<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
<div class="contact-entry-photo-wrapper" >
- <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a>
+ <a href="{{$contact.link}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a>
</div>
<div class="contact-entry-photo-end" ></div>
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div>