mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
edit posting after submission
This commit is contained in:
parent
ea03d9fa86
commit
9f5201dcaa
9 changed files with 159 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue