mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Moved popup logic in boot.php, added 'item_photo_menu' hook
This commit is contained in:
parent
3f94721d62
commit
fe67c346e5
7 changed files with 72 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue