<!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] [2631] trunk: Adding rtl.css props yoav.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2631</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2010-02-08 14:45:24 +0000 (Mon, 08 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Adding rtl.css props yoav. Fixed logout redirect.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpcorephp">trunk/bp-core.php</a></li>
<li><a href="#trunkbpthemesbpdefaultsidebarphp">trunk/bp-themes/bp-default/sidebar.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkbpthemesbpdefaultrtlcss">trunk/bp-themes/bp-default/rtl.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpcorephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core.php (2630 => 2631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core.php        2010-02-08 14:36:39 UTC (rev 2630)
+++ trunk/bp-core.php        2010-02-08 14:45:24 UTC (rev 2631)
</span><span class="lines">@@ -2052,7 +2052,7 @@
</span><span class="cx"> function bp_core_login_redirect() {
</span><span class="cx">         global $bp;
</span><span class="cx"> 
</span><del>-        if ( false === strpos( wp_get_referer(), 'wp-login.php' ) &amp;&amp; empty( $_GET['nr'] ) )
</del><ins>+        if ( false === strpos( wp_get_referer(), 'wp-login.php' ) &amp;&amp; empty( $_REQUEST['nr'] ) )
</ins><span class="cx">                 return wp_get_referer();
</span><span class="cx"> 
</span><span class="cx">         return $bp-&gt;root_domain;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultrtlcss"></a>
<div class="addfile"><h4>Added: trunk/bp-themes/bp-default/rtl.css (0 => 2631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/rtl.css                                (rev 0)
+++ trunk/bp-themes/bp-default/rtl.css        2010-02-08 14:45:24 UTC (rev 2631)
</span><span class="lines">@@ -0,0 +1,743 @@
</span><ins>+/*
+Theme Name: BuddyPress Default
+*/
+
+/***
+ * Right to left styles. This will transform the theme to read from right to left
+ * for languages that support this method.
+ */
+
+body {
+        direction:rtl;
+        unicode-bidi:embed;
+}
+
+/***
+ * The default theme styles.
+ */
+/* &gt; Global Elements
+-------------------------------------------------------------- */
+
+body {
+        background: #eaeaea url( _inc/images/background.gif ) top right repeat-x;
+}
+.clear { clear: right; }
+
+img.avatar {
+        float: right;
+}
+
+/* &gt; Header
+-------------------------------------------------------------- */
+
+        #header #search-bar {
+                left: 0;
+                right:auto;
+                text-align: left;
+        }
+
+                #header #search-bar input[type=text] {
+                        margin-left: 4px;
+                        margin-right: 0;
+                }
+
+                #header #search-bar input[type=submit] {
+                        margin-right: 4px;
+                        margin-left: 0;
+                }
+
+        #header h1 {
+                left: auto;
+                right: 20px;
+        }
+
+/* &gt; Navigation
+-------------------------------------------------------------- */
+
+ul#nav {
+        left: 15px;
+        right: auto;
+}
+        ul#nav li {
+                float: right;
+                margin: 0 0 0 5px;
+        }
+/* &gt; Container
+-------------------------------------------------------------- */
+
+div#container {
+        border-left: 0;
+        border-right: 1px solid #e0e0e0;
+}
+
+/* &gt; Sidebar
+-------------------------------------------------------------- */
+
+div#sidebar {
+        float: right;
+        margin-right: -226px;
+        margin-left:0;
+        border-right: 1px solid #e4e4e4;
+        border-left: 0;
+        -moz-border-radius-topleft: 3px;
+        -webkit-border-top-left-radius: 3px;
+        -moz-border-radius-topright: 0;
+        -webkit-border-top-right-radius: 0;
+        background: url( _inc/images/sidebar_back.gif ) top right repeat-x;
+}
+        div#sidebar div#sidebar-me img.avatar {
+                float: right;
+                margin: 0 0 15px 10px;
+        }
+
+        div#sidebar ul#bp-nav {
+                clear: right;
+        }
+
+        div#sidebar h3.widgettitle {
+                margin: 25px -19px 10px -20px;
+                clear: right;
+        }
+
+        div#sidebar ul.item-list img.avatar {
+                margin-left: 10px;
+                margin-right: 0;
+        }
+
+        div#sidebar div.item-options {
+                margin: -10px -19px 0 -20px;
+        }
+
+        div#sidebar div.item-meta, div#sidebar div.item-content {
+                margin-right: 38px;
+                margin-left: 0;
+        }
+
+/* &gt; Content
+-------------------------------------------------------------- */
+
+div#content {
+        float: right;
+        -moz-border-radius-topleft: 0;
+        -moz-border-radius-topright: 6px;
+        -webkit-border-top-right-radius: 6px;
+        -webkit-border-top-left-radius: 0;
+        -moz-border-radius-bottomleft: 0;
+        -moz-border-radius-bottomright: 6px;
+        -webkit-border-bottom-right-radius: 6px;
+        -webkit-border-bottom-left-radius: 0;
+}
+
+div#content .padder {
+        margin-left: 225px;
+        margin-right: 0;
+        border-left: 1px solid #e4e4e4;
+        border-right: 0;
+        -moz-border-radius-topright: 6px;
+        -moz-border-radius-topleft: 0;
+        -webkit-border-top-right-radius: 6px;
+        -webkit-border-top-left-radius: 0;
+        -moz-border-radius-bottomright: 6px;
+        -moz-border-radius-bottomleft: 0;
+        -webkit-border-bottom-right-radius: 6px;
+        -webkit-border-bottom-left-radius: 0;
+}
+        div#content .left-menu {
+                float: right;
+        }
+
+        div#content .main-column {
+                margin-right: 190px;
+                margin-left: 0;
+        }
+
+/* &gt; Item Headers (Profiles, Groups)
+-------------------------------------------------------------- */
+
+        div#item-header img.avatar {
+                float: right;
+                margin: 0 0 25px 15px;
+        }
+
+        div#item-header span.activity {
+                margin: 0 4px 5px 0;
+        }
+
+        div#item-header div#item-actions {
+                float: left;
+                margin: 0 15px 15px 0;
+                text-align: left;
+        }
+                div#item-header ul li {
+                        float: left;
+                }
+
+        div#item-header div.generic-button, div#item-header a.button {
+                float: right;
+                margin: 10px 0 0 10px;
+        }
+
+
+/* &gt; Item Lists (Activity, Friend, Group lists)
+-------------------------------------------------------------- */
+
+                ul.item-list li img.avatar {
+                        float: right;
+                        margin: 0 0 10px 10px;
+                }
+
+                ul.item-list li div.item-desc {
+                        margin: 10px 64px 0 0;
+                }
+
+                ul.item-list li div.action {
+                        left: 0;
+                        right:auto;
+                        text-align: left;
+                }
+
+/* &gt; Item Tabs
+-------------------------------------------------------------- */
+
+div.item-list-tabs {
+        clear: right;
+}
+                div.item-list-tabs ul li {
+                        float: right;
+                        margin: 5px 5px 0 0;
+                }
+                        div.item-list-tabs ul li:first-child {
+                                margin-left:0;
+                                margin-right: 20px;
+                        }
+
+                        div.item-list-tabs ul li.last {
+                                float: left;
+                                margin: 7px 0 0 20px;
+                        }
+
+                        ul li.loading a {
+                                background-position: 8% 50%;
+                                padding-left: 30px !important;
+                                padding-right: 0 !important;
+                        }
+                                div#item-nav ul li.loading a {
+                                        background-position: 12% 50%;
+                                }
+
+        div.item-list-tabs ul li.feed a {
+                background-position:right center;
+                padding-right: 20px;
+                padding-left: 0;
+        }
+
+/* &gt; Item Body
+-------------------------------------------------------------- */
+
+span.activity, div#message p {
+        border-left: 1px solid #FFE8C4;
+        border-right: 0;
+}
+
+/* &gt; Directories (Members, Groups, Blogs, Forums)
+-------------------------------------------------------------- */
+
+div.dir-search {
+        float: left;
+}
+
+/* &gt; Pagination
+-------------------------------------------------------------- */
+
+        div.pagination .pag-count {
+                float: right;
+        }
+
+        div.pagination .pagination-links {
+                float: left;
+        }
+
+/* &gt; Buttons
+-------------------------------------------------------------- */
+
+a.button, input[type=submit], input[type=button],
+ul.button-nav li a, div.generic-button a {
+        background-position:right top;
+}
+        div.accept, div.reject {
+                float: right;
+                margin-left: 0;
+                margin-right: 10px;
+        }
+
+ul.button-nav li {
+        float: right;
+        margin: 0 0 10px 10px;
+}
+
+/* &gt; AJAX Loaders
+-------------------------------------------------------------- */
+
+.ajax-loader {
+        background-position:right center !important;
+}
+
+a.loading {
+        background-position: 5% 50% !important;
+        padding-left: 25px !important;
+        padding-right: 0 !important;
+}
+
+/* &gt; Input Forms
+-------------------------------------------------------------- */
+
+                        form.standard-form#signup_form div.submit { float: left; }
+                        form.standard-form#signup_form div.signup-avatar { margin-left: 15px; margin-right:0;}
+
+                form.standard-form div.submit input {
+                        margin-left: 15px;
+                        margin-right: 0;
+                }
+
+        form.standard-form div.radio ul {
+                margin: 10px 38px 15px 0;
+        }
+
+form.standard-form #basic-details-section, form.standard-form #blog-details-section,
+form.standard-form #profile-details-section {
+        float: right;
+}
+        form.standard-form #profile-details-section { float: left; }
+        form.standard-form #blog-details-section {
+                clear: right;
+        }
+
+
+/* &gt; Data Tables
+-------------------------------------------------------------- */
+                table tr td.label {
+                        border-left: 1px solid #eaeaea;
+                        border-right: 0;
+                }
+
+
+        table.forum tr.closed td.td-title {
+                padding-right: 35px;
+                padding-left: 0;
+                background-position: 5% 50%;
+        }
+
+        table.forum tr &gt; td:first-child, table.forum tr &gt; th:first-child {
+                padding-right: 15px;
+                padding-left: 0;
+        }
+
+        table.forum tr &gt; td:last-child, table.forum tr &gt; th:last-child {
+                padding-left: 15px;
+                padding-right: 0;
+        }
+
+        table.forum tr th#th-title, table.forum tr th#th-poster,
+        table.forum tr th#th-group, table.forum td.td-poster,
+        table.forum td.td-group, table.forum td.td-title { text-align: right; }
+
+        table.forum td img.avatar {
+                margin-left: 5px;
+                margin-right: 0;
+        }
+
+/* &gt; Activity Stream Posting
+-------------------------------------------------------------- */
+
+        form#whats-new-form h5 {
+                margin-right: 76px;
+                margin-left: 0;
+        }
+
+        form#whats-new-form #whats-new-avatar {
+                float: right;
+        }
+
+        form#whats-new-form #whats-new-content {
+                margin-right: 54px;
+                padding-right: 22px;
+        }
+
+        form#whats-new-form #whats-new-submit {
+                float: left;
+        }
+
+/* &gt; Activity Stream Listing
+-------------------------------------------------------------- */
+
+        .activity-list li.mini .activity-avatar img.avatar,
+        .activity-list li.mini .activity-avatar img.FB_profile_pic {
+                margin-right: 36px;
+                margin-left: 0;
+        }
+                .activity-list li.activity_comment .activity-avatar img.avatar,
+                .activity-list li.activity_comment .activity-avatar img.FB_profile_pic {
+                        margin-right: 20px;
+                        margin-left: 0;
+                }
+
+                body.activity-permalink .activity-list li .activity-avatar img.avatar,
+                body.activity-permalink .activity-list li .activity-avatar img.FB_profile_pic {
+                        margin-right: 0;
+                }
+
+        .activity-list li.mini .activity-content {
+                margin-left: 175px;
+                margin-right: 0;
+        }
+
+        .activity-list li.mini .activity-content p {
+                float: right;
+        }
+
+        .activity-list li.mini .activity-meta {
+                left: 0;
+                right: auto;
+        }
+                body.activity-permalink .activity-list li.mini .activity-meta {
+                        left: 15px;
+                        right: auto;
+                }
+
+        .activity-list li.mini .activity-comments {
+                clear: right;
+        }
+
+.activity-list li .activity-inreplyto {
+        margin-right: 70px;
+        margin-left: 0;
+        padding-right: 25px;
+        padding-left: 0;
+        background-position: 5% 0;
+}
+
+.activity-list .activity-content {
+        margin-right: 70px;
+        margin-left: 0;
+}
+        body.activity-permalink .activity-list li .activity-content {
+                border-left: 1px solid #ddd;
+                border-right: 0;
+                margin-right: 135px;
+                margin-left: 0;
+        }
+                body.activity-permalink .activity-list li .activity-content &gt; p {
+                        background-position: top right;
+                        margin-right: -35px;
+                        margin-left: 0;
+                        padding: 5px 38px 0 0;
+                }
+
+        .activity-list .activity-content &gt; p &gt; a:first-child, span.highlight,
+        .activity-list .activity-content &gt; .comment-header &gt; a:first-child {
+                border-left: 1px solid #a1dcfa;
+                border-right: 0;
+                margin-left: 3px;
+                margin-right: 0;
+        }
+
+        .activity-list .activity-content .activity-inner,
+        .activity-list .activity-content blockquote {
+                margin: 15px 5px 15px 0;
+                overflow: hidden;
+        }
+
+        .activity-list .activity-content img.thumbnail {
+                float: right;
+                margin: 0 0 5px 10px;
+        }
+
+.activity-list li.load-more {
+        border-left: 1px solid #ddd;
+        border-right: 0;
+}
+
+/* &gt; Activity Stream Comments
+-------------------------------------------------------------- */
+
+div.activity-meta {
+        margin: 0 3px 20px 0;
+        clear: right;
+}
+
+.activity-list div.activity-meta a {
+        border-left: 1px solid #ddd;
+        border-right: 0;
+        margin-left: 3px;
+        margin-right: 0;
+}
+        .activity-list div.activity-meta a.acomment-reply {
+                border-left: 1px solid #FFE8C4;
+                border-right: 0;
+        }
+
+
+div.activity-comments {
+        margin: 0 75px 0 0;
+}
+
+        body.activity-permalink div.activity-comments {
+                margin-right: 135px;
+                margin-left: 0;
+        }
+
+        div.activity-comments ul {
+                clear: right;
+        }
+
+        div.activity-comments ul li {
+                padding: 10px 0 10px 15px;
+                margin-right: 15px;
+                margin-left: 0;
+        }
+                body.activity-permalink div.activity-comments ul li {
+                        padding: 15px 0 15px 15px;
+                }
+
+        div.activity-comments ul li &gt; ul {
+                margin-right: 25px;
+                margin-left: 0;
+        }
+
+        div.activity-comments div.acomment-avatar img {
+                float: right;
+                margin-left: 10px;
+                margin-right: 0;
+        }
+
+        div.activity-comments div.acomment-content {
+                margin-right: 39px;
+                margin-right: 0;
+        }
+
+        div.activity-comments form.ac-form {
+                margin: 10px 33px 10px 0;
+                border-left: 1px solid #ddd;
+                border-right: 0;
+        }
+                div.activity-comments li form.ac-form {
+                        margin-left: 15px;
+                        margin-right: 0;
+                }
+
+                div.activity-comments form.root {
+                        margin-right: 0;
+                }
+
+                div.activity-comments form.loading {
+                        background-position: 88% 95%;
+                }
+
+                div.activity-comments form div.ac-reply-avatar {
+                        float: right;
+                }
+
+                div.activity-comments form div.ac-reply-content {
+                        margin-right: 25px;
+                        margin-left: 0;
+                        padding-right: 15px;
+                        padding-left: 0;
+                }
+
+/* &gt; Private Message Threads
+-------------------------------------------------------------- */
+
+        div.messages-options-nav {
+                text-align: left;
+}
+
+        div#message-thread img.avatar {
+                float: right;
+                margin: 0 0 0 10px;
+        }
+
+                div#message-thread strong span.activity {
+                        margin: 4px 10px 0 0;
+                }
+
+        div#message-thread div.message-content {
+                margin-right: 45px;
+                margin-left: 0;
+        }
+
+        div#message-thread div.message-options {
+                text-align: left;
+        }
+
+/* &gt; Group Forum Topics
+-------------------------------------------------------------- */
+
+        ul#topic-post-list li div.post-content {
+                margin-right: 54px;
+                margin-left: 0;
+        }
+
+div.admin-links {
+        left: 25px;
+        right: auto
+}
+        div#topic-meta div.admin-links {
+                left: 0;
+                right: auto;
+        }
+
+
+/* &gt; WordPress Blog Styles
+-------------------------------------------------------------- */
+
+        .navigation, .paged-navigation, .comment-navigation {
+                font-family: sans-serif;
+        }
+                div.navigation .alignright {
+                        float: left;
+                }
+
+                div.navigation .alignleft {
+                        float: right;
+                }
+
+        div.post ul, div.post ol, div.post dl { margin: 0 1.5em 18px 0; }
+        div.post dl { margin-right: 0; }
+
+        div.post code { font-family: &quot;Monaco&quot;, courier, sans-serif; }
+        div.post blockquote {
+                font-family: sans-serif;
+        }
+
+                div.post table th { text-align: right; }
+
+        div.post div.author-box, div.comment-avatar-box {
+                float: right;
+                margin: 0 0 15px 15px;
+                font-family: sans-serif;
+        }
+
+        div.post div.post-content, div.comment-content {
+                margin-right: 105px;
+                margin-left: 0;
+        }
+
+        div.post p.date, div.post p.postmetadata, div.comment-meta, div.comment-options {
+                font-family: sans-serif;
+        }
+
+        div.post p.postmetadata {
+                clear: right;
+        }
+
+        div.post .tags { float: right; }
+        div.post .comments { float: left; }
+
+
+        div.post dd.wp-caption p.wp-caption-text, div.post .wp-caption p.wp-caption-text {
+                padding: 0 0 5px 4px;
+        }
+
+/* &gt; WordPress Blog Comment Styles
+-------------------------------------------------------------- */
+
+        div.comment-meta em {
+                float: left;
+        }
+
+/***
+ * The admin bar styles.
+ */
+
+#wp-admin-bar {
+        right: 0;
+        left: auto;
+}
+
+#wp-admin-bar div#admin-bar-logo {
+        right: 10px;
+        left: auto;
+}
+
+#wp-admin-bar li {
+        text-align: right;
+}
+
+        #wp-admin-bar li.no-arrow a {
+                padding-left: 15px;
+                padding-right: 0;
+        }
+
+
+#admin-bar-logo {
+        float: right;
+}
+
+/*******************/
+
+#wp-admin-bar ul li { /* all list items */
+        float: right;
+        background: url( _inc/images/admin-menu-arrow.gif ) 12% 53% no-repeat;
+        padding-left: 11px;
+        padding-right: 0;
+}
+        #wp-admin-bar ul li.no-arrow {
+                padding-left: 0;
+        }
+
+
+#wp-admin-bar ul li.align-right {
+        left: 0;
+        right: auto;
+}
+
+
+/* second-level lists */
+
+#wp-admin-bar ul li ul {
+        right: -999em;
+        left:auto;
+        margin-right: 0;
+}
+
+#wp-admin-bar ul li ul li {
+        float: right;
+}
+
+/* third-and-above-level lists */
+
+#wp-admin-bar ul li ul ul {
+        margin: -25px 184px 0 0;
+}
+
+#wp-admin-bar ul li:hover ul, #wp-admin-bar ul li li:hover ul, #wp-admin-bar ul li.sfhover ul, #wp-admin-bar ul li ul li.sfhover ul { /* lists nested under hovered list items */
+        right: auto;
+}
+
+#wp-admin-bar ul li.align-right:hover ul {
+        left: 0;
+        right:auto;
+}
+
+#wp-admin-bar ul li:hover ul ul, #wp-admin-bar li.sfhover ul li ul {
+        right: -999em;
+        left: auto;
+}
+
+/* Menu item css */
+
+#wp-admin-bar img.avatar {
+        float: right;
+        margin-left: 8px;
+        margin-right: 0;
+}
+
+#wp-admin-bar span.activity {
+        margin-right: 34px;
+        margin-left: 0;
+}
+
+#wp-admin-bar ul li#bp-adminbar-notifications-menu a span {
+        margin-right: 2px;
+        margin-left: 0;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultsidebarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/sidebar.php (2630 => 2631)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/sidebar.php        2010-02-08 14:36:39 UTC (rev 2630)
+++ trunk/bp-themes/bp-default/sidebar.php        2010-02-08 14:45:24 UTC (rev 2631)
</span><span class="lines">@@ -15,7 +15,7 @@
</span><span class="cx">                         &lt;/a&gt;
</span><span class="cx"> 
</span><span class="cx">                         &lt;h4&gt;&lt;?php bp_loggedinuser_link() ?&gt;&lt;/h4&gt;
</span><del>-                        &lt;a class=&quot;button logout&quot; href=&quot;&lt;?php echo wp_logout_url(wp_get_referer()) ?&gt;&quot;&gt;&lt;?php _e( 'Log Out', 'buddypress' ) ?&gt;&lt;/a&gt;
</del><ins>+                        &lt;a class=&quot;button logout&quot; href=&quot;&lt;?php echo wp_logout_url( bp_get_root_domain() ) ?&gt;&quot;&gt;&lt;?php _e( 'Log Out', 'buddypress' ) ?&gt;&lt;/a&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;?php do_action( 'bp_sidebar_me' ) ?&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="lines">@@ -37,19 +37,17 @@
</span><span class="cx">                         &lt;?php endif; ?&gt;
</span><span class="cx">                 &lt;/p&gt;
</span><span class="cx"> 
</span><del>-                &lt;form name=&quot;login-form&quot; id=&quot;login-form&quot; class=&quot;standard-form&quot; action=&quot;&lt;?php echo site_url( 'wp-login.php', 'login' ) ?&gt;&quot; method=&quot;post&quot;&gt;
</del><ins>+                &lt;form name=&quot;login-form&quot; id=&quot;sidebar-login-form&quot; class=&quot;standard-form&quot; action=&quot;&lt;?php echo site_url( 'wp-login.php', 'login' ) ?&gt;&quot; method=&quot;post&quot;&gt;
</ins><span class="cx">                         &lt;label&gt;&lt;?php _e( 'Username', 'buddypress' ) ?&gt;&lt;br /&gt;
</span><del>-                        &lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;userbar_user_login&quot; class=&quot;input&quot; value=&quot;&lt;?php echo attribute_escape(stripslashes($user_login)); ?&gt;&quot; /&gt;&lt;/label&gt;
</del><ins>+                        &lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;sidebar-user-login&quot; class=&quot;input&quot; value=&quot;&lt;?php echo attribute_escape(stripslashes($user_login)); ?&gt;&quot; /&gt;&lt;/label&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;label&gt;&lt;?php _e( 'Password', 'buddypress' ) ?&gt;&lt;br /&gt;
</span><del>-                        &lt;input type=&quot;password&quot; name=&quot;pwd&quot; id=&quot;userbar_user_pass&quot; class=&quot;input&quot; value=&quot;&quot; /&gt;&lt;/label&gt;
</del><ins>+                        &lt;input type=&quot;password&quot; name=&quot;pwd&quot; id=&quot;sidebar-user-pass&quot; class=&quot;input&quot; value=&quot;&quot; /&gt;&lt;/label&gt;
</ins><span class="cx"> 
</span><del>-                        &lt;p class=&quot;forgetmenot&quot;&gt;&lt;label&gt;&lt;input name=&quot;rememberme&quot; type=&quot;checkbox&quot; id=&quot;userbar_rememberme&quot; value=&quot;forever&quot; /&gt; &lt;?php _e( 'Remember Me', 'buddypress' ) ?&gt;&lt;/label&gt;&lt;/p&gt;
</del><ins>+                        &lt;p class=&quot;forgetmenot&quot;&gt;&lt;label&gt;&lt;input name=&quot;rememberme&quot; type=&quot;checkbox&quot; id=&quot;sidebar-rememberme&quot; value=&quot;forever&quot; /&gt; &lt;?php _e( 'Remember Me', 'buddypress' ) ?&gt;&lt;/label&gt;&lt;/p&gt;
</ins><span class="cx"> 
</span><span class="cx">                         &lt;?php do_action( 'bp_sidebar_login_form' ) ?&gt;
</span><del>-
-                        &lt;input type=&quot;submit&quot; name=&quot;wp-submit&quot; id=&quot;userbar_wp-submit&quot; value=&quot;&lt;?php _e('Log In'); ?&gt;&quot; tabindex=&quot;100&quot; /&gt;
-                        &lt;input type=&quot;hidden&quot; name=&quot;redirect_to&quot; value=&quot;&lt;?php bp_root_domain() ?&gt;&quot; /&gt;
</del><ins>+                        &lt;input type=&quot;submit&quot; name=&quot;wp-submit&quot; id=&quot;sidebar-wp-submit&quot; value=&quot;&lt;?php _e('Log In'); ?&gt;&quot; tabindex=&quot;100&quot; /&gt;
</ins><span class="cx">                         &lt;input type=&quot;hidden&quot; name=&quot;testcookie&quot; value=&quot;1&quot; /&gt;
</span><span class="cx">                 &lt;/form&gt;
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>