aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.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/profile.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/profile.php')
-rw-r--r--mod/profile.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 17f6a2d45..ab1e8f738 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -454,10 +454,12 @@ function profile_content(&$a, $update = 0) {
if(strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC','now - 12 hours')) > 0)
$indent .= ' shiny';
+
$tmp_item = replace_macros($template,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,
'$thumb' => $profile_avatar,
'$sparkle' => $sparkle,