share not available in display module, as no editor window to paste into
This commit is contained in:
parent
3f59f63224
commit
1e8b3278b0
1 changed files with 2 additions and 2 deletions
|
@ -381,12 +381,12 @@ function conversation(&$a, $items, $mode, $update) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
$likebuttons = '';
|
||||
$shareable = ((($profile_owner == local_user()) && ($mode != 'display') && (! $item['private'])) ? true : false);
|
||||
|
||||
if($page_writeable) {
|
||||
if($toplevelpost) {
|
||||
$likebuttons = replace_macros((($item['private'] || ($profile_owner != local_user())) ? $noshare_tpl : $like_tpl),array(
|
||||
$likebuttons = replace_macros(((($shareable)) ? $like_tpl : $noshare_tpl),array(
|
||||
'$id' => $item['id'],
|
||||
'$likethis' => t("I like this \x28toggle\x29"),
|
||||
'$nolike' => t("I don't like this \x28toggle\x29"),
|
||||
|
|
Loading…
Reference in a new issue