aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-03 18:36:59 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-07-03 18:36:59 +0000
commit4eff4a3c9ae8f062a72ca30bc578c14c3fa8c85c (patch)
tree304c0a0f0fd5673167182cc1539f69d0e263c457 /views
parent7bd44273ec39647950f921bedb37a2231db1df85 (diff)
downloadelgg-4eff4a3c9ae8f062a72ca30bc578c14c3fa8c85c.tar.gz
elgg-4eff4a3c9ae8f062a72ca30bc578c14c3fa8c85c.tar.bz2
leftover view from pre-Elgg 1.5 days
git-svn-id: http://code.elgg.org/elgg/trunk@6627 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/river/wrapper.php48
1 files changed, 0 insertions, 48 deletions
diff --git a/views/default/river/wrapper.php b/views/default/river/wrapper.php
deleted file mode 100644
index eddf5e2a2..000000000
--- a/views/default/river/wrapper.php
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-/**
- * Elgg river item wrapper.
- * Wraps all river items.
- *
- * @package Elgg
- * @author Curverider
- * @link http://elgg.com/
- */
-
-$statement = $vars['statement'];
-$time = $vars['time'];
-$event = $vars['event'];
-$entry = $vars['entry'];
-
-if ($statement->getObject() instanceof ElggEntity) {
-
- $obj = $statement->getObject();
- $subtype = $obj->getSubtype();
- if (empty($subtype)) $subtype = $obj->type;
- if (empty($subtype)) $subtype = "general";
-} else if (is_array($statement->getObject())) {
- $obj = $statement->getObject();
- $subtype = "relationship_" . $obj['relationship'];
-}
-?>
-<div class="river_item">
-
- <div class="river_<?php echo $subtype; ?>">
- <div class="river_<?php echo $event; ?>">
- <p class="river_<?php echo $subtype; ?>_<?php echo $event; ?>">
- <?php
-
- echo $vars['entry'];
-
- ?>
- <span class="entity_subtext">
- (<?php
-
- echo friendly_time($time);
-
- ?>)
- </span>
- </p>
- </div>
- </div>
-
-</div>