<!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">                                                 &lt;div class=&quot;left-menu&quot;&gt;
</span><span class="cx">                                                         &lt;?php bp_group_avatar( 'type=full' ) ?&gt;
</span><ins>+                                                        
+                                                        &lt;?php if ( bp_get_group_has_avatar() ) : ?&gt;
+                                                                &lt;div class=&quot;generic-button&quot; id=&quot;delete-group-avatar-button&quot;&gt;
+                                                                        &lt;a class=&quot;edit&quot; href=&quot;&lt;?php bp_group_avatar_delete_link() ?&gt;&quot; title=&quot;&lt;?php _e( 'Delete Avatar', 'buddypress' ) ?&gt;&quot;&gt;&lt;?php _e( 'Delete Avatar', 'buddypress' ) ?&gt;&lt;/a&gt;
+                                                                &lt;/div&gt;
+                                                        &lt;?php endif; ?&gt;
</ins><span class="cx">                                                 &lt;/div&gt;
</span><span class="cx">                                 
</span><span class="cx">                                                 &lt;div class=&quot;main-column&quot;&gt;
</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">                 &lt;?php do_action( 'bp_before_profile_avatar_upload_content' ) ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;p&gt;&lt;?php _e('Your avatar will be used on your profile and throughout the site.', 'buddypress') ?&gt;&lt;/p&gt;
-                &lt;p&gt;&lt;?php _e( 'Click below to select a JPG, GIF or PNG format photo from your computer and then click \'Upload Photo\' to proceed.', 'buddypress' ) ?&gt;&lt;/p&gt;
</del><ins>+                &lt;p&gt;&lt;?php _e( 'Your avatar will be used on your profile and throughout the site. If there is a &lt;a href=&quot;http://gravatar.com&quot;&gt;Gravatar&lt;/a&gt; associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress') ?&gt;&lt;/p&gt;
</ins><span class="cx">                 
</span><span class="cx">                 &lt;form action=&quot;&quot; method=&quot;post&quot; id=&quot;avatar-upload-form&quot; enctype=&quot;multipart/form-data&quot;&gt;        
</span><span class="cx">                         
</span><span class="lines">@@ -21,10 +20,22 @@
</span><span class="cx">                         
</span><span class="cx">                                 &lt;h3&gt;&lt;?php _e( 'Your Current Avatar', 'buddypress' ) ?&gt;&lt;/h3&gt;
</span><span class="cx">                 
</span><del>-                                &lt;?php bp_displayed_user_avatar( 'type=full') ?&gt;
-                                &lt;?php bp_displayed_user_avatar( 'type=thumb' ) ?&gt;
-                        
-                                &lt;p&gt;
</del><ins>+                                &lt;p id=&quot;current-avatar&quot;&gt;
+                                        &lt;?php bp_displayed_user_avatar( 'type=full') ?&gt;
+                                        &lt;?php bp_displayed_user_avatar( 'type=thumb' ) ?&gt;
+                                &lt;/p&gt;
+                                
+                                &lt;?php if ( bp_get_user_has_avatar() ) : ?&gt;
+                                        &lt;div class=&quot;generic-button&quot; id=&quot;delete-avatar-button&quot;&gt;
+                                                &lt;a class=&quot;edit&quot; href=&quot;&lt;?php bp_avatar_delete_link() ?&gt;&quot; title=&quot;&lt;?php _e( 'Delete Avatar', 'buddypress' ) ?&gt;&quot;&gt;&lt;?php _e( 'Delete Avatar', 'buddypress' ) ?&gt;&lt;/a&gt;
+                                        &lt;/div&gt;
+                                &lt;?php endif; ?&gt;
+                                
+                                &lt;h3&gt;&lt;?php _e( 'Upload a New Avatar', 'buddypress' ) ?&gt;&lt;/h3&gt;
+
+                                &lt;p&gt;&lt;?php _e( 'Click below to select a JPG, GIF or PNG format photo from your computer and then click \'Upload Image\' to proceed.', 'buddypress' ) ?&gt;&lt;/p&gt;
+                                
+                                &lt;p id=&quot;avatar-upload&quot;&gt;
</ins><span class="cx">                                         &lt;input type=&quot;file&quot; name=&quot;file&quot; id=&quot;file&quot; /&gt; 
</span><span class="cx">                                         &lt;input type=&quot;submit&quot; name=&quot;upload&quot; id=&quot;upload&quot; value=&quot;&lt;?php _e( 'Upload Image', 'buddypress' ) ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; id=&quot;action&quot; value=&quot;bp_avatar_upload&quot; /&gt;
</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">                 &lt;p id=&quot;login-text&quot;&gt;&lt;?php _e( 'You must log in to access your account.', 'buddypress' ) ?&gt;&lt;/p&gt;
</span><span class="cx">         
</span><del>-                &lt;form name=&quot;loginform&quot; id=&quot;loginform&quot; action=&quot;&lt;?php echo site_url('wp-login.php') ?&gt;&quot; method=&quot;post&quot;&gt;
</del><ins>+                &lt;form name=&quot;loginform&quot; id=&quot;loginform&quot; action=&quot;&lt;?php echo site_url( 'wp-login.php', 'login' ) ?&gt;&quot; method=&quot;post&quot;&gt;
</ins><span class="cx">                         &lt;p&gt;
</span><span class="cx">                                 &lt;label&gt;&lt;?php _e( 'Username', 'buddypress' ) ?&gt;&lt;br /&gt;
</span><span class="cx">                                 &lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;user_login&quot; class=&quot;input&quot; value=&quot;&lt;?php echo attribute_escape(stripslashes($user_login)); ?&gt;&quot; /&gt;&lt;/label&gt;
</span></span></pre>
</div>
</div>

</body>
</html>