$drop = array(
'dropping' => $dropping,
'pagedrop' => ((feature_enabled($conv->get_profile_owner(),'multi_delete')) ? $item['pagedrop'] : ''),
- 'select' => t('Select'),
+ 'select' => t('Select'),
'delete' => t('Delete'),
);
-
+
$filer = (($conv->get_profile_owner() == local_user()) ? t("save to folder") : false);
$diff_author = ((link_compare($item['url'],$item['author-link'])) ? false : true);
if($sp)
$sparkle = ' sparkle';
else
- $profile_link = zrl($profile_link);
+ $profile_link = zrl($profile_link);
$normalised = normalise_link((strlen($item['author-link'])) ? $item['author-link'] : $item['url']);
if(($normalised != 'mailbox') && (x($a->contacts,$normalised)))
localize_item($item);
+ if ($item["postopts"]) {
+ $langdata = explode(";", $item["postopts"]);
+ $langstr = substr($langdata[0], 5)." (".round($langdata[1]*100, 1)."%)";
+ }
+
$body = prepare_body($item,true);
- list($categories, $folders) = get_cats_and_terms($item);
+ list($categories, $folders) = get_cats_and_terms($item);
$tmp_item = array(
'template' => $this->get_template(),
-
+
'type' => implode("",array_slice(explode("/",$item['verb']),-1)),
'tags' => $tags,
'hashtags' => $hashtags,
'comment' => $this->get_comment_box($indent),
'previewing' => ($conv->is_preview() ? ' preview ' : ''),
'wait' => t('Please wait'),
- 'thread_level' => $thread_level
+ 'thread_level' => $thread_level,
+ 'postopts' => $langstr
);
$arr = array('item' => $item, 'output' => $tmp_item);
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"><i class="icon-folder-close icon-large"></i></a>
{{ endif }}
</div>
- <div class="wall-item-location">$item.location</div>
+ <div class="wall-item-location">$item.location $item.postopts</div>
<div class="wall-item-actions-tools">
{{ if $item.drop.pagedrop }}
</div>
</div>
<div class="wall-item-bottom">
- <div class="wall-item-links"></div>
+ <div class="wall-item-links">
+ </div>
<div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
</div>
{{ if $item.threaded }}{{ if $item.comment }}
<div class="wall-item-bottom">
- <div class="wall-item-links"></div>
+ <div class="wall-item-links">
+ </div>
<div class="wall-item-comment-wrapper" id="item-comments-$item.id" style="display: none;">
$item.comment
</div>