Ticket #174: bp-admin-bar-login-signup.patch
File bp-admin-bar-login-signup.patch, 1.4 KB (added by , 17 years ago) |
---|
-
bp-core/css/admin-bar.css
53 53 background: url( ../images/admin-menu-arrow.gif ) 88% 53% no-repeat; 54 54 } 55 55 56 #wp-admin-bar ul .bp-login { /* all list items */ 57 background: url( ../images/blogadmin_icon.gif ) 88% 53% no-repeat; 58 } 59 60 #wp-admin-bar .bp-signup { 61 background: url( ../images/invite_bullet.gif ) 88% 53% no-repeat; 62 } 63 56 64 #wp-admin-bar ul li ul a { 57 65 color: #666 !important; 58 66 } -
bp-core/bp-core-adminbar.php
117 117 echo '</ul>'; 118 118 echo '</li>'; 119 119 } 120 // **** "Log In" and "Sign Up" links (Visible when not logged in) ******** 121 122 if ( !is_user_logged_in() ) { 123 echo '<li class="bp-login"><a href="/wp-login.php?redirect_to=' . urlencode(get_bloginfo('siteurl') . $_SERVER['REQUEST_URI']) . '">' . __('Log In', 'buddypress') . '</a></li>'; 124 // Show "Sign Up" link if registrations are allowed 125 if (get_site_option('registration') != 'none') { 126 echo '<li class="bp-signup"><a href="/wp-signup.php">' . __('Sign Up', 'buddypress') . '</a></li>'; 127 } 128 } 120 129 121 130 // **** "Blog Authors" Menu (visible when not logged in) ******** 122 131