aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/friends
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:27:40 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:27:40 +0000
commitaf2f3805095f8a91d85847e11faeb280fddf58c0 (patch)
tree221ef519a94523d494511ba33acb3f34f68f04c0 /views/default/forms/friends
parent9af0f9be12346d2008cf6de6e5ab7bd083c09c8c (diff)
downloadelgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.gz
elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.bz2
Fixes #2921: converted internalname => name and internalid => id
git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/forms/friends')
-rw-r--r--views/default/forms/friends/edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/views/default/forms/friends/edit.php b/views/default/forms/friends/edit.php
index ac817f23a..e3bc28cfc 100644
--- a/views/default/forms/friends/edit.php
+++ b/views/default/forms/friends/edit.php
@@ -26,7 +26,7 @@ if (isset($vars['collection'])) {
$form_body = "<div class='contentWrapper'><div><label>" . elgg_echo("friends:collectionname") . "<br />" .
elgg_view("input/text", array(
- "internalname" => "collection_name",
+ "name" => "collection_name",
"value" => $title,
)) . "</label></div>";
@@ -43,13 +43,13 @@ if($vars['collection_members']){
$form_body .= "</div>";
$form_body .= "<div><label>" . elgg_echo("friends:addfriends") . "</label>".
- elgg_view('core/friends/picker',array('entities' => $vars['friends'], 'internalname' => 'friends_collection', 'highlight' => $highlight)) . "</div>";
+ elgg_view('core/friends/picker',array('entities' => $vars['friends'], 'name' => 'friends_collection', 'highlight' => $highlight)) . "</div>";
$form_body .= "<div>";
if (isset($vars['collection'])) {
- $form_body .= elgg_view('input/hidden', array('internalname' => 'collection_id', 'value' => "{$vars['collection'][0]->id}"));
+ $form_body .= elgg_view('input/hidden', array('name' => 'collection_id', 'value' => "{$vars['collection'][0]->id}"));
}
-$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save')));
+$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