diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
commit | af2f3805095f8a91d85847e11faeb280fddf58c0 (patch) | |
tree | 221ef519a94523d494511ba33acb3f34f68f04c0 /mod/messages | |
parent | 9af0f9be12346d2008cf6de6e5ab7bd083c09c8c (diff) | |
download | elgg-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/messages')
-rw-r--r-- | mod/messages/read.php | 4 | ||||
-rw-r--r-- | mod/messages/views/default/forms/messages/process.php | 6 | ||||
-rw-r--r-- | mod/messages/views/default/forms/messages/reply.php | 6 | ||||
-rw-r--r-- | mod/messages/views/default/forms/messages/send.php | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/mod/messages/read.php b/mod/messages/read.php index 9fda13f5f..83c7dccee 100644 --- a/mod/messages/read.php +++ b/mod/messages/read.php @@ -30,7 +30,7 @@ $buttons = ''; $content = elgg_view_entity($message, true); if ($inbox) { $form_params = array( - 'internalid' => 'messages-reply-form', + 'id' => 'messages-reply-form', 'class' => 'hidden', 'action' => 'action/messages/send', ); @@ -41,7 +41,7 @@ if ($inbox) { $buttons = elgg_view('output/url', array( 'text' => elgg_echo('messages:answer'), 'class' => 'elgg-button-action', - 'internalid' => 'messages-show-reply', + 'id' => 'messages-show-reply', )); } } diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php index 7b3cd1a9e..ce24360e7 100644 --- a/mod/messages/views/default/forms/messages/process.php +++ b/mod/messages/views/default/forms/messages/process.php @@ -13,20 +13,20 @@ echo $vars['list']; echo '<div class="messages-buttonbank">'; echo elgg_view('input/submit', array( 'value' => elgg_echo('delete'), - 'internalname' => 'delete', + 'name' => 'delete', )); if ($vars['folder'] == "inbox") { echo elgg_view('input/submit', array( 'value' => elgg_echo('messages:markread'), - 'internalname' => 'read', + 'name' => 'read', )); } echo elgg_view('input/button', array( 'value' => elgg_echo('messages:toggle'), 'class' => 'elgg-button-cancel', - 'internalid' => 'messages-toggle', + 'id' => 'messages-toggle', )); echo '</div>'; diff --git a/mod/messages/views/default/forms/messages/reply.php b/mod/messages/views/default/forms/messages/reply.php index 4c1832672..2288f25f4 100644 --- a/mod/messages/views/default/forms/messages/reply.php +++ b/mod/messages/views/default/forms/messages/reply.php @@ -12,7 +12,7 @@ if (strncmp($reply_title, "RE:", 3) != 0) { } echo elgg_view('input/hidden', array( - 'internalname' => 'recipient_guid', + 'name' => 'recipient_guid', 'value' => $vars['message']->fromId, )); ?> @@ -20,7 +20,7 @@ echo elgg_view('input/hidden', array( <div> <label><?php echo elgg_echo("messages:title"); ?>: <br /></label> <?php echo elgg_view('input/text', array( - 'internalname' => 'subject', + 'name' => 'subject', 'value' => $reply_title, )); ?> @@ -28,7 +28,7 @@ echo elgg_view('input/hidden', array( <div> <label><?php echo elgg_echo("messages:message"); ?>:</label> <?php echo elgg_view("input/longtext", array( - 'internalname' => 'body', + 'name' => 'body', 'value' => '', )); ?> diff --git a/mod/messages/views/default/forms/messages/send.php b/mod/messages/views/default/forms/messages/send.php index 31918b314..db857b6f4 100644 --- a/mod/messages/views/default/forms/messages/send.php +++ b/mod/messages/views/default/forms/messages/send.php @@ -16,7 +16,7 @@ foreach ($vars['friends'] as $friend) { } $recipient_drop_down = elgg_view('input/dropdown', array( - 'internalname' => 'recipient_guid', + 'name' => 'recipient_guid', 'value' => $recipient_guid, 'options_values' => $recipients_options, )); @@ -29,7 +29,7 @@ $recipient_drop_down = elgg_view('input/dropdown', array( <div> <label><?php echo elgg_echo("messages:title"); ?>: <br /></label> <?php echo elgg_view('input/text', array( - 'internalname' => 'subject', + 'name' => 'subject', 'value' => $subject, )); ?> @@ -37,7 +37,7 @@ $recipient_drop_down = elgg_view('input/dropdown', array( <div> <label><?php echo elgg_echo("messages:message"); ?>:</label> <?php echo elgg_view("input/longtext", array( - 'internalname' => 'body', + 'name' => 'body', 'value' => $body, )); ?> |