diff options
-rw-r--r-- | mod/activity/views/default/activity/css.php | 7 | ||||
-rw-r--r-- | mod/profile/views/default/river/user/default/profileiconupdate.php | 15 |
2 files changed, 14 insertions, 8 deletions
diff --git a/mod/activity/views/default/activity/css.php b/mod/activity/views/default/activity/css.php index 2fdba98f0..168fa4fc4 100644 --- a/mod/activity/views/default/activity/css.php +++ b/mod/activity/views/default/activity/css.php @@ -132,4 +132,9 @@ background: url(<?php echo $vars['url']; ?>_graphics/river_icons/river_icon_pages.gif) no-repeat left -1px; } - +.river_content { + margin:10px; + padding:4px; + border:1px solid #ddd; + background:#efefef; +}
\ No newline at end of file diff --git a/mod/profile/views/default/river/user/default/profileiconupdate.php b/mod/profile/views/default/river/user/default/profileiconupdate.php index ce511c40c..c56699afe 100644 --- a/mod/profile/views/default/river/user/default/profileiconupdate.php +++ b/mod/profile/views/default/river/user/default/profileiconupdate.php @@ -1,11 +1,12 @@ <?php
- - $statement = $vars['statement']; - - $performed_by = $statement->getSubject(); - - $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; - $string = sprintf(elgg_echo("profile:river:iconupdate"),$url); +
+ $statement = $vars['statement'];
+
+ $performed_by = $statement->getSubject();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("profile:river:iconupdate"),$url);
+ $string .= "<div class=\"river_content\">" . elgg_view("profile/icon",array('entity' => $performed_by, 'size' => 'small', 'override' => 'true')) . "</div>";
?>
|