Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/09/2011 10:58:18 PM (13 years ago)
Author:
boonebgorges
Message:

Cleans up use of BP_x_SLUG, replacing with wrapper functions where possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/blogs/index.php

    r4466 r4638  
    1919        <form action="" method="post" id="blogs-directory-form" class="dir-form">
    2020
    21             <h3><?php _e( 'Site Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . BP_BLOGS_SLUG . '/create/' ?>"><?php _e( 'Create a Site', 'buddypress' ); ?></a><?php endif; ?></h3>
     21            <h3><?php _e( 'Site Directory', 'buddypress' ); ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> &nbsp;<a class="button" href="<?php echo bp_get_root_domain() . '/' . bp_get_blogs_slug() . '/create/' ?>"><?php _e( 'Create a Site', 'buddypress' ); ?></a><?php endif; ?></h3>
    2222
    2323            <div id="blog-dir-search" class="dir-search" role="search">
     
    3333                    <?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?>
    3434
    35                         <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . BP_BLOGS_SLUG . '/my-blogs/' ?>"><?php printf( __( 'My Sites (%s)', 'buddypress' ), bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
     35                        <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug() . '/my-blogs/' ?>"><?php printf( __( 'My Sites (%s)', 'buddypress' ), bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    3636
    3737                    <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.