aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-21 18:45:40 -0800
committerfriendica <info@friendica.com>2014-01-21 18:45:40 -0800
commit05951a9877a2e8d0369ae3201a4379016b9b4968 (patch)
treef74838d3b2b50065b14ad57a6905b800d3f88d75
parent55e4a53e019d8637eed4854601bcd22b3cc93f7a (diff)
downloadvolse-hubzilla-05951a9877a2e8d0369ae3201a4379016b9b4968.tar.gz
volse-hubzilla-05951a9877a2e8d0369ae3201a4379016b9b4968.tar.bz2
volse-hubzilla-05951a9877a2e8d0369ae3201a4379016b9b4968.zip
add primary webbie to directory popup
-rw-r--r--mod/directory.php1
-rw-r--r--mod/dirprofile.php1
-rwxr-xr-xview/tpl/direntry_large.tpl4
3 files changed, 6 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 53542db60..ff51b55db 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -173,6 +173,7 @@ function directory_content(&$a) {
'name' => $rr['name'],
'details' => $pdesc . $details,
'profile' => $profile,
+ 'address' => $rr['address'],
'location' => $location,
'gender' => $gender,
'pdesc' => $pdesc,
diff --git a/mod/dirprofile.php b/mod/dirprofile.php
index 0cd84b910..1593b014a 100644
--- a/mod/dirprofile.php
+++ b/mod/dirprofile.php
@@ -153,6 +153,7 @@ function dirprofile_init(&$a) {
'$name' => $rr['name'],
'$details' => $pdesc . $details,
'$profile' => $profile,
+ '$address' => $rr['address'],
'$location' => $location,
'$gender' => $gender,
'$pdesc' => $pdesc,
diff --git a/view/tpl/direntry_large.tpl b/view/tpl/direntry_large.tpl
index befd2a27a..a3fa7e4c3 100755
--- a/view/tpl/direntry_large.tpl
+++ b/view/tpl/direntry_large.tpl
@@ -12,10 +12,14 @@
<div class="clear"></div>
+
<div class="contact-name" id="directory-name-{{$id}}" >{{$name}}</div>
{{if $connect}}
<div class="directory-connect"><a href="{{$connect}}">{{$conn_label}}</a></div>
{{/if}}
+
+<div class="contact-webbie">{{$address}}</div>
+
<div class="contact-details">{{$details}}</div>
{{if $marital}}
<div class="directory-marital">{{$marital}} </div>