Skip to:
Content

BuddyPress.org

Changeset 512


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

Theme updates to support previous revision

Location:
trunk/buddypress-theme/buddypress-member
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/buddypress-member/groups/admin/delete-group.php

    r483 r512  
     1<?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?>
     2
     3<div class="content-header">
     4        <ul class="content-header-nav">
     5                <?php bp_group_admin_tabs(); ?>
     6        </ul>
     7</div>
     8
     9<div id="content">     
     10       
     11                <h2>Delete Group</h2>
     12               
     13                <?php do_action( 'template_notices' ) // (error/success feedback) ?>
     14               
     15                <form action="<?php bp_group_admin_form_action('delete-group') ?>" name="group-delete-form" id="group-delete-form" class="standard-form" method="post">
     16                       
     17                        <div id="message" class="info">
     18                                <p>WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back, please be careful with this option.</p>
     19                        </div>
     20                       
     21                        <input type="checkbox" name="delete-group-understand" id="delete-group-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-group-button').disabled = ''; } else { document.getElementById('delete-group-button').disabled = 'disabled'; }" /> I understand the consequences of deleting this group.
     22                        <p><input type="submit" disabled="disabled" value="<?php _e('Delete Group', 'buddypress') ?> &raquo;" id="delete-group-button" name="delete-group-button" /></p>
     23               
     24                        <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id() ?>" />
     25                </form>
     26</div>
     27
     28<?php endwhile; endif; ?>
  • 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.