aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-18 00:30:34 -0700
committerFriendika <info@friendika.com>2011-03-18 00:30:34 -0700
commit9f5201dcaa4737427da7ec37969556c574e4711f (patch)
treea47c58b36c8399921e261bfaa0387f2b14edaa67 /mod/network.php
parentea03d9fa86827cbc7e86885bbe2493d8a9739546 (diff)
downloadvolse-hubzilla-9f5201dcaa4737427da7ec37969556c574e4711f.tar.gz
volse-hubzilla-9f5201dcaa4737427da7ec37969556c574e4711f.tar.bz2
volse-hubzilla-9f5201dcaa4737427da7ec37969556c574e4711f.zip
edit posting after submission
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/network.php b/mod/network.php
index abdf59c48..81c85f0ff 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -387,6 +387,9 @@ function network_content(&$a, $update = 0) {
));
}
+ $edpost = '';
+ if(($item['id'] == $item['parent']) && (intval($item['wall']) == 1))
+ $edpost = '<a class="editpost" href="' . $a->get_baseurl() . '/editpost/' . $item['id'] . '" title="' . t('Edit') . '"><img src="images/pencil.gif" /></a>';
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
$photo = $item['photo'];
@@ -455,6 +458,7 @@ function network_content(&$a, $update = 0) {
'$owner_photo' => $owner_photo,
'$owner_name' => $owner_name,
'$plink' => get_plink($item),
+ '$edpost' => $edpost,
'$drop' => $drop,
'$vote' => $likebuttons,
'$like' => $like,