aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/mod/network.php b/mod/network.php
index 84efe52ba..13ce81abc 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -209,6 +209,7 @@ function network_content(&$a, $update = 0) {
intval($a->pager['start']),
intval($a->pager['itemspage'])
);
+
}
else {
@@ -315,11 +316,12 @@ function network_content(&$a, $update = 0) {
$drop = replace_macros($droptpl,array('$id' => $item['id']));
$lock = '<div class="wall-item-lock"></div>';
-
+
$o .= replace_macros($tpl,array(
'$id' => $item['item_id'],
'$linktitle' => t('View $name\'s profile'),
'$profile_url' => $profile_link,
+ '$item_photo_menu' => item_photo_menu($item),
'$name' => $profile_name,
'$sparkle' => $sparkle,
'$lock' => $lock,
@@ -543,7 +545,6 @@ function network_content(&$a, $update = 0) {
$indent .= ' shiny';
- $contact_url = $a->get_baseurl()."/contacts/".$item['cid'];
// Build the HTML
@@ -555,9 +556,7 @@ 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' => "",
+ '$item_photo_menu' => item_photo_menu($item),
'$name' => $profile_name,
'$thumb' => $profile_avatar,
'$osparkle' => $osparkle,