]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
silence parse_url on hostile input, need to get_app() for proc_run php location
[friendica.git] / mod / profile.php
index 46d13298e004e6eb22c35f1401be1f6c41f4437d..15a3a861f969d36028799d1323af508fb3b96597 100644 (file)
@@ -339,7 +339,7 @@ function profile_content(&$a, $update = 0) {
                        if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
                                $dropping = true;
 
-                       $drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id']));
+                       $drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id'], '$delete' => t('Delete')));
 
 
                        $like    = ((isset($alike[$item['id']])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : '');
@@ -360,7 +360,7 @@ function profile_content(&$a, $update = 0) {
 
                        $tmp_item = replace_macros($template,array(
                                '$id' => $item['item_id'],
-                               '$title' => t('View $name\'s profile'),
+                               '$linktitle' => t('View $name\'s profile'),
                                '$profile_url' => $profile_link,
                                '$name' => $profile_name,
                                '$thumb' => $profile_avatar,