aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/item/wrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/item/wrapper.php')
-rw-r--r--views/default/river/item/wrapper.php38
1 files changed, 38 insertions, 0 deletions
diff --git a/views/default/river/item/wrapper.php b/views/default/river/item/wrapper.php
new file mode 100644
index 000000000..efa377ceb
--- /dev/null
+++ b/views/default/river/item/wrapper.php
@@ -0,0 +1,38 @@
+<?php
+
+ /**
+ * Elgg river item wrapper.
+ * Wraps all river items.
+ *
+ * @package Elgg
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider
+ * @copyright Curverider Ltd 2008-2009
+ * @link http://elgg.com/
+ */
+
+
+?>
+
+ <div class="river_item">
+ <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
+
+ echo $vars['body'];
+
+ ?>
+ (<?php
+
+ echo friendly_time($vars['item']->posted);
+
+ ?>)
+ </span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div> \ No newline at end of file