Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/09/2008 04:38:26 AM (18 years ago)
Author:
apeatling
Message:

Committing updates to home theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/home/home.php

    r294 r377  
    33<div id="content" class="widecolumn">
    44
    5 <p>This is a <a href="http://mu.wordpress.org/">WordPress Mu</a> + <a href="http://buddypress.org">BuddyPress</a> powered site.</p>
    6 <p>You can:
    7         <ul>
    8                 <li> <h4><a href="wp-login.php">Login</a></h4> </li>
    9                 <li> <h4><a href="wp-signup.php">Register</a></h4></li>
    10         </ul>
    11 </p>
    12 <hr />
    13 <h4>Site News:</h4>
    14 <ul>
    15 <?php
    16 query_posts('showposts=7');
    17 if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>
    18 <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title();?> </a></li>
    19 <?php endwhile; ?><?php endif; ?>
    20 </ul>
     5        <div id="right-column">
     6                <?php if ( !function_exists('dynamic_sidebar')
     7                        || !dynamic_sidebar('right-column') ) : ?>
     8               
     9                <div class="widget-error">
     10                        Please log in and <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=sidebar-1">add widgets to this column</a>.
     11                </div>
     12               
     13                <?php endif; ?>
     14        </div>
     15
     16        <div id="center-column">
     17                <?php if ( !function_exists('dynamic_sidebar')
     18                        || !dynamic_sidebar('center-column') ) : ?>
     19               
     20                <div class="widget-error">
     21                        Please log in and <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=sidebar-2">add widgets to this column</a>.
     22                </div>
     23               
     24                <?php endif; ?>
     25        </div>
     26
     27        <div id="left-column">
     28                <?php if ( !function_exists('dynamic_sidebar')
     29                        || !dynamic_sidebar('left-column') ) : ?>
     30
     31                <div class="widget-error">
     32                        Please log in and <a href="<?php echo get_option('siteurl') ?>/wp-admin/widgets.php?s=&amp;show=&amp;sidebar=sidebar-3">add widgets to this column</a>.
     33                </div>         
     34               
     35                <?php endif; ?>
     36        </div>
    2137
    2238</div>
Note: See TracChangeset for help on using the changeset viewer.