diff options
author | friendica <info@friendica.com> | 2012-02-13 14:17:20 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-13 14:17:20 -0800 |
commit | 23f5abfa1fb40e5037fc4c6e2147bcc1ba2fa1d8 (patch) | |
tree | 07963e36346612e0c0e1fe22d0c9608043f40f35 /include/conversation.php | |
parent | dc4420c5ec085f43bdab35d4eb06f024a3472740 (diff) | |
parent | 22bb285c7f223c868318e601ec41e044dd90bac3 (diff) | |
download | volse-hubzilla-23f5abfa1fb40e5037fc4c6e2147bcc1ba2fa1d8.tar.gz volse-hubzilla-23f5abfa1fb40e5037fc4c6e2147bcc1ba2fa1d8.tar.bz2 volse-hubzilla-23f5abfa1fb40e5037fc4c6e2147bcc1ba2fa1d8.zip |
Merge branch 'pull'
Diffstat (limited to 'include/conversation.php')
-rwxr-xr-x | include/conversation.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php index 35abb29ca..b44d4acd6 100755 --- a/include/conversation.php +++ b/include/conversation.php @@ -489,7 +489,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) { } $likebuttons = ''; - $shareable = ((($profile_owner == local_user()) && ($mode != 'display') && (! $item['private'])) ? true : false); + $shareable = ((($profile_owner == local_user()) && (! $item['private'])) ? true : false); //($mode != 'display') && if($page_writeable) { if($toplevelpost) { @@ -821,7 +821,7 @@ function format_like($cnt,$arr,$type,$id) { }} -function status_editor($a,$x, $notes_cid = 0) { +function status_editor($a,$x, $notes_cid = 0, $popup=false) { $o = ''; @@ -885,7 +885,7 @@ function status_editor($a,$x, $notes_cid = 0) { $o .= replace_macros($tpl,array( '$return_path' => $a->cmd, - '$action' => 'item', + '$action' => $a->get_baseurl().'/item', '$share' => (($x['button']) ? $x['button'] : t('Share')), '$upload' => t('Upload photo'), '$shortupload' => t('upload photo'), @@ -924,6 +924,12 @@ function status_editor($a,$x, $notes_cid = 0) { '$preview' => t('Preview'), )); + + if ($popup==true){ + $o = '<div id="jot-popup" style="display: none;">'.$o.'</div>'; + + } + return $o; } |