aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object/album
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-02-25 12:16:53 +0000
committerCash Costello <cash.costello@gmail.com>2009-02-25 12:16:53 +0000
commit4e0c1576475390faa2f1fb4c4dc2902a953f440e (patch)
treecd3a47df019344d7f6c938ebe31c60cfa9b03677 /views/default/river/object/album
downloadelgg-4e0c1576475390faa2f1fb4c4dc2902a953f440e.tar.gz
elgg-4e0c1576475390faa2f1fb4c4dc2902a953f440e.tar.bz2
First commit
Diffstat (limited to 'views/default/river/object/album')
-rw-r--r--views/default/river/object/album/annotate.php13
-rw-r--r--views/default/river/object/album/create.php13
2 files changed, 26 insertions, 0 deletions
diff --git a/views/default/river/object/album/annotate.php b/views/default/river/object/album/annotate.php
new file mode 100644
index 000000000..691b0c7ec
--- /dev/null
+++ b/views/default/river/object/album/annotate.php
@@ -0,0 +1,13 @@
+<?php
+
+ $statement = $vars['statement'];
+ $performed_by = $statement->getSubject();
+ $object = $statement->getObject();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("album:river:annotate"),$url) . " ";
+ $string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("album:river:item") . "</a>";
+
+ echo $string;
+
+?> \ No newline at end of file
diff --git a/views/default/river/object/album/create.php b/views/default/river/object/album/create.php
new file mode 100644
index 000000000..68553309c
--- /dev/null
+++ b/views/default/river/object/album/create.php
@@ -0,0 +1,13 @@
+<?php
+
+ $statement = $vars['statement'];
+ $performed_by = $statement->getSubject();
+ $object = $statement->getObject();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("album:river:created"),$url) . " ";
+ $string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("album:river:item") . "</a>";
+
+ echo $string;
+
+?> \ No newline at end of file