diff options
Diffstat (limited to 'views/default/forms/comments')
-rw-r--r-- | views/default/forms/comments/add.php | 4 | ||||
-rw-r--r-- | views/default/forms/comments/inline.php | 4 |
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'))); |