Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" role="main" enctype="multipart/form-data">
- <?php do_action( 'bp_before_messages_compose_content' ); ?>
- <div class="effect6" style="width:100%;">
- <label for="send-to-input"><h2 style="color:rgb(0, 132, 182);"><?php _e("Send To (Username or Friend's Name)", 'buddypress' ); ?></h2></label><br/>
- <ul class="first acfb-holder">
- <li style="width:100%;">
- <?php //bp_message_get_recipient_tabs(); ?>
- <div id="recipients-helpa"></div>
- <input type="text" name="send-to-input" class="send-to-input" id="send-to-input" value="<?php if(isset($_GET['r'])) echo str_replace(",",", @","@".$_GET['r']); ?>"/>
- <label for="send-to-input">Start typing a name</label>
- </li>
- </ul>
- </div>
- <?php //if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
- <!--<input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php //_e( "This is a notice to all users.", "buddypress" ); ?>-->
- <?php //endif; ?>
- <div class="effect6" style="width:100%;">
- <label for="subject"><h2 style="color:rgb(0, 132, 182);"><?php _e( 'Subject', 'buddypress' ); ?></h2></label>
- <input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value(); ?>" />
- </div>
- <div class="effect6" style="width:100%;">
- <label for="content"><h2 style="color:rgb(0, 132, 182);"><?php _e( 'Message', 'buddypress' ); ?></h2></label>
- <textarea name="content" id="message_content" rows="15" cols="40"><?php bp_messages_content_value(); ?></textarea>
- <div class="submit" style="background-color:rgb(235,235,235);height: 50px; width:100%;">
- <input type="submit" style="float:right;" value="<?php _e( "Send", 'buddypress' ); ?>" name="send" id="send" />
- </div>
- </div>
- <?php //bp_message_get_recipient_usernames(); ?>
- <input type="hidden" name="send_to_usernames" id="send-to-usernames" value="<?php if(isset($_GET['r'])) echo str_replace(","," ",$_GET['r']); ?>" class="<?php if(isset($_GET['r'])) echo str_replace(","," ",$_GET['r']); ?>" />
- <?php do_action( 'bp_after_messages_compose_content' ); ?>
- <?php wp_nonce_field( 'messages_send_message' ); ?>
- </form>
- <script type="text/javascript">
- document.getElementById("send-to-input").focus();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement