mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:50:11 +00:00
item deletion and hover images
This commit is contained in:
parent
17808daf5e
commit
7a6665b5cf
9 changed files with 92 additions and 45 deletions
|
@ -219,6 +219,10 @@ function profile_content(&$a, $update = false) {
|
|||
|
||||
$tpl = file_get_contents('view/wall_item.tpl');
|
||||
|
||||
if($update)
|
||||
$return_url = $_SESSION['return_url'];
|
||||
else
|
||||
$return_url = $_SESSION['return_url'] = $a->cmd;
|
||||
|
||||
if(count($r)) {
|
||||
foreach($r as $item) {
|
||||
|
@ -227,10 +231,6 @@ function profile_content(&$a, $update = false) {
|
|||
|
||||
$redirect_url = $a->get_baseurl() . '/redir/' . $item['cid'] ;
|
||||
|
||||
if($update)
|
||||
$return_url = $_SESSION['return_url'];
|
||||
else
|
||||
$return_url = $_SESSION['return_url'] = $a->cmd;
|
||||
|
||||
|
||||
if(can_write_wall($a,$a->profile['uid'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue