aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:22:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 01:22:00 +0000
commitbc21e6778ffd5b4b4f2828fd720dc6590870f46f (patch)
tree99b240eb5beb053358f2a5bf3e76c3ab7c598d2b /mod/pages
parent7c7dc0e249fb4afd1b0f4826bdbd27aa5d9f2a26 (diff)
downloadelgg-bc21e6778ffd5b4b4f2828fd720dc6590870f46f.tar.gz
elgg-bc21e6778ffd5b4b4f2828fd720dc6590870f46f.tar.bz2
updated the river generic_comment view for the new river code
git-svn-id: http://code.elgg.org/elgg/trunk@7650 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages')
-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
3 files changed, 2 insertions, 36 deletions
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;