- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/messages/compose.php
r5329 r5737 1 <form action="<?php bp_messages_form_action('compose') ?>" method="post" id="send_message_form" class="standard-form" role="main">1 <form action="<?php bp_messages_form_action('compose'); ?>" method="post" id="send_message_form" class="standard-form" role="main"> 2 2 3 <?php do_action( 'bp_before_messages_compose_content' ) ?>3 <?php do_action( 'bp_before_messages_compose_content' ); ?> 4 4 5 <label for="send-to-input"><?php _e("Send To (Username or Friend's Name)", 'buddypress') ?></label>5 <label for="send-to-input"><?php _e("Send To (Username or Friend's Name)", 'buddypress'); ?></label> 6 6 <ul class="first acfb-holder"> 7 7 <li> 8 <?php bp_message_get_recipient_tabs() ?>8 <?php bp_message_get_recipient_tabs(); ?> 9 9 <input type="text" name="send-to-input" class="send-to-input" id="send-to-input" /> 10 10 </li> … … 12 12 13 13 <?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?> 14 <input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ) ?>14 <input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?> 15 15 <?php endif; ?> 16 16 17 <label for="subject"><?php _e( 'Subject', 'buddypress') ?></label>18 <input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value() ?>" />17 <label for="subject"><?php _e( 'Subject', 'buddypress'); ?></label> 18 <input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value(); ?>" /> 19 19 20 <label for="content"><?php _e( 'Message', 'buddypress') ?></label>21 <textarea name="content" id="message_content" rows="15" cols="40"><?php bp_messages_content_value() ?></textarea>20 <label for="content"><?php _e( 'Message', 'buddypress'); ?></label> 21 <textarea name="content" id="message_content" rows="15" cols="40"><?php bp_messages_content_value(); ?></textarea> 22 22 23 <input type="hidden" name="send_to_usernames" id="send-to-usernames" value="<?php bp_message_get_recipient_usernames(); ?>" class="<?php bp_message_get_recipient_usernames() ?>" />23 <input type="hidden" name="send_to_usernames" id="send-to-usernames" value="<?php bp_message_get_recipient_usernames(); ?>" class="<?php bp_message_get_recipient_usernames(); ?>" /> 24 24 25 <?php do_action( 'bp_after_messages_compose_content' ) ?>25 <?php do_action( 'bp_after_messages_compose_content' ); ?> 26 26 27 27 <div class="submit"> 28 <input type="submit" value="<?php _e( "Send Message", 'buddypress' ) ?>" name="send" id="send" />28 <input type="submit" value="<?php _e( "Send Message", 'buddypress' ); ?>" name="send" id="send" /> 29 29 </div> 30 30 31 <?php wp_nonce_field( 'messages_send_message' ) ?>31 <?php wp_nonce_field( 'messages_send_message' ); ?> 32 32 </form> 33 33
Note: See TracChangeset
for help on using the changeset viewer.