From eb1730bfbc9ff37ac77fc31b47cbcdf7f64115c9 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 28 Oct 2008 14:25:28 +0000 Subject: Hoiking out the generic comment view again. Needs to be rethought. git-svn-id: https://code.elgg.org/elgg/trunk@2328 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../river/annotation/generic_comment/create.php | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 views/default/river/annotation/generic_comment/create.php (limited to 'views/default/river/annotation/generic_comment/create.php') diff --git a/views/default/river/annotation/generic_comment/create.php b/views/default/river/annotation/generic_comment/create.php deleted file mode 100644 index 012214b16..000000000 --- a/views/default/river/annotation/generic_comment/create.php +++ /dev/null @@ -1,53 +0,0 @@ -getSubject(); - $event = $statement->getEvent(); - $object = $statement->getObject(); - - if (is_array($object)) - { - - switch ($object['subject']->name) - { - // Generic comments - case 'generic_comment' : - - // Get the item that's been commented on - $item = $object['object']; - - // Make sure the comment was left by a user ... - if (($performed_by instanceof ElggUser) && ($item instanceof ElggEntity)) - { - - $type = $item->getType(); - $subtype = $item->getSubtype(); - - // Generate a string of them form riveritem:single:type:subtype for our description - $desc = 'riveritem:single:' . $type; if (!empty($subtype)) $desc .= ':' . $subtype; - - // The person leaving the comment - $sentence_performed_by = "getURL()}\">{$performed_by->name} "; - - // The item with the ocmment left on it - $sentence_object = " getURL()}\">". elgg_echo($desc) .""; - - echo sprintf(elgg_echo('riveraction:annotation:generic_comment'),$sentence_performed_by, $sentence_object); - } - - break; - } - } - -?> \ No newline at end of file -- cgit v1.2.3