aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/display.php2
-rw-r--r--mod/network.php2
-rw-r--r--mod/photos.php2
-rw-r--r--mod/profile.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/display.php b/mod/display.php
index da931335c..7cefc42e6 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -234,7 +234,7 @@ function display_content(&$a) {
}
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
- $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id']));
+ $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
else
$drop = replace_macros(load_view_file('view/wall_fake_drop.tpl'), array('$id' => $item['id']));
diff --git a/mod/network.php b/mod/network.php
index a9de402a8..68c9656e5 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -354,7 +354,7 @@ function network_content(&$a, $update = 0) {
));
}
- $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id']));
+ $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
diff --git a/mod/photos.php b/mod/photos.php
index bd48cfc9f..c1c6a4133 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1148,7 +1148,7 @@ function photos_content(&$a) {
$drop = '';
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
- $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id']));
+ $drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
$o .= replace_macros($template,array(
diff --git a/mod/profile.php b/mod/profile.php
index 5cab6662a..15a3a861f 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -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']) : '');