diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/river/wrapper.php | 48 |
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> |