]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
do not need to override this anymore because Elgg core handles this
authorCash Costello <cash.costello@gmail.com>
Sat, 23 Oct 2010 11:58:52 +0000 (11:58 +0000)
committerCash Costello <cash.costello@gmail.com>
Sat, 23 Oct 2010 11:58:52 +0000 (11:58 +0000)
views/default/annotation/annotate.php [deleted file]

diff --git a/views/default/annotation/annotate.php b/views/default/annotation/annotate.php
deleted file mode 100644 (file)
index f81f2b5..0000000
+++ /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;