aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/forms
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 /mod/file/views/default/forms
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 'mod/file/views/default/forms')
-rw-r--r--mod/file/views/default/forms/file/upload.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/mod/file/views/default/forms/file/upload.php b/mod/file/views/default/forms/file/upload.php
index a96cbaef6..001e66674 100644
--- a/mod/file/views/default/forms/file/upload.php
+++ b/mod/file/views/default/forms/file/upload.php
@@ -23,19 +23,19 @@ if ($guid) {
?>
<div>
<label><?php echo $file_label; ?></label><br />
- <?php echo elgg_view('input/file', array('internalname' => 'upload')); ?>
+ <?php echo elgg_view('input/file', array('name' => 'upload')); ?>
</div>
<div>
<label><?php echo elgg_echo('title'); ?></label><br />
- <?php echo elgg_view('input/text', array('internalname' => 'title', 'value' => $title)); ?>
+ <?php echo elgg_view('input/text', array('name' => 'title', 'value' => $title)); ?>
</div>
<div>
<label><?php echo elgg_echo('description'); ?></label>
- <?php echo elgg_view('input/longtext', array('internalname' => 'description', 'value' => $desc)); ?>
+ <?php echo elgg_view('input/longtext', array('name' => 'description', 'value' => $desc)); ?>
</div>
<div>
<label><?php echo elgg_echo('tags'); ?></label>
- <?php echo elgg_view('input/tags', array('internalname' => 'tags', 'value' => $tags)); ?>
+ <?php echo elgg_view('input/tags', array('name' => 'tags', 'value' => $tags)); ?>
</div>
<?php
@@ -47,20 +47,20 @@ if ($categories) {
?>
<div>
<label><?php echo elgg_echo('access'); ?></label><br />
- <?php echo elgg_view('input/access', array('internalname' => 'access_id', 'value' => $access_id)); ?>
+ <?php echo elgg_view('input/access', array('name' => 'access_id', 'value' => $access_id)); ?>
</div>
<div>
<?php
-echo elgg_view('input/hidden', array('internalname' => 'container_guid', 'value' => $container_guid));
+echo elgg_view('input/hidden', array('name' => 'container_guid', 'value' => $container_guid));
//@todo this should not be necessary in 1.8... -- ajax actions can be auto-detected
if ($ajax) {
- echo elgg_view('input/hidden', array('internalname' => 'ajax', 'value' => 1));
+ echo elgg_view('input/hidden', array('name' => 'ajax', 'value' => 1));
}
if ($guid) {
- echo elgg_view('input/hidden', array('internalname' => 'file_guid', 'value' => $guid));
+ echo elgg_view('input/hidden', array('name' => 'file_guid', 'value' => $guid));
}
echo elgg_view('input/submit', array('value' => elgg_echo("save")));