aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-03-30 17:10:14 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-03-30 17:10:14 +0200
commit3f94721d6257b4fe31054682b258223b992c4011 (patch)
tree65ec079df32c9d3ae0bb9696f62178ff96bf06cc /mod
parent9acccb2b90ff5276c0cc84b3b006c7a393c53786 (diff)
downloadvolse-hubzilla-3f94721d6257b4fe31054682b258223b992c4011.tar.gz
volse-hubzilla-3f94721d6257b4fe31054682b258223b992c4011.tar.bz2
volse-hubzilla-3f94721d6257b4fe31054682b258223b992c4011.zip
first work
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index 39679b48a..84efe52ba 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -543,6 +543,8 @@ function network_content(&$a, $update = 0) {
$indent .= ' shiny';
+ $contact_url = $a->get_baseurl()."/contacts/".$item['cid'];
+
// Build the HTML
$tmp_item = replace_macros($template,array(
@@ -553,6 +555,9 @@ function network_content(&$a, $update = 0) {
'$wall' => t('Wall-to-Wall'),
'$vwall' => t('via Wall-To-Wall:'),
'$profile_url' => $profile_link,
+ '$profile_tab_url' => $profile_link."?tab=profile", //don't work with secure redirects
+ '$contact_url' => $contact_url,
+ '$pm_url' => "",
'$name' => $profile_name,
'$thumb' => $profile_avatar,
'$osparkle' => $osparkle,
@@ -596,4 +601,4 @@ function network_content(&$a, $update = 0) {
}
return $o;
-} \ No newline at end of file
+}