aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-07 23:24:36 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-07 23:24:36 +0200
commitdfa48ba17c0263355901cfba67d5058475168bfb (patch)
tree907785ad2fdf8f19379f75891666c968fa2fd22b /Zotlabs/Lib
parentb3928f3d2a7c4c77df5ceba6fc29cbfcbe067dff (diff)
downloadvolse-hubzilla-dfa48ba17c0263355901cfba67d5058475168bfb.tar.gz
volse-hubzilla-dfa48ba17c0263355901cfba67d5058475168bfb.tar.bz2
volse-hubzilla-dfa48ba17c0263355901cfba67d5058475168bfb.zip
fixes for search_item.tpl
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/ThreadItem.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php
index a3c7f99b9..ed78ae00b 100644
--- a/Zotlabs/Lib/ThreadItem.php
+++ b/Zotlabs/Lib/ThreadItem.php
@@ -243,16 +243,9 @@ class ThreadItem {
// FIXME check this permission
if(($conv->get_profile_owner() == local_channel()) && (! array_key_exists('real_uid',$item))) {
-// FIXME we don't need all this stuff, some can be done in the template
-
$star = array(
- 'do' => t("Add Star"),
- 'undo' => t("Remove Star"),
'toggle' => t("Toggle Star Status"),
- 'classdo' => ((intval($item['item_starred'])) ? "hidden" : ""),
- 'classundo' => ((intval($item['item_starred'])) ? "" : "hidden"),
'isstarred' => ((intval($item['item_starred'])) ? true : false),
- 'starred' => t('starred'),
);
}