Doug Stewart avatar Doug Stewart committed d49e032

Clearing weird BuddyPress extraneous </div> nonsense. This took WAY too long to figure out.

Comments (0)

Files changed (16)

activity/index.php

 
 			<?php do_action( 'bp_after_directory_activity_content' ) ?>
 
-		</div><!-- #content -->
+		</div><!-- #lb-content -->
 	</div><!-- #wrapper -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 		<?php do_action( 'bp_after_create_blog_content' ) ?>
 
-		</div><!-- #content -->
+		</div><!-- #lb-content -->
 	</div><!-- #container -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 		</form><!-- #blogs-directory-form -->
 
-		</div><!-- #content -->
-	</div>
-	</div>
+		</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 
 		</form>
 
-	</div><!-- #content -->
-</div>
-</div>
+	</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 function lblg_bpmenu_widget( $args ){
 	extract( $args );
 	
-	if( $title ){
+	if( $name ){
 		echo $before_widget;
-		echo $before_title . $title . $after_title;
+		echo $before_title . $name . $after_title;
 	}?>
 	<ul>
 	<?php

groups/create.php

 
 		</form>
 
-	</div><!-- #content -->
-</div>
-</div>
+	</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 
 		<?php do_action( 'bp_after_directory_groups_content' ) ?>
 
-	</div><!-- #content -->
-</div>
-</div>
+	</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 

groups/single/home.php

 
 			<?php endwhile; endif; ?>
 
-	</div><!-- #content -->
-</div>
-</div>
+	</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 

groups/single/plugins.php

 
 			<?php do_action( 'bp_after_group_plugin_template' ) ?>
 
-		</div><!-- #content -->
-	</div>
-	</div>
-
+		</div><!-- #lb-content -->
+		
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 <?php get_footer() ?>
 		<?php lblg_above_content(); ?>
 		<div id="lb-content">
 			<?php get_template_part( 'theloop' ); ?>
-		</div>
-	</div>
+		</div> <!-- #lb-content -->
+	</div> <!-- #wrapper -->
 
 <?php get_sidebar(); ?>
 
-</div>
+</div> <!-- #allwrapper -->
 
 <?php get_footer(); ?>

members/index.php

 
 		</form><!-- #members-directory-form -->
 
-	</div><!-- #content -->
-</div>
-</div>
+	</div><!-- #lb-content -->
 
 <?php locate_template( array( 'sidebar.php' ), true ) ?>
 

members/single/home.php

 
 		<?php do_action( 'bp_after_member_home_content' ) ?>
 
-	</div><!-- #content -->
-</div>
-</div>
+	</div><!-- #lb-content -->
 
 <?php locate_template( array( 'sidebar.php' ), true ) ?>
 

members/single/plugins.php

 
 			<?php do_action( 'bp_after_member_plugin_template' ) ?>
 
-		</div><!-- #content -->
-	</div>
-</div>
+		</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 

registration/activate.php

 
 		<?php do_action( 'bp_after_activation_page' ) ?>
 
-		</div><!-- #content -->
+		</div><!-- #lb-content -->
 	</div><!-- #container -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>

registration/register.php

 
 		<?php do_action( 'bp_after_register_page' ) ?>
 
-		</div><!-- #content -->
-	</div>
-	</div>
+		</div><!-- #lb-content -->
 
 	<?php locate_template( array( 'sidebar.php' ), true ) ?>
 
 lblg_sidebar_header(); 
 ?>
 <div id="primarysb">
-<ul>
-	<?php if ( !dynamic_sidebar('Primary') ) : ?>
+	<ul>
+		<?php if ( !dynamic_sidebar('Primary') ) : ?>
 	
-	<li><h4>Primary Sidebar</h4>
-		This is the primary sidebar. You may add widgets to it via the Appearance -&gt; Widgets administration screen.
-	</li>
-	<li><h4>Search</h4>
-		<?php get_search_form(); ?>
-	</li>
+		<li><h4>Primary Sidebar</h4>
+			This is the primary sidebar. You may add widgets to it via the Appearance -&gt; Widgets administration screen.
+		</li>
+		<li><h4>Search</h4>
+			<?php get_search_form(); ?>
+		</li>
 
-	<?php endif; ?>
-</ul>
+		<?php endif; ?>
+	</ul>
+</div> <!-- #primarysb -->
 
-</div>
 <div id="secondarysb">
-<ul>
-	<?php if ( !dynamic_sidebar('Secondary') ) : ?>
-	<li><h4>Secondary Sidebar</h4>
-		This is the secondary sidebar. You may add widgets to it via the Appearance -&gt; Widgets administration screen.
-	</li>
-	<li><h4>Meta</h4>
-		<ul>
-			<li><img src="<?php get_template_directory_uri(); ?>/images/feed.png" /><a href="<?php bloginfo('rss2_url'); ?>">RSS Entries</a></li>
-		 	<li><img src="<?php get_template_directory_uri(); ?>/images/feed.png" /><a href="<?php bloginfo('comments_rss2_url'); ?>">RSS Comments</a></li>
-			<?php wp_register(); ?>
-	        <li><?php wp_loginout(); ?></li>
-		</ul>
-	</li>
-	<?php endif; ?>
-</ul>
-</div>
+	<ul>
+		<?php if ( !dynamic_sidebar('Secondary') ) : ?>
+		<li><h4>Secondary Sidebar</h4>
+			This is the secondary sidebar. You may add widgets to it via the Appearance -&gt; Widgets administration screen.
+		</li>
+		<li><h4>Meta</h4>
+			<ul>
+				<li><img src="<?php get_template_directory_uri(); ?>/images/feed.png" /><a href="<?php bloginfo('rss2_url'); ?>">RSS Entries</a></li>
+			 	<li><img src="<?php get_template_directory_uri(); ?>/images/feed.png" /><a href="<?php bloginfo('comments_rss2_url'); ?>">RSS Comments</a></li>
+				<?php wp_register(); ?>
+		        <li><?php wp_loginout(); ?></li>
+			</ul>
+		</li>
+		<?php endif; ?>
+	</ul>
+</div> <!-- #secondarysb -->
 <?php
 lblg_sidebar_footer();
 ?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.