<!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" />
<title>[BuddyPress][5452] trunk/bp-xprofile: First pass and updated Profile Fields UI for WordPress 3.3.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://buddypress.trac.wordpress.org/changeset/5452">5452</a></dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2011-12-06 05:32:23 +0000 (Tue, 06 Dec 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>First pass and updated Profile Fields UI for WordPress 3.3. See <a href="http://buddypress.trac.wordpress.org/ticket/3801">#3801</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpxprofileadmincssadmindevcss">trunk/bp-xprofile/admin/css/admin.dev.css</a></li>
<li><a href="#trunkbpxprofilebpxprofileadminphp">trunk/bp-xprofile/bp-xprofile-admin.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpxprofileadmincssadmindevcss"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/admin/css/admin.dev.css (5451 => 5452)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/admin/css/admin.dev.css        2011-12-06 05:31:07 UTC (rev 5451)
+++ trunk/bp-xprofile/admin/css/admin.dev.css        2011-12-06 05:32:23 UTC (rev 5452)
</span><span class="lines">@@ -4,13 +4,10 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #tabs-bottom {
</span><del>-        background: #DFDFDF url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0% 0%;
</del><ins>+        background: #f9f9f9;
</ins><span class="cx">         height: 32px;
</span><del>-        border: 1px solid #ccc;
-        -moz-border-radius: 0 0 6px 6px;
-        -khtml-border-radius: 0 0 6px 6px;
-        -webkit-border-radius: 0 0 6px 6px;
-        border-radius: 0 0 6px 6px;
</del><ins>+        border: 1px solid #dfdfdf;
+        border-radius: 0 0 3px 3px;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #tabs {
</span><span class="lines">@@ -24,6 +21,7 @@
</span><span class="cx">         ul#field-group-tabs {
</span><span class="cx">                 float: left;
</span><span class="cx">                 padding: 0 0 0 15px;
</span><ins>+                margin: 0;
</ins><span class="cx">                 display: none;
</span><span class="cx">         }
</span><span class="cx">                 ul#field-group-tabs li {
</span><span class="lines">@@ -36,8 +34,8 @@
</span><span class="cx">                         background-color: #fafafa;
</span><span class="cx">                 }
</span><span class="cx">                 ul#field-group-tabs li.ui-state-hover a.ui-tab {
</span><del>-                        border-color: #bbb #bbb #ccc #bbb;
-                        color: #888;
</del><ins>+                        border-color: #dfdfdf #dfdfdf #f9f9f9 #dfdfdf;
+                        color: #d54e21;
</ins><span class="cx">                 }
</span><span class="cx">                 ul#field-group-tabs li.ui-state-acceptable a.ui-tab {
</span><span class="cx">                         border-color: #5a5 #5a5 #ccc #5a5;
</span><span class="lines">@@ -46,7 +44,7 @@
</span><span class="cx">                         background-color: #efe;
</span><span class="cx">                 }
</span><span class="cx">                         ul#field-group-tabs li.ui-tabs-selected.ui-state-acceptable a.ui-tab {
</span><del>-                                background-color: #ECECEC;
</del><ins>+                                background-color: #f9f9f9;
</ins><span class="cx">                                 background-image: url(../images/cross.gif);
</span><span class="cx">                         }
</span><span class="cx">                 ul#field-group-tabs li.drop-candidate a.ui-tab {
</span><span class="lines">@@ -55,68 +53,57 @@
</span><span class="cx">                         color: #aa8;
</span><span class="cx">                 }
</span><span class="cx">                 ul#field-group-tabs li a.ui-tab {
</span><ins>+                        font-family: Georgia, &quot;Times New Roman&quot;, &quot;Bitstream Charter&quot;, Times, serif;
+                        font-size: 14px;
</ins><span class="cx">                         display: block;
</span><span class="cx">                         margin-top: 3px;
</span><span class="cx">                         padding: 5px 10px 5px 28px;
</span><del>-                        border: 1px solid #ccc;
</del><ins>+                        border: 1px solid #dfdfdf;
</ins><span class="cx">                         border-bottom: none;
</span><del>-                        -moz-border-radius: 6px 6px 0 0;
-                        -khtml-border-radius: 6px 6px 0 0;
-                        -webkit-border-radius: 6px 6px 0 0;
-                        border-radius: 6px 6px 0 0;
</del><ins>+                        border-radius: 3px 3px 0 0;
</ins><span class="cx">                         text-decoration: none;
</span><del>-                        background: #F4F4F4 url(../images/move-x.gif) 7px 55% no-repeat;
-                        color: #888;
</del><ins>+                        background: #f9f9f9 url(../images/move-x.gif) 7px 55% no-repeat;
+                        color: #aaa;
</ins><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">                 /* Selected tab */
</span><span class="cx">                 ul#field-group-tabs li.ui-tabs-selected a.ui-tab {
</span><del>-                        background-color: #ECECEC;
</del><ins>+                        background-color: #f9f9f9;
</ins><span class="cx">                         margin-top: -1px;
</span><span class="cx">                         padding: 7px 10px 7px 28px;
</span><del>-                        border: 1px solid #ccc;
</del><ins>+                        border: 1px solid #dfdfdf;
</ins><span class="cx">                         border-bottom: 1px solid transparent;
</span><span class="cx">                         color: #000;
</span><del>-                        font-weight: bold;
</del><span class="cx">                 }
</span><span class="cx"> 
</span><span class="cx">         /* Toolbar */
</span><span class="cx">         .tab-toolbar {
</span><del>-                background: #ddd url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0% 0%;
</del><ins>+                background: #f9f9f9;
</ins><span class="cx">                 border-width: 1px 1px 0px;
</span><del>-                -moz-border-radius: 6px 6px 0 0;
-                -khtml-border-radius: 6px 6px 0 0;
-                -webkit-border-radius: 6px 6px 0 0;
-                border-radius: 6px 6px 0 0;
</del><ins>+                border-radius: 3px 3px 0 0;
</ins><span class="cx">                 margin: -20px -21px 20px -21px;
</span><span class="cx">                 clear: left;
</span><span class="cx">                 padding: 10px;
</span><del>-                border: 1px solid #ccc;
</del><ins>+                border: 1px solid #dfdfdf;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><del>-        .tab-toolbar a.button {
-                padding: 5px 10px;
-        }
-
</del><ins>+        .field-wrapper a.deletion,
</ins><span class="cx">         .tab-toolbar a.deletion {
</span><span class="cx">                 color: #f00;
</span><span class="cx">                 border-bottom: 1px solid #f00;
</span><del>-                font-size: 11px;
</del><ins>+                font-size: 12px;
</ins><span class="cx">                 text-decoration: none;
</span><del>-                padding: 0 2px;
-                margin-top: -2px;
</del><ins>+                padding: 0;
+                margin: -2px 0 0 5px;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         div.tab-wrapper {
</span><del>-                background-color: #f9f9f9;
</del><ins>+                background-color: #fff;
</ins><span class="cx">                 clear: left;
</span><span class="cx">                 padding: 20px;
</span><span class="cx">                 border-left: 1px solid #ccc;
</span><span class="cx">                 border-right: 1px solid #ccc;
</span><del>-                -moz-border-radius: 6px 6px 0 0;
-                -khtml-border-radius: 6px 6px 0 0;
-                -webkit-border-radius: 6px 6px 0 0;
-                border-radius: 6px 6px 0 0;
</del><ins>+                border-radius: 3px 3px 0 0;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         .tab-wrapper fieldset {
</span><span class="lines">@@ -140,7 +127,7 @@
</span><span class="cx">                 border-radius: 5px;
</span><span class="cx">                 margin: 10px 0 0 0;
</span><span class="cx">                 cursor: move !important;
</span><del>-                background: #fcfcfc url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0% 0%;
</del><ins>+                background: #f9f9f9;
</ins><span class="cx">         }
</span><span class="cx">         .tab-wrapper fieldset fieldset legend {
</span><span class="cx">                 position: absolute !important;
</span><span class="lines">@@ -179,8 +166,8 @@
</span><span class="cx">         }
</span><span class="cx">         .field-group div.actions {
</span><span class="cx">                 position: absolute;
</span><del>-                right: 10px;
-                top: 6px;
</del><ins>+                right: 8px;
+                top: 10px;
</ins><span class="cx">         }
</span><span class="cx">         .field-group fieldset:hover div.actions {
</span><span class="cx">                 display: block;
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofileadminphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-admin.php (5451 => 5452)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-admin.php        2011-12-06 05:31:07 UTC (rev 5451)
+++ trunk/bp-xprofile/bp-xprofile-admin.php        2011-12-06 05:32:23 UTC (rev 5452)
</span><span class="lines">@@ -73,7 +73,7 @@
</span><span class="cx"> 
</span><span class="cx">                         &lt;?php _e( 'Profile Fields', 'buddypress'); ?&gt;
</span><span class="cx"> 
</span><del>-                        &lt;a id=&quot;add_group&quot; class=&quot;button add-new-h2&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;mode=add_group&quot;&gt;&lt;?php _e( 'Add New Group', 'buddypress' ); ?&gt;&lt;/a&gt;
</del><ins>+                        &lt;a id=&quot;add_group&quot; class=&quot;add-new-h2&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;mode=add_group&quot;&gt;&lt;?php _e( 'Add New Group', 'buddypress' ); ?&gt;&lt;/a&gt;
</ins><span class="cx">                 &lt;/h2&gt;
</span><span class="cx"> 
</span><span class="cx">                 &lt;p&gt;&lt;?php _e( 'Your users will distinguish themselves through their profile page. You must give them profile fields that allow them to describe themselves in a way that is relevant to the theme of your social network.', 'buddypress'); ?&gt;&lt;/p&gt;
</span><span class="lines">@@ -117,12 +117,12 @@
</span><span class="cx">                                         &lt;div id=&quot;tabs-&lt;?php echo $group-&gt;id; ?&gt;&quot; class=&quot;tab-wrapper&quot;&gt;
</span><span class="cx">                                                 &lt;div class=&quot;tab-toolbar&quot;&gt;
</span><span class="cx">                                                         &lt;div class=&quot;tab-toolbar-left&quot;&gt;
</span><del>-                                                                &lt;a class=&quot;button&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;group_id=&lt;?php echo esc_attr( $group-&gt;id ); ?&gt;&amp;amp;mode=add_field&quot;&gt;&lt;?php _e( 'Add New Field', 'buddypress' ); ?&gt;&lt;/a&gt;
</del><ins>+                                                                &lt;a class=&quot;button-primary&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;group_id=&lt;?php echo esc_attr( $group-&gt;id ); ?&gt;&amp;amp;mode=add_field&quot;&gt;&lt;?php _e( 'Add New Field', 'buddypress' ); ?&gt;&lt;/a&gt;
</ins><span class="cx">                                                                 &lt;a class=&quot;button edit&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;mode=edit_group&amp;amp;group_id=&lt;?php echo esc_attr( $group-&gt;id ); ?&gt;&quot;&gt;&lt;?php _e( 'Edit Group', 'buddypress' ); ?&gt;&lt;/a&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php                                if ( $group-&gt;can_delete ) : ?&gt;
</span><span class="cx"> 
</span><del>-                                                                &lt;a class=&quot;submitdelete deletion&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;mode=delete_group&amp;amp;group_id=&lt;?php echo esc_attr( $group-&gt;id ); ?&gt;&quot;&gt;&lt;?php _e( 'Delete Group', 'buddypress' ); ?&gt;&lt;/a&gt;
</del><ins>+                                                                &lt;a class=&quot;submitdelete deletion ajax-option-delete&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;mode=delete_group&amp;amp;group_id=&lt;?php echo esc_attr( $group-&gt;id ); ?&gt;&quot;&gt;&lt;?php _e( 'Delete Group', 'buddypress' ); ?&gt;&lt;/a&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;?php                                endif; ?&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -460,9 +460,8 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;?php } ?&gt;
</span><span class="cx">                                                                 &lt;div class=&quot;actions&quot;&gt;
</span><ins>+                                                                        &lt;?php if ( !$field-&gt;can_delete ) : ?&gt;&amp;nbsp;&lt;?php else : ?&gt;&lt;a class=&quot;submit-delete deletion ajax-option-delete&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;field_id=&lt;?php echo esc_attr( $field-&gt;id ); ?&gt;&amp;amp;mode=delete_field&quot;&gt;&lt;?php _e( 'Delete', 'buddypress' ); ?&gt;&lt;/a&gt;&lt;?php endif; ?&gt;
</ins><span class="cx">                                                                         &lt;a class=&quot;button edit&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;group_id=&lt;?php echo esc_attr( $admin_group-&gt;id ); ?&gt;&amp;amp;field_id=&lt;?php echo esc_attr( $field-&gt;id ); ?&gt;&amp;amp;mode=edit_field&quot;&gt;&lt;?php _e( 'Edit', 'buddypress' ); ?&gt;&lt;/a&gt;
</span><del>-                                                                        &lt;?php if ( !$field-&gt;can_delete ) : ?&gt;&amp;nbsp;&lt;?php else : ?&gt;&lt;a class=&quot;button delete&quot; href=&quot;admin.php?page=bp-profile-setup&amp;amp;field_id=&lt;?php echo esc_attr( $field-&gt;id ); ?&gt;&amp;amp;mode=delete_field&quot;&gt;&lt;?php _e( 'Delete', 'buddypress' ); ?&gt;&lt;/a&gt;&lt;?php endif; ?&gt;
-
</del><span class="cx">                                                                 &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php if ( $field-&gt;description ) : ?&gt;
</span></span></pre>
</div>
</div>

</body>
</html>