Ticket #4869: 4869.diff
File 4869.diff, 4.3 KB (added by , 12 years ago) |
---|
-
bp-core/bp-core-widgets.php
15 15 class BP_Core_Members_Widget extends WP_Widget { 16 16 17 17 function __construct() { 18 $widget_ops = array( ' description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ) );18 $widget_ops = array( 'classname' => 'buddypress', 'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ) ); 19 19 parent::__construct( false, $name = _x( '(BuddyPress) Members', 'widget name', 'buddypress' ), $widget_ops ); 20 20 21 21 if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) { … … 143 143 class BP_Core_Whos_Online_Widget extends WP_Widget { 144 144 145 145 function __construct() { 146 $widget_ops = array( 'description' => __( 'Avatars of users who are currently online', 'buddypress' ) ); 146 147 $widget_ops = array( 'classname' => 'buddypress', 'description' => __( 'Avatars of users who are currently online', 'buddypress' ) ); 147 148 parent::__construct( false, $name = _x( "(BuddyPress) Who's Online", 'widget name', 'buddypress' ), $widget_ops ); 148 149 } 149 150 … … 207 208 class BP_Core_Recently_Active_Widget extends WP_Widget { 208 209 209 210 function __construct() { 210 $widget_ops = array( ' description' => __( 'Avatars of recently active members', 'buddypress' ) );211 $widget_ops = array( 'classname' => 'buddypress', 'description' => __( 'Avatars of recently active members', 'buddypress' ) ); 211 212 parent::__construct( false, $name = _x( '(BuddyPress) Recently Active Members', 'widget name', 'buddypress' ), $widget_ops ); 212 213 } 213 214 -
bp-templates/bp-legacy/css/buddypress.css
25 25 6.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums 26 26 6.9 - Private Messaging Threads 27 27 6.10 - Extended Profiles 28 6.11 - Widgets 28 29 7.0 - Media Queries 29 30 7.1 - Smartphones Landscape 30 31 7.2 - Smartphones Portrait … … 1343 1344 } 1344 1345 1345 1346 /*-------------------------------------------------------------- 1346 6. 9- Extended Profiles1347 6.10 - Extended Profiles 1347 1348 --------------------------------------------------------------*/ 1348 1349 1349 1350 #buddypress div.profile h4 { … … 1390 1391 } 1391 1392 1392 1393 /*-------------------------------------------------------------- 1394 6.11 - Widgets 1395 --------------------------------------------------------------*/ 1396 .widget.buddypress div.item-avatar img.avatar { 1397 float: left; 1398 margin: 0 10px 15px 0; 1399 } 1400 1401 .widget.buddypress span.activity { 1402 display: inline-block; 1403 font-size: 80%; 1404 opacity: 0.8; 1405 padding: 0; 1406 } 1407 1408 .widget.buddypress div.item-options { 1409 font-size: 90%; 1410 margin: 0 0 1em 0; 1411 padding: 1em 0; 1412 } 1413 1414 .widget.buddypress div.item{ 1415 margin:0 0 1em 0; 1416 } 1417 1418 .widget.buddypress div.item-meta, 1419 .widget.buddypress div.item-content { 1420 font-size: 11px; 1421 margin-left: 38px; 1422 } 1423 1424 .widget.buddypress ul.item-list img.avatar { 1425 height: 20px; 1426 margin-right: 10px; 1427 width: 20px; 1428 } 1429 .widget.buddypress div.item-avatar img { 1430 height: 40px; 1431 margin: 1px; 1432 width: 40px; 1433 } 1434 1435 .widget.buddypress div.avatar-block{ 1436 overflow: hidden; 1437 } 1438 1439 /*-------------------------------------------------------------- 1393 1440 7.0 - Media Queries 1394 1441 --------------------------------------------------------------*/ 1395 1442 /*-------------------------------------------------------------- -
bp-groups/bp-groups-widgets.php
24 24 } 25 25 26 26 function __construct() { 27 $widget_ops = array( ' description' => __( 'A dynamic list of recently active, popular, and newest groups', 'buddypress' ) );27 $widget_ops = array( 'classname' => 'buddypress', 'description' => __( 'A dynamic list of recently active, popular, and newest groups', 'buddypress' ) ); 28 28 parent::__construct( false, _x( '(BuddyPress) Groups', 'widget name', 'buddypress' ), $widget_ops ); 29 29 30 30 if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {