<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[BuddyPress] [1761] trunk/bp-themes/bp-sn-framework:
Theme updates for previous commit.</title>
</head>
<body>
<div id="msg">
<dl>
<dt>Revision</dt> <dd>1761</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2009-09-02 19:54:38 +0000 (Wed, 02 Sep 2009)</dd>
</dl>
<h3>Log Message</h3>
<pre>Theme updates for previous commit.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpthemesbpsnframeworkgroupssingleadminphp">trunk/bp-themes/bp-sn-framework/groups/single/admin.php</a></li>
<li><a href="#trunkbpthemesbpsnframeworkprofilechangeavatarphp">trunk/bp-themes/bp-sn-framework/profile/change-avatar.php</a></li>
<li><a href="#trunkbpthemesbpsnframeworkuserbarphp">trunk/bp-themes/bp-sn-framework/userbar.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpthemesbpsnframeworkgroupssingleadminphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-sn-framework/groups/single/admin.php (1760 => 1761)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-sn-framework/groups/single/admin.php        2009-09-02 19:54:19 UTC (rev 1760)
+++ trunk/bp-themes/bp-sn-framework/groups/single/admin.php        2009-09-02 19:54:38 UTC (rev 1761)
</span><span class="lines">@@ -122,6 +122,12 @@
</span><span class="cx">
</span><span class="cx">                                                 <div class="left-menu">
</span><span class="cx">                                                         <?php bp_group_avatar( 'type=full' ) ?>
</span><ins>+                                                        
+                                                        <?php if ( bp_get_group_has_avatar() ) : ?>
+                                                                <div class="generic-button" id="delete-group-avatar-button">
+                                                                        <a class="edit" href="<?php bp_group_avatar_delete_link() ?>" title="<?php _e( 'Delete Avatar', 'buddypress' ) ?>"><?php _e( 'Delete Avatar', 'buddypress' ) ?></a>
+                                                                </div>
+                                                        <?php endif; ?>
</ins><span class="cx">                                                 </div>
</span><span class="cx">                                 
</span><span class="cx">                                                 <div class="main-column">
</span></span></pre></div>
<a id="trunkbpthemesbpsnframeworkprofilechangeavatarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-sn-framework/profile/change-avatar.php (1760 => 1761)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-sn-framework/profile/change-avatar.php        2009-09-02 19:54:19 UTC (rev 1760)
+++ trunk/bp-themes/bp-sn-framework/profile/change-avatar.php        2009-09-02 19:54:38 UTC (rev 1761)
</span><span class="lines">@@ -12,8 +12,7 @@
</span><span class="cx">         
</span><span class="cx">                 <?php do_action( 'bp_before_profile_avatar_upload_content' ) ?>
</span><span class="cx">
</span><del>-                <p><?php _e('Your avatar will be used on your profile and throughout the site.', 'buddypress') ?></p>
-                <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>
</del><ins>+                <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>
</ins><span class="cx">                 
</span><span class="cx">                 <form action="" method="post" id="avatar-upload-form" enctype="multipart/form-data">        
</span><span class="cx">                         
</span><span class="lines">@@ -21,10 +20,22 @@
</span><span class="cx">                         
</span><span class="cx">                                 <h3><?php _e( 'Your Current Avatar', 'buddypress' ) ?></h3>
</span><span class="cx">                 
</span><del>-                                <?php bp_displayed_user_avatar( 'type=full') ?>
-                                <?php bp_displayed_user_avatar( 'type=thumb' ) ?>
-                        
-                                <p>
</del><ins>+                                <p id="current-avatar">
+                                        <?php bp_displayed_user_avatar( 'type=full') ?>
+                                        <?php bp_displayed_user_avatar( 'type=thumb' ) ?>
+                                </p>
+                                
+                                <?php if ( bp_get_user_has_avatar() ) : ?>
+                                        <div class="generic-button" id="delete-avatar-button">
+                                                <a class="edit" href="<?php bp_avatar_delete_link() ?>" title="<?php _e( 'Delete Avatar', 'buddypress' ) ?>"><?php _e( 'Delete Avatar', 'buddypress' ) ?></a>
+                                        </div>
+                                <?php endif; ?>
+                                
+                                <h3><?php _e( 'Upload a New Avatar', 'buddypress' ) ?></h3>
+
+                                <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>
+                                
+                                <p id="avatar-upload">
</ins><span class="cx">                                         <input type="file" name="file" id="file" />
</span><span class="cx">                                         <input type="submit" name="upload" id="upload" value="<?php _e( 'Upload Image', 'buddypress' ) ?>" />
</span><span class="cx">                                         <input type="hidden" name="action" id="action" value="bp_avatar_upload" />
</span></span></pre></div>
<a id="trunkbpthemesbpsnframeworkuserbarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-sn-framework/userbar.php (1760 => 1761)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-sn-framework/userbar.php        2009-09-02 19:54:19 UTC (rev 1760)
+++ trunk/bp-themes/bp-sn-framework/userbar.php        2009-09-02 19:54:38 UTC (rev 1761)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx">                 
</span><span class="cx">                 <p id="login-text"><?php _e( 'You must log in to access your account.', 'buddypress' ) ?></p>
</span><span class="cx">         
</span><del>-                <form name="loginform" id="loginform" action="<?php echo site_url('wp-login.php') ?>" method="post">
</del><ins>+                <form name="loginform" id="loginform" action="<?php echo site_url( 'wp-login.php', 'login' ) ?>" method="post">
</ins><span class="cx">                         <p>
</span><span class="cx">                                 <label><?php _e( 'Username', 'buddypress' ) ?><br />
</span><span class="cx">                                 <input type="text" name="log" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" /></label>
</span></span></pre>
</div>
</div>
</body>
</html>