Changeset 1841
- Timestamp:
- 09/10/2009 01:37:00 AM (15 years ago)
- Location:
- trunk/bp-themes/bp-sn-framework
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-framework/_inc/js/ajax.js
r1791 r1841 1015 1015 jQuery("ul#letter-list li a").livequery('click', 1016 1016 function() { 1017 jQuery(' #ajax-loader-blogs').toggle();1017 jQuery('.ajax-loader').toggle(); 1018 1018 1019 1019 jQuery("div#blogs-list-options a").removeClass("selected"); … … 1036 1036 jQuery("#blog-dir-list").fadeOut(200, 1037 1037 function() { 1038 jQuery(' #ajax-loader-blogs').toggle();1038 jQuery('.ajax-loader').toggle(); 1039 1039 jQuery("#blog-dir-list").html(response); 1040 1040 jQuery("#blog-dir-list").fadeIn(200); … … 1048 1048 1049 1049 jQuery("form#search-blogs-form").submit( function() { 1050 jQuery(' #ajax-loader-blogs').toggle();1050 jQuery('.ajax-loader').toggle(); 1051 1051 1052 1052 jQuery.post( ajaxurl, { … … 1062 1062 jQuery("#blog-dir-list").fadeOut(200, 1063 1063 function() { 1064 jQuery(' #ajax-loader-blogs').toggle();1064 jQuery('.ajax-loader').toggle(); 1065 1065 jQuery("#blog-dir-list").html(response); 1066 1066 jQuery("#blog-dir-list").fadeIn(200); … … 1075 1075 jQuery("div#blog-dir-pag a").livequery('click', 1076 1076 function() { 1077 jQuery(' #ajax-loader-blogs').toggle();1077 jQuery('.ajax-loader').toggle(); 1078 1078 1079 1079 var page = jQuery(this).attr('href'); … … 1105 1105 jQuery("#blog-dir-list").fadeOut(200, 1106 1106 function() { 1107 jQuery(' #ajax-loader-blogs').toggle();1107 jQuery('.ajax-loader').toggle(); 1108 1108 jQuery("#blog-dir-list").html(response); 1109 1109 jQuery("#blog-dir-list").fadeIn(200); -
trunk/bp-themes/bp-sn-framework/groups/single/home.php
r1820 r1841 60 60 61 61 <?php do_action( 'bp_after_group_news' ) ?> 62 63 <?php endif; ?> 64 65 <?php if ( bp_group_is_visible() ) : ?> 66 67 <?php if ( bp_has_activities( 'object=groups&primary_id=' . bp_get_group_id() . '&max=150&per_page=5' ) ) : ?> 68 69 <?php do_action( 'bp_before_group_activity' ) ?> 70 71 <div class="bp-widget"> 72 <h4><?php _e( 'Group Activity', 'buddypress' ); ?></h4> 73 74 <div class="pagination"> 75 <div class="pag-count" id="activity-count"> 76 <?php bp_activity_pagination_count() ?> 77 </div> 78 79 <div class="pagination-links" id="activity-pag"> 80 <?php bp_activity_pagination_links() ?> 81 </div> 82 </div> 83 84 <ul id="activity-list" class="activity-list item-list"> 85 <?php while ( bp_activities() ) : bp_the_activity(); ?> 86 <li class="<?php bp_activity_css_class() ?>"> 87 <div class="activity-avatar"> 88 <?php bp_activity_avatar() ?> 89 </div> 90 91 <?php bp_activity_content() ?> 92 </li> 93 <?php endwhile; ?> 94 </ul> 95 96 </div> 97 98 <?php do_action( 'bp_after_group_activity' ) ?> 99 100 <?php endif; ?> 62 101 63 102 <?php endif; ?> -
trunk/bp-themes/bp-sn-framework/home.php
r1661 r1841 7 7 <div id="first-section" class="widget-section"> 8 8 <?php if ( !function_exists('dynamic_sidebar') 9 || !dynamic_sidebar(' first-section') ) : ?>9 || !dynamic_sidebar('third-section') ) : ?> 10 10 11 11 <div class="widget-error"> 12 <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar= first-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>12 <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=third-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a> 13 13 </div> 14 14 … … 29 29 <div id="third-section" class="widget-section"> 30 30 <?php if ( !function_exists('dynamic_sidebar') 31 || !dynamic_sidebar(' third-section') ) : ?>31 || !dynamic_sidebar('first-section') ) : ?> 32 32 33 33 <div class="widget-error"> 34 <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar= third-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>34 <?php _e( 'Please log in and add widgets to this section.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&show=&sidebar=first-section"><?php _e( 'Add Widgets', 'buddypress' ) ?></a> 35 35 </div> 36 36 -
trunk/bp-themes/bp-sn-framework/wire/post-form.php
r1684 r1841 38 38 39 39 <input type="submit" name="wire-post-submit" id="wire-post-submit" value="<?php _e( 'Post »', 'buddypress' ) ?>" /> 40 <input type="hidden" name="bp_wire_item_id" id="bp_wire_item_id" value="<?php bp_wire_item_id() ?>" />40 <input type="hidden" name="bp_wire_item_id" id="bp_wire_item_id" value="<?php echo bp_get_wire_item_id() ?>" /> 41 41 42 42 <?php wp_nonce_field( 'bp_wire_post' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.