blob: 4ab08745831997d976b9ec88a0f78997def517fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* Controls on an river item
*
*
* @uses $vars['item']
*/
$object = $vars['item']->getObjectEntity();
if (isloggedin()) {
if ($vars['item']->annotation_id == 0) {
$params = array(
'href' => '#',
'text' => elgg_echo('generic_comments:text'),
'class' => 'elgg-toggle',
'internalid' => "elgg-toggler-{$object->getGUID()}",
);
echo elgg_view('output/url', $params);
//echo elgg_view('forms/likes/link', array('entity' => $object));
}
}
|