aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/comments
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/comments
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/comments')
-rw-r--r--views/default/forms/comments/add.php4
-rw-r--r--views/default/forms/comments/inline.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/views/default/forms/comments/add.php b/views/default/forms/comments/add.php
index b4f63b814..8a2b89f2d 100644
--- a/views/default/forms/comments/add.php
+++ b/views/default/forms/comments/add.php
@@ -11,12 +11,12 @@ if (isset($vars['entity']) && elgg_is_logged_in()) {
?>
<div class="mbn">
<label><?php echo elgg_echo("generic_comments:text"); ?></label>
- <?php echo elgg_view('input/longtext', array('internalname' => 'generic_comment')); ?>
+ <?php echo elgg_view('input/longtext', array('name' => 'generic_comment')); ?>
</div>
<?php
echo elgg_view('input/hidden', array(
- 'internalname' => 'entity_guid',
+ 'name' => 'entity_guid',
'value' => $vars['entity']->getGUID()
));
echo elgg_view('input/submit', array('value' => elgg_echo("generic_comments:post")));
diff --git a/views/default/forms/comments/inline.php b/views/default/forms/comments/inline.php
index 9c44905be..14b8a086d 100644
--- a/views/default/forms/comments/inline.php
+++ b/views/default/forms/comments/inline.php
@@ -6,9 +6,9 @@
*/
if (isset($vars['entity']) && elgg_is_logged_in()) {
- echo elgg_view('input/text', array('internalname' => 'generic_comment'));
+ echo elgg_view('input/text', array('name' => 'generic_comment'));
echo elgg_view('input/hidden', array(
- 'internalname' => 'entity_guid',
+ 'name' => 'entity_guid',
'value' => $vars['entity']->getGUID()
));
echo elgg_view('input/submit', array('value' => elgg_echo('comment')));