aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-17 16:14:20 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-17 16:14:20 +0000
commitee4bb6160edbe7c8e12b1983f71f777472874100 (patch)
treee372bd6935bba10121400a35f4c5fe412a4c28d4 /views/default/river/item
parentcf34a08db9303453f3066cb2068d861f060ebc81 (diff)
downloadelgg-ee4bb6160edbe7c8e12b1983f71f777472874100.tar.gz
elgg-ee4bb6160edbe7c8e12b1983f71f777472874100.tar.bz2
river view altered
git-svn-id: https://code.elgg.org/elgg/trunk@2786 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/item')
-rw-r--r--views/default/river/item/wrapper.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/views/default/river/item/wrapper.php b/views/default/river/item/wrapper.php
index efa377ceb..ca7f7dc25 100644
--- a/views/default/river/item/wrapper.php
+++ b/views/default/river/item/wrapper.php
@@ -18,19 +18,21 @@
<div class="river_<?php echo $vars['item']->type; ?>">
<div class="river_<?php echo $vars['item']->subtype; ?>">
<div class="river_<?php echo $vars['item']->action_type; ?>">
- <div class="river_<?php echo $vars['item']->type; ?>_<?php echo $vars['item']->subtype; ?>_<?php echo $vars['item']->action_type; ?>">
- <span class="river_item_time">
- <?php
+ <div class="river_<?php echo $vars['item']->type; ?>_<?php if($vars['item']->subtype) echo $vars['item']->subtype . "_"; ?><?php echo $vars['item']->action_type; ?>">
+ <p>
+ <?php
echo $vars['body'];
- ?>
+ ?>
+ <span class="river_item_time">
(<?php
echo friendly_time($vars['item']->posted);
?>)
</span>
+ </p>
</div>
</div>
</div>