aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-10-23 11:58:52 +0000
committerCash Costello <cash.costello@gmail.com>2010-10-23 11:58:52 +0000
commitd759c3b884af321de18de32cbe446a1e08c2adab (patch)
treedf3baf634d8ba5f510c02d07e197e0c7fb81879c /views/default
parentdfbe8230304558856ba38aa58f28a1a1524901e4 (diff)
downloadelgg-d759c3b884af321de18de32cbe446a1e08c2adab.tar.gz
elgg-d759c3b884af321de18de32cbe446a1e08c2adab.tar.bz2
do not need to override this anymore because Elgg core handles this
Diffstat (limited to 'views/default')
-rw-r--r--views/default/annotation/annotate.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/views/default/annotation/annotate.php b/views/default/annotation/annotate.php
deleted file mode 100644
index f81f2b55c..000000000
--- a/views/default/annotation/annotate.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-/*
- * Overriding core view to work around bug dealing with empty titles
- */
-
-$performed_by = get_entity($vars['item']->subject_guid);
-$object = get_entity($vars['item']->object_guid);
-$url = $object->getURL();
-$subtype = get_subtype_from_id($object->subtype);
-$title = $object->title;
-if (!$title) {
- $title = elgg_echo('untitled');
-}
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = sprintf(elgg_echo("river:posted:generic"),$url) . " ";
-$string .= elgg_echo("{$subtype}:river:annotate") . " <a href=\"" . $object->getURL() . "\">" . $title . "</a>";
-
-echo $string;