aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends')
-rw-r--r--views/default/friends/picker.php2
-rw-r--r--views/default/friends/river/create.php10
2 files changed, 5 insertions, 7 deletions
diff --git a/views/default/friends/picker.php b/views/default/friends/picker.php
index 2b5c81b18..1ac8b23af 100644
--- a/views/default/friends/picker.php
+++ b/views/default/friends/picker.php
@@ -249,8 +249,6 @@ if (!isset($vars['replacement'])) {
if ($formtarget) {
- echo elgg_view('input/securitytoken');
-
if (isset($vars['formcontents']))
echo $vars['formcontents'];
diff --git a/views/default/friends/river/create.php b/views/default/friends/river/create.php
index e577ba721..da9dde1f0 100644
--- a/views/default/friends/river/create.php
+++ b/views/default/friends/river/create.php
@@ -8,16 +8,16 @@
*
* @uses $vars['entity']
*/
-$performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
+$performed_by = get_entity($vars['item']->subject_guid);
$performed_on = get_entity($vars['item']->object_guid);
$url = $performed_on->getURL();
$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = sprintf(elgg_echo("friends:river:add"),$url) . " ";
-$string .= "<a href=\"{$performed_on->getURL()}\">{$performed_on->name}</a>";
+$string = "<div class=\"river_content_title\">" . sprintf(elgg_echo("friends:river:add"),$url) . " ";
+$string .= "<a href=\"{$performed_on->getURL()}\">{$performed_on->name}</a></div>";
$string .= "<div class=\"river_content_display\">";
-$string .= "<table><tr><td>" . elgg_view("profile/icon",array('entity' => $performed_by, 'size' => 'small')) . "</td>";
-$string .= "<td><div class=\"following_icon\"></div></td><td>" . elgg_view("profile/icon",array('entity' => $performed_on, 'size' => 'small')) . "</td></tr></table>";
+$string .= "<table><tr><td>" . elgg_view("profile/icon",array('entity' => $performed_by, 'size' => 'tiny')) . "</td>";
+$string .= "<td><div class=\"following_icon\"></div></td><td>" . elgg_view("profile/icon",array('entity' => $performed_on, 'size' => 'tiny')) . "</td></tr></table>";
$string .= "</div>";
echo $string; \ No newline at end of file