aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/views/default/river
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 10:30:09 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-19 10:30:09 +0000
commit062bc6a5d2b2f9e43a2dab7a3e55905f35f77c3e (patch)
tree1b5a62e216830a1bad8be27bf3c46d0227eb5b3b /mod/riverdashboard/views/default/river
parent7d1068e16407d7bf877a95d15d13d678f9ccedeb (diff)
downloadelgg-062bc6a5d2b2f9e43a2dab7a3e55905f35f77c3e.tar.gz
elgg-062bc6a5d2b2f9e43a2dab7a3e55905f35f77c3e.tar.bz2
new river widget
git-svn-id: https://code.elgg.org/elgg/trunk@2802 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/views/default/river')
-rw-r--r--mod/riverdashboard/views/default/river/sitemessage/create.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/riverdashboard/views/default/river/sitemessage/create.php b/mod/riverdashboard/views/default/river/sitemessage/create.php
new file mode 100644
index 000000000..1eaccdfb8
--- /dev/null
+++ b/mod/riverdashboard/views/default/river/sitemessage/create.php
@@ -0,0 +1,15 @@
+<?php
+
+ $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
+ $object = get_entity($vars['item']->object_guid);
+ $url = $object->getURL();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("sitemessages:river:created"),$url) . " ";
+ $string .= elgg_echo("sitemessages:river:create") . ": " . $object->description;
+
+?>
+
+<?php
+ echo $string;
+?> \ No newline at end of file