buddypress/bp-themes/bp-sn-parent/sidebar.php
Andy Peatling 5b41731b79 Merging 1.1 branch changes and syncing.
git-svn-id: https://buddypress.svn.wordpress.org/trunk@2077 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2009-11-02 19:54:21 +00:00

18 lines
624 B
PHP

<?php do_action( 'bp_before_blog_sidebar' ) ?>
<div id="sidebar">
<?php do_action( 'bp_inside_before_blog_sidebar' ) ?>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('blog-sidebar') ) : ?>
<div class="widget-error">
<?php _e( 'Please log in and add widgets to this column.', 'buddypress' ) ?> <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=blog-sidebar"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
<?php do_action( 'bp_inside_after_blog_sidebar' ) ?>
</div>
<?php do_action( 'bp_after_blog_sidebar' ) ?>