buddypress/1.0b2/buddypress-home/home.php
2009-01-29 22:12:56 +00:00

39 lines
1.3 KiB
PHP

<?php get_header(); ?>
<div id="content" class="widecolumn">
<div id="right-column">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('right-column') ) : ?>
<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=sidebar-3"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
</div>
<div id="center-column">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('center-column') ) : ?>
<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=sidebar-2"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
</div>
<div id="left-column">
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('left-column') ) : ?>
<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=sidebar-1"><?php _e( 'Add Widgets', 'buddypress' ) ?></a>
</div>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>