diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-02-25 12:16:53 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-02-25 12:16:53 +0000 |
commit | 4e0c1576475390faa2f1fb4c4dc2902a953f440e (patch) | |
tree | cd3a47df019344d7f6c938ebe31c60cfa9b03677 /views/default/river/object/image | |
download | elgg-4e0c1576475390faa2f1fb4c4dc2902a953f440e.tar.gz elgg-4e0c1576475390faa2f1fb4c4dc2902a953f440e.tar.bz2 |
First commit
Diffstat (limited to 'views/default/river/object/image')
-rw-r--r-- | views/default/river/object/image/annotate.php | 13 | ||||
-rw-r--r-- | views/default/river/object/image/create.php | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/views/default/river/object/image/annotate.php b/views/default/river/object/image/annotate.php new file mode 100644 index 000000000..b0b1b8719 --- /dev/null +++ b/views/default/river/object/image/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("image:river:annotate"),$url) . " ";
+ $string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("image:river:item") . "</a>";
+
+ echo $string;
+
+?>
\ No newline at end of file diff --git a/views/default/river/object/image/create.php b/views/default/river/object/image/create.php new file mode 100644 index 000000000..3f5bbb5e8 --- /dev/null +++ b/views/default/river/object/image/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("image:river:created"),$url) . " ";
+ $string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("image:river:item") . "</a>";
+
+ echo $string;
+
+?>
\ No newline at end of file |