Skip to:
Content

BuddyPress.org

Changeset 1761


Ignore:
Timestamp:
09/02/2009 07:54:38 PM (15 years ago)
Author:
apeatling
Message:

Theme updates for previous commit.

Location:
trunk/bp-themes/bp-sn-framework
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-sn-framework/groups/single/admin.php

    r1711 r1761  
    123123                        <div class="left-menu">
    124124                            <?php bp_group_avatar( 'type=full' ) ?>
     125                           
     126                            <?php if ( bp_get_group_has_avatar() ) : ?>
     127                                <div class="generic-button" id="delete-group-avatar-button">
     128                                    <a class="edit" href="<?php bp_group_avatar_delete_link() ?>" title="<?php _e( 'Delete Avatar', 'buddypress' ) ?>"><?php _e( 'Delete Avatar', 'buddypress' ) ?></a>
     129                                </div>
     130                            <?php endif; ?>
    125131                        </div>
    126132               
  • trunk/bp-themes/bp-sn-framework/profile/change-avatar.php

    r1655 r1761  
    1313        <?php do_action( 'bp_before_profile_avatar_upload_content' ) ?>
    1414
    15         <p><?php _e('Your avatar will be used on your profile and throughout the site.', 'buddypress') ?></p>
    16         <p><?php _e( 'Click below to select a JPG, GIF or PNG format photo from your computer and then click \'Upload Photo\' to proceed.', 'buddypress' ) ?></p>
     15        <p><?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a <a href="http://gravatar.com">Gravatar</a> associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress') ?></p>
    1716       
    1817        <form action="" method="post" id="avatar-upload-form" enctype="multipart/form-data">   
     
    2221                <h3><?php _e( 'Your Current Avatar', 'buddypress' ) ?></h3>
    2322       
    24                 <?php bp_displayed_user_avatar( 'type=full') ?>
    25                 <?php bp_displayed_user_avatar( 'type=thumb' ) ?>
    26            
    27                 <p>
     23                <p id="current-avatar">
     24                    <?php bp_displayed_user_avatar( 'type=full') ?>
     25                    <?php bp_displayed_user_avatar( 'type=thumb' ) ?>
     26                </p>
     27               
     28                <?php if ( bp_get_user_has_avatar() ) : ?>
     29                    <div class="generic-button" id="delete-avatar-button">
     30                        <a class="edit" href="<?php bp_avatar_delete_link() ?>" title="<?php _e( 'Delete Avatar', 'buddypress' ) ?>"><?php _e( 'Delete Avatar', 'buddypress' ) ?></a>
     31                    </div>
     32                <?php endif; ?>
     33               
     34                <h3><?php _e( 'Upload a New Avatar', 'buddypress' ) ?></h3>
     35
     36                <p><?php _e( 'Click below to select a JPG, GIF or PNG format photo from your computer and then click \'Upload Image\' to proceed.', 'buddypress' ) ?></p>
     37               
     38                <p id="avatar-upload">
    2839                    <input type="file" name="file" id="file" />
    2940                    <input type="submit" name="upload" id="upload" value="<?php _e( 'Upload Image', 'buddypress' ) ?>" />
  • trunk/bp-themes/bp-sn-framework/userbar.php

    r1665 r1761  
    2424        <p id="login-text"><?php _e( 'You must log in to access your account.', 'buddypress' ) ?></p>
    2525   
    26         <form name="loginform" id="loginform" action="<?php echo site_url('wp-login.php') ?>" method="post">
     26        <form name="loginform" id="loginform" action="<?php echo site_url( 'wp-login.php', 'login' ) ?>" method="post">
    2727            <p>
    2828                <label><?php _e( 'Username', 'buddypress' ) ?><br />
Note: See TracChangeset for help on using the changeset viewer.