Ticket #2395: #2395.patch
| File #2395.patch, 7.9 KB (added by , 16 years ago) |
|---|
-
bp-core.php
1804 1804 add_action( $hookname, $function ); 1805 1805 1806 1806 if ( empty($icon_url) ) 1807 $icon_url = ' images/generic.png';1807 $icon_url = 'div'; 1808 1808 elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') ) 1809 1809 $icon_url = 'https://' . substr($icon_url, 7); 1810 1810 -
bp-core/admin/bp-core-admin.php
49 49 50 50 <div class="wrap"> 51 51 52 <div class="icon32" id="icon-buddypress"><br></div> 53 52 54 <h2><?php _e( 'BuddyPress Settings', 'buddypress' ) ?></h2> 53 55 54 56 <?php if ( isset( $_POST['bp-admin'] ) ) : ?> … … 173 175 174 176 <div class="wrap"> 175 177 178 <div class="icon32" id="icon-buddypress"><br></div> 179 176 180 <h2><?php _e( 'BuddyPress Component Setup', 'buddypress' ) ?></h2> 177 181 178 182 <?php if ( isset( $_POST['bp-admin-component-submit'] ) ) : ?> -
bp-core/bp-core-cssjs.php
23 23 wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/css/adminbar.css' ) ); 24 24 } 25 25 } 26 add_action( 'init','bp_core_add_admin_bar_css' );26 add_action( (is_admin()) ? 'admin_print_styles' : 'init' , 'bp_core_add_admin_bar_css' ); 27 27 28 28 /** 29 29 * bp_core_admin_menu_icon_css() … … 33 33 * @package BuddyPress Core 34 34 */ 35 35 function bp_core_admin_menu_icon_css() { 36 global $bp; 37 ?> 38 <style type="text/css"> 39 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a { background-image: url( <?php echo BP_PLUGIN_URL . '/bp-core/images/admin_menu_icon.png' ?> ) !important; background-position: -1px -32px; } 40 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image a { background-position: -1px 0; } 41 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a img { display: none; } 42 </style> 43 <?php 36 $pathcss = BP_PLUGIN_DIR . '/bp-core/css/colors_' . get_user_option('admin_color') . '.css'; 37 $css_url = BP_PLUGIN_URL . '/bp-core/css/colors_' . get_user_option('admin_color') . '.css'; 38 $css_url_default = BP_PLUGIN_URL . '/bp-core/css/colors_fresh.css'; 39 $css_url = (is_file($pathcss)) ? $css_url : $css_url_default; 40 wp_register_style ( 'BuddyPress_colors', $css_url); 41 wp_enqueue_style ( 'BuddyPress_colors' ); 44 42 } 45 add_action( 'admin_ head', 'bp_core_admin_menu_icon_css' );43 add_action( 'admin_print_styles', 'bp_core_admin_menu_icon_css' ); 46 44 47 45 function bp_core_confirmation_js() { 48 46 global $current_blog; -
bp-core/css/colors_classic.css
1 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a { 2 background-image: url(../images/bp_admin_menu_icon-vs.png); 3 background-position: -1px -32px; 4 } 5 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image a { 6 background-position: -1px 0; 7 } 8 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a img { 9 display: none; 10 } 11 12 #icon-buddypress { 13 background:transparent url(../images/icon32-vs.png) no-repeat; 14 } 15 No newline at end of file -
bp-core/css/colors_fresh.css
1 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a { 2 background-image: url(../images/bp_admin_menu_icon.png); 3 background-position: -1px -32px; 4 } 5 ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image a { 6 background-position: -1px 0; 7 } 8 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a img { 9 display: none; 10 } 11 12 #icon-buddypress { 13 background:transparent url(../images/icon32.png); 14 } 15 No newline at end of file -
bp-forums/bp-forums-admin.php
Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: bp-core\images\bp_admin_menu_icon-vs.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: bp-core\images\bp_admin_menu_icon.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: bp-core\images\icon32-vs.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: bp-core\images\icon32.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream
5 5 ?> 6 6 <div class="wrap"> 7 7 8 <div class="icon32" id="icon-buddypress"><br></div> 9 8 10 <h2><?php _e( 'Forums Setup', 'buddypress' ) ?></h2> 9 11 10 12 <?php if ( isset( $_POST['submit'] ) ) : ?> -
bp-themes/bp-default/_inc/options.php
24 24 } ?> 25 25 26 26 <div class="wrap"> 27 28 <div class="icon32" id="icon-buddypress"><br></div> 29 27 30 <?php echo "<h2>" . __( 'Theme Options', 'buddypress' ) . "</h2>"; ?> 28 31 29 32 <form name="options" method="post" action=""> -
bp-xprofile/bp-xprofile-admin.php
41 41 ?> 42 42 43 43 <div class="wrap"> 44 <div class="icon32" id="icon- tools"><br></div>44 <div class="icon32" id="icon-buddypress"><br></div> 45 45 <h2> 46 46 <?php _e( 'Profile Field Setup', 'buddypress'); ?> 47 47 <a id="add_group" class="button add-new-h2" href="admin.php?page=bp-profile-setup&mode=add_group"><?php _e( 'Add New Group', 'buddypress' ); ?></a> -
bp-xprofile/bp-xprofile-classes.php
190 190 } 191 191 ?> 192 192 <div class="wrap"> 193 <div class="icon32" id="icon-tools"><br></div> 193 194 <div class="icon32" id="icon-buddypress"><br></div> 195 194 196 <h2><?php echo $title; ?></h2> 195 197 <p><?php _e( 'Fields marked * are required', 'buddypress' ) ?></p> 196 198 … … 592 594 } 593 595 ?> 594 596 <div class="wrap"> 595 <div id="icon-users" class="icon32"><br /></div> 597 598 <div class="icon32" id="icon-buddypress"><br></div> 599 596 600 <h2><?php echo $title; ?></h2> 597 601 <p><?php _e( 'Fields marked * are required', 'buddypress' ) ?></p> 598 602
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)