Put a status editor on the display page if you're logged in. This fixes issue #113 and also provides the ability to reshare from that page.

This commit is contained in:
friendica
2013-10-18 14:25:55 -07:00
parent 4a87ebfc12
commit 3772682204
7 changed files with 444 additions and 154 deletions

View File

@@ -1076,7 +1076,7 @@ function status_editor($a,$x,$popup=false) {
call_hooks('jot_networks', $jotnets);
$o .= replace_macros($tpl,array(
'$return_path' => $a->query_string,
'$return_path' => ((x($x,'return_path')) ? $x['return_path'] : $a->query_string),
'$action' => $a->get_baseurl(true) . '/item',
'$share' => (x($x,'button') ? $x['button'] : t('Share')),
'$webpage' => $webpage,