diff options
Diffstat (limited to 'mod/pages/views/default/river/object/page_top')
-rw-r--r-- | mod/pages/views/default/river/object/page_top/create.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mod/pages/views/default/river/object/page_top/create.php b/mod/pages/views/default/river/object/page_top/create.php index d951a2f6a..b89eed195 100644 --- a/mod/pages/views/default/river/object/page_top/create.php +++ b/mod/pages/views/default/river/object/page_top/create.php @@ -5,11 +5,4 @@ * @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:created", array($url)) . " "; -$string .= elgg_echo("pages:river:create") . "<a href=\"" . $object->getURL() . "\">" . $object->title . "</a>"; -echo $string;
\ No newline at end of file +echo elgg_view('river/object/page/create', $vars);
\ No newline at end of file |