Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2008 06:01:39 PM (18 years ago)
Author:
apeatling
Message:

Theme updates to support previous revision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/buddypress-member/messages/compose.php

    r395 r512  
    11<div class="content-header">
    2         Compose Message
     2
    33</div>
    44
     
    88        <?php do_action( 'template_notices' ) ?>
    99
    10         <?php bp_compose_message_form() ?>
    11 </div>
     10        <form action="<?php bp_messages_form_action('compose') ?>" method="post" id="send_message_form" class="standard-form">
     11        <div id="poststuff">
     12                <p>                     
     13                <div id="titlediv">
     14                        <h3><?php _e("Send To", 'buddypress') ?> <small>(Use username - autocomplete coming soon)</small></h3>
     15                        <div id="titlewrap">
     16                                <input type="text" name="send_to" id="send_to" value="<?php bp_messages_username_value() ?>" />
     17                                <?php if ( is_site_admin() ) : ?><br /><input type="checkbox" id="send-notice" name="send-notice" value="1" /> This is a notice to all users.<?php endif; ?>
     18                        </div>
     19                </div>
     20                </p>
     21
     22                <p>
     23                <div id="titlediv">
     24                        <h3><?php _e("Subject", 'buddypress') ?></h3>
     25                        <div id="titlewrap">
     26                                <input type="text" name="subject" id="subject" value="<?php bp_messages_subject_value() ?>" />
     27                        </div>
     28                </div>
     29                </p>
     30               
     31                <p>
     32                        <div id="postdivrich" class="postarea">
     33                                <h3><?php _e("Message", 'buddypress') ?></h3>
     34                                <div id="editorcontainer">
     35                                        <textarea name="content" id="message_content" rows="15" cols="40"><?php bp_messages_content_value() ?></textarea>
     36                                </div>
     37                        </div>
     38                </p>
     39               
     40                <p class="submit">
     41                                <input type="submit" value="<?php _e("Send", 'buddypress') ?> &raquo;" name="send" id="send" style="font-weight: bold" />
     42                </p>
     43        </div>
     44        </form>
     45        <script type="text/javascript">
     46                document.getElementById("send_to").focus();
     47        </script></div>
Note: See TracChangeset for help on using the changeset viewer.