aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/languages/en.php1
-rw-r--r--mod/file/languages/en.php2
-rw-r--r--mod/pages/languages/en.php5
-rw-r--r--mod/pages/views/default/river/object/page/annotate.php17
-rw-r--r--mod/pages/views/default/river/object/page_top/annotate.php16
5 files changed, 4 insertions, 37 deletions
diff --git a/mod/blog/languages/en.php b/mod/blog/languages/en.php
index f3d93f5e3..39e1a7ad0 100644
--- a/mod/blog/languages/en.php
+++ b/mod/blog/languages/en.php
@@ -53,6 +53,7 @@ $english = array(
// river
'blog:river:create' => 'published a blog post',
+ 'river:commented:object:blog' => 'the blog',
);
add_translation('en', $english);
diff --git a/mod/file/languages/en.php b/mod/file/languages/en.php
index 9e661c276..dd317b5c7 100644
--- a/mod/file/languages/en.php
+++ b/mod/file/languages/en.php
@@ -71,7 +71,7 @@
'file:river:created' => "%s uploaded",
'file:river:item' => "a file",
- 'file:river:annotate' => "a comment on this file",
+ 'river:commented:object:file' => 'the file',
'item:object:file' => 'Files',
diff --git a/mod/pages/languages/en.php b/mod/pages/languages/en.php
index 1c20a4297..1fc5929b2 100644
--- a/mod/pages/languages/en.php
+++ b/mod/pages/languages/en.php
@@ -38,14 +38,13 @@ $english = array(
* River
**/
- 'pages:river:annotate' => "a comment on this page",
'pages:river:created' => "%s wrote",
'pages:river:updated' => "%s updated",
'pages:river:posted' => "%s posted",
'pages:river:create' => "a new page titled",
'pages:river:update' => "a page titled",
- 'page:river:annotate' => "a comment on this page",
- 'page_top:river:annotate' => "a comment on this page",
+ 'river:commented:object:page' => 'the page',
+ 'river:commented:object:page_top' => 'the page',
/**
* Form fields
diff --git a/mod/pages/views/default/river/object/page/annotate.php b/mod/pages/views/default/river/object/page/annotate.php
deleted file mode 100644
index 811fc7dea..000000000
--- a/mod/pages/views/default/river/object/page/annotate.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * Page annotate river entry
- *
- * @package ElggPages
- */
-
-$statement = $vars['statement'];
-$performed_by = $statement->getSubject();
-$object = $statement->getObject();
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = elgg_echo("pages:river:posted", array($url)) . " ";
-$string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("pages:river:annotate:create") . "</a> " . $object->title;
-//$string .= "<div class=\"river_content\">" . $object->title . "</div>";
-
-echo $string;
diff --git a/mod/pages/views/default/river/object/page_top/annotate.php b/mod/pages/views/default/river/object/page_top/annotate.php
deleted file mode 100644
index e12eb55f9..000000000
--- a/mod/pages/views/default/river/object/page_top/annotate.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-/**
- * Top page annotation river view.
- *
- * @package ElggPages
- */
-
-$statement = $vars['statement'];
-$performed_by = $statement->getSubject();
-$object = $statement->getObject();
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = elgg_echo("pages:river:posted", array($url)) . " ";
-$string .= elgg_echo("pages:river:annotate:create") . " <a href=\"" . $object->getURL() . "\">" . $object->title . "</a>";
-
-echo $string;