aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 00:26:06 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-22 00:26:06 +0000
commit85b793b935024d22ec8518bb4a24b3ffe0e98ec3 (patch)
tree60a132fa54c2f18c4c970d39dc38094ddbc5b8f1
parent28866b6c60820746622d358ee38a08272851579a (diff)
downloadelgg-85b793b935024d22ec8518bb4a24b3ffe0e98ec3.tar.gz
elgg-85b793b935024d22ec8518bb4a24b3ffe0e98ec3.tar.bz2
forms/friends/edit no longer contains input/form logic
git-svn-id: http://code.elgg.org/elgg/trunk@8396 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--pages/friends/add.php2
-rw-r--r--pages/friends/edit.php2
-rw-r--r--views/default/forms/friends/edit.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/pages/friends/add.php b/pages/friends/add.php
index 1b7b0288f..96da26ae1 100644
--- a/pages/friends/add.php
+++ b/pages/friends/add.php
@@ -13,7 +13,7 @@ $title = elgg_echo('friends:collections:add');
$content = elgg_view_title($title);
-$content .= elgg_view('forms/friends/edit', array(
+$content .= elgg_view_form('friends/edit', array(), array(
'friends' => get_user_friends(elgg_get_logged_in_user_guid(), "", 9999)
)
);
diff --git a/pages/friends/edit.php b/pages/friends/edit.php
index e2c707b7c..665929319 100644
--- a/pages/friends/edit.php
+++ b/pages/friends/edit.php
@@ -22,7 +22,7 @@ $collection = get_access_collection($collection_id);
//get all members of the collection
$collection_members = get_members_of_access_collection($collection_id);
-$content .= elgg_view('forms/friends/edit', array('collection' => $collection,
+$content .= elgg_view_form('friends/edit', array(), array('collection' => $collection,
'collection_members' => $collection_members));
$body = elgg_view_layout('one_sidebar', array('content' => $content));
diff --git a/views/default/forms/friends/edit.php b/views/default/forms/friends/edit.php
index e3bc28cfc..223ce3836 100644
--- a/views/default/forms/friends/edit.php
+++ b/views/default/forms/friends/edit.php
@@ -52,4 +52,4 @@ if (isset($vars['collection'])) {
$form_body .= elgg_view('input/submit', array('name' => 'submit', 'value' => elgg_echo('save')));
$form_body .= "</div></div>";
-echo elgg_view('input/form', array('body' => $form_body, 'action' => "action/$action")); \ No newline at end of file
+echo $form_body; \ No newline at end of file