Ejemplo n.º 1
0
     * Fires after the display of the message reply box.
     *
     * @since BuddyPress (1.1.0)
     */
    do_action('bp_after_message_reply_box');
    ?>

          <div class="submit">
            <input type="submit" name="send" value="<?php 
    esc_attr_e('Send Reply', 'buddypress');
    ?>
" id="send_reply_button"/>
          </div>

          <input type="hidden" id="thread_id" name="thread_id" value="<?php 
    bp_the_thread_id();
    ?>
" />
          <input type="hidden" id="messages_order" name="messages_order" value="<?php 
    bp_thread_messages_order();
    ?>
" />
          <?php 
    wp_nonce_field('messages_send_message', 'send_message_nonce');
    ?>

        </div><!-- .message-content -->

      </div><!-- .message-box -->

    </form><!-- #send-reply -->
Ejemplo n.º 2
0
				</div><!-- .message-metadata -->

				<div class="message-content">

					<?php do_action( 'bp_before_message_reply_box' ) ?>

					<textarea name="content" id="message_content" rows="15" cols="40"></textarea>

					<?php do_action( 'bp_after_message_reply_box' ) ?>

					<div class="submit">
						<input type="submit" name="send" value="<?php _e( 'Send Reply', 'buddypress' ) ?> &rarr;" id="send_reply_button"/>
						<span class="ajax-loader"></span>
					</div>

					<input type="hidden" id="thread_id" name="thread_id" value="<?php bp_the_thread_id(); ?>" />
					<?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ) ?>

				</div><!-- .message-content -->

			</div><!-- .message-box -->

		</form><!-- #send-reply -->

		<?php do_action( 'bp_after_message_thread_reply' ) ?>

	<?php endif; ?>

	<?php do_action( 'bp_after_message_thread_content' ) ?>

</div>