aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/avatar
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/avatar
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/avatar')
-rw-r--r--views/default/forms/avatar/crop.php4
-rw-r--r--views/default/forms/avatar/upload.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/forms/avatar/crop.php b/views/default/forms/avatar/crop.php
index 01ceb3fec..380a4bb6c 100644
--- a/views/default/forms/avatar/crop.php
+++ b/views/default/forms/avatar/crop.php
@@ -16,10 +16,10 @@ $master_image = $vars['entity']->getIcon('master');
<?php
$coords = array('x1', 'x2', 'y1', 'y2');
foreach ($coords as $coord) {
- echo elgg_view('input/hidden', array('internalname' => $coord, 'value' => $vars['entity']->$coord));
+ echo elgg_view('input/hidden', array('name' => $coord, 'value' => $vars['entity']->$coord));
}
-echo elgg_view('input/hidden', array('internalname' => 'guid', 'value' => $vars['entity']->guid));
+echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $vars['entity']->guid));
echo elgg_view('input/submit', array('value' => elgg_echo('avatar:create')));
diff --git a/views/default/forms/avatar/upload.php b/views/default/forms/avatar/upload.php
index a89f5ee68..08db1f7e0 100644
--- a/views/default/forms/avatar/upload.php
+++ b/views/default/forms/avatar/upload.php
@@ -5,11 +5,11 @@
* @uses $vars['entity']
*/
-echo elgg_view('input/hidden', array('internalname' => 'guid', 'value' => $vars['entity']->guid));
+echo elgg_view('input/hidden', array('name' => 'guid', 'value' => $vars['entity']->guid));
?>
<div>
<label><?php echo elgg_echo("avatar:upload"); ?></label><br />
- <?php echo elgg_view("input/file",array('internalname' => 'avatar')); ?>
+ <?php echo elgg_view("input/file",array('name' => 'avatar')); ?>
<br />
<?php echo elgg_view('input/submit', array('value' => elgg_echo('upload'))); ?>
</div>