aboutsummaryrefslogtreecommitdiff
path: root/views/default/core
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 02:09:46 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 02:09:46 +0000
commitd28ac377357e5c7d4f3dcbafc92d5e6beb5b7bfe (patch)
treeaa99d5f1a35f1ab12522bf51a533f52d77d032bf /views/default/core
parent366960aff06e202aa9876686bdd5f8ad7a25e71d (diff)
downloadelgg-d28ac377357e5c7d4f3dcbafc92d5e6beb5b7bfe.tar.gz
elgg-d28ac377357e5c7d4f3dcbafc92d5e6beb5b7bfe.tar.bz2
core river footer taking advantage of new DRY comment form
git-svn-id: http://code.elgg.org/elgg/trunk@8408 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/core')
-rw-r--r--views/default/core/river/footer.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/default/core/river/footer.php b/views/default/core/river/footer.php
index ff960cebe..d4d01e57c 100644
--- a/views/default/core/river/footer.php
+++ b/views/default/core/river/footer.php
@@ -47,7 +47,6 @@ if ($comments) {
}
// inline comment form
-echo elgg_view_form('comments/inline', array(
- 'action' => 'action/comments/add',
+echo elgg_view_form('comments/add', array(
'id' => "elgg-togglee-{$object->getGUID()}",
-), array('entity' => $object));
+), array('entity' => $object, 'inline' => true));