aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-03-31 16:52:51 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-03-31 16:52:51 +0200
commitfe67c346e5ed9f65fe25dd9337b6424c04d09c4a (patch)
tree1cf828c135b158fa81233fe0f411e1933efe2d69 /mod/network.php
parent3f94721d6257b4fe31054682b258223b992c4011 (diff)
downloadvolse-hubzilla-fe67c346e5ed9f65fe25dd9337b6424c04d09c4a.tar.gz
volse-hubzilla-fe67c346e5ed9f65fe25dd9337b6424c04d09c4a.tar.bz2
volse-hubzilla-fe67c346e5ed9f65fe25dd9337b6424c04d09c4a.zip
Moved popup logic in boot.php, added 'item_photo_menu' hook
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,