Skip to:
Content

BuddyPress.org

Changeset 2277


Ignore:
Timestamp:
01/09/2010 09:58:51 AM (16 years ago)
Author:
apeatling
Message:

Fixing use of » and «

Location:
trunk
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-notifications.php

    r2261 r2277  
    1919        $ud = get_userdata( $original_activity->user_id );
    2020        $to = $ud->user_email;
    21         $subject = '[' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '] ' . sprintf( __( '%s replied to one of your updates', 'buddypress' ), stripslashes($poster_name) );
     21        $subject = '[' . get_blog_option( BP_ROOT_BLOG, 'blogname' ) . '] ' . sprintf( __( '%s replied to one of your updates', 'buddypress' ), stripslashes_deep( $poster_name ) );
    2222
    2323$message = sprintf( __(
     
    2929
    3030---------------------
    31 ', 'buddypress' ), $poster_name, wp_filter_kses( stripslashes($content) ), $thread_link );
     31', 'buddypress' ), $poster_name, wp_filter_kses( stripslashes_deep( $content ) ), $thread_link );
    3232
    3333        $message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'buddypress' ), $settings_link );
  • trunk/bp-activity/bp-activity-templatetags.php

    r2276 r2277  
    5353                'total' => ceil( (int)$this->total_activity_count / (int)$this->pag_num ),
    5454                'current' => (int)$this->pag_page,
    55                 'prev_text' => '«',
    56                 'next_text' => '»',
     55                'prev_text' => '←',
     56                'next_text' => '→',
    5757                'mid_size' => 1
    5858            ));
     
    447447                $content .= '<li id="acomment-' . $comment->id . '">';
    448448                $content .= '<div class="acomment-avatar">' . bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => 25, 'height' => 25, 'email' => $comment->user_email ) ) . '</div>';
    449                 $content .= '<div class="acomment-meta"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . esc_attr( $comment->user_fullname ) . '</a> &middot; ' . sprintf( __( '%s ago', 'buddypress' ), bp_core_time_since( strtotime( $comment->date_recorded ) ) );
     449                $content .= '<div class="acomment-meta"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . apply_filters( 'bp_get_member_name', $comment->user_fullname ) . '</a> &middot; ' . sprintf( __( '%s ago', 'buddypress' ), bp_core_time_since( strtotime( $comment->date_recorded ) ) );
    450450
    451451                /* Reply link */
  • trunk/bp-blogs/bp-blogs-templatetags.php

    r2255 r2277  
    353353            'total' => ceil($this->total_post_count / $this->pag_num),
    354354            'current' => $this->pag_page,
    355             'prev_text' => '&laquo;',
    356             'next_text' => '&raquo;',
     355            'prev_text' => '&larr;',
     356            'next_text' => '&rarr;',
    357357            'mid_size' => 1
    358358        ));
     
    10341034            <?php bp_blogs_signup_blog($blogname, $blog_title, $errors); ?>
    10351035            <p>
    1036                 <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog &raquo;', 'buddypress') ?>" />
     1036                <input id="submit" type="submit" name="submit" class="submit" value="<?php _e('Create Blog &rarr;', 'buddypress') ?>" />
    10371037            </p>
    10381038
  • trunk/bp-core/bp-core-settings.php

    r2168 r2277  
    190190
    191191        <div class="submit">
    192             <input type="submit" disabled="disabled" value="<?php _e( 'Delete My Account', 'buddypress' ) ?> &raquo;" id="delete-account-button" name="delete-account-button" /></p>
     192            <input type="submit" disabled="disabled" value="<?php _e( 'Delete My Account', 'buddypress' ) ?> &rarr;" id="delete-account-button" name="delete-account-button" /></p>
    193193        </div>
    194194
  • trunk/bp-core/bp-core-templatetags.php

    r2274 r2277  
    242242    add_filter( 'bp_get_member_name', 'wp_filter_kses' );
    243243    add_filter( 'bp_get_member_name', 'stripslashes' );
     244    add_filter( 'bp_get_member_name', 'strip_tags' );
    244245
    245246function bp_member_last_active() {
  • trunk/bp-forums/bp-forums-templatetags.php

    r2209 r2277  
    720720            'total' => ceil($this->total_post_count / $this->pag_num),
    721721            'current' => $this->pag_page,
    722             'prev_text' => '&laquo;',
    723             'next_text' => '&raquo;',
     722            'prev_text' => '&larr;',
     723            'next_text' => '&rarr;',
    724724            'mid_size' => 1
    725725        ));
  • trunk/bp-friends/bp-friends-templatetags.php

    r2276 r2277  
    3838?>
    3939    <div class="info-group">
    40         <h4><?php bp_word_or_name( __( "My Friends", 'buddypress' ), __( "%s's Friends", 'buddypress' ) ) ?>  (<?php echo BP_Friends_Friendship::total_friend_count( $bp->displayed_user->id ) ?>) <span><a href="<?php echo $bp->displayed_user->domain . $bp->friends->slug ?>"><?php _e('See All', 'buddypress') ?> &raquo;</a></span></h4>
     40        <h4><?php bp_word_or_name( __( "My Friends", 'buddypress' ), __( "%s's Friends", 'buddypress' ) ) ?>  (<?php echo BP_Friends_Friendship::total_friend_count( $bp->displayed_user->id ) ?>) <span><a href="<?php echo $bp->displayed_user->domain . $bp->friends->slug ?>"><?php _e('See All', 'buddypress') ?> &rarr;</a></span></h4>
    4141
    4242        <?php if ( $friend_ids ) { ?>
  • trunk/bp-themes/bp-default/archive.php

    r2205 r2277  
    1414                <div class="navigation">
    1515
    16                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
    17                     <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
     16                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
     17                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'buddypress' ) ) ?></div>
    1818
    1919                </div>
     
    3636
    3737                            <div class="entry">
    38                                 <?php the_content( __( 'Read the rest of this entry &raquo;', 'buddypress' ) ); ?>
     38                                <?php the_content( __( 'Read the rest of this entry &rarr;', 'buddypress' ) ); ?>
    3939                            </div>
    4040
     
    5050                <div class="navigation">
    5151
    52                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
    53                     <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
     52                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
     53                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'buddypress' ) ) ?></div>
    5454
    5555                </div>
  • trunk/bp-themes/bp-default/attachment.php

    r2170 r2277  
    1818                    <div class="post" id="post-<?php the_ID(); ?>">
    1919
    20                         <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     20                        <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &rarr; <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    2121
    2222                        <div class="entry">
    2323                            <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p>
    2424
    25                             <?php the_content( __('<p class="serif">Read the rest of this entry &raquo;</p>', 'buddypress' ) ); ?>
     25                            <?php the_content( __('<p class="serif">Read the rest of this entry &rarr;</p>', 'buddypress' ) ); ?>
    2626
    2727                            <?php wp_link_pages( array( 'before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
  • trunk/bp-themes/bp-default/comments.php

    r2224 r2277  
    101101
    102102                            <p class="log-in-out">
    103                                 <?php printf( __('Logged in as <a href="%1$s" title="%2$s">%2$s</a>.', 'buddypress'), bp_loggedin_user_domain(), $user_identity ); ?> <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="<?php _e('Log out of this account', 'buddypress'); ?>"><?php _e('Log out &raquo;', 'buddypress'); ?></a>
     103                                <?php printf( __('Logged in as <a href="%1$s" title="%2$s">%2$s</a>.', 'buddypress'), bp_loggedin_user_domain(), $user_identity ); ?> <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="<?php _e('Log out of this account', 'buddypress'); ?>"><?php _e('Log out &rarr;', 'buddypress'); ?></a>
    104104                            </p>
    105105
  • trunk/bp-themes/bp-default/index.php

    r2204 r2277  
    2727
    2828                            <div class="entry">
    29                                 <?php the_content( __( 'Read the rest of this entry &raquo;', 'buddypress' ) ); ?>
     29                                <?php the_content( __( 'Read the rest of this entry &rarr;', 'buddypress' ) ); ?>
    3030                            </div>
    3131
     
    4141                <div class="navigation">
    4242
    43                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
    44                     <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
     43                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
     44                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'buddypress' ) ) ?></div>
    4545
    4646                </div>
  • trunk/bp-themes/bp-default/page.php

    r2170 r2277  
    1616                    <div class="entry">
    1717
    18                         <?php the_content( __( '<p class="serif">Read the rest of this page &raquo;</p>', 'buddypress' ) ); ?>
     18                        <?php the_content( __( '<p class="serif">Read the rest of this page &rarr;</p>', 'buddypress' ) ); ?>
    1919
    2020                        <?php wp_link_pages( array( 'before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
  • trunk/bp-themes/bp-default/search.php

    r2205 r2277  
    1515
    1616                <div class="navigation">
    17                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
    18                     <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
     17                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
     18                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'buddypress' ) ) ?></div>
    1919                </div>
    2020
     
    3636
    3737                            <div class="entry">
    38                                 <?php the_content( __( 'Read the rest of this entry &raquo;', 'buddypress' ) ); ?>
     38                                <?php the_content( __( 'Read the rest of this entry &rarr;', 'buddypress' ) ); ?>
    3939                            </div>
    4040
     
    4949
    5050                <div class="navigation">
    51                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
    52                     <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
     51                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
     52                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'buddypress' ) ) ?></div>
    5353                </div>
    5454
  • trunk/bp-themes/bp-default/single.php

    r2204 r2277  
    1212                <div class="item-options">
    1313
    14                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
    15                     <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
     14                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
     15                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &rarr;', 'buddypress' ) ) ?></div>
    1616
    1717                </div>
     
    3030
    3131                        <div class="entry">
    32                             <?php the_content( __( 'Read the rest of this entry &raquo;', 'buddypress' ) ); ?>
     32                            <?php the_content( __( 'Read the rest of this entry &rarr;', 'buddypress' ) ); ?>
    3333
    3434                            <?php wp_link_pages(array('before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?>
  • trunk/bp-themes/bp-sn-parent/archive.php

    r2077 r2277  
    1515                <div class="navigation">
    1616
    17                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     17                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
    1818                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    1919
     
    4343                <div class="navigation">
    4444
    45                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     45                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
    4646                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    4747
  • trunk/bp-themes/bp-sn-parent/index.php

    r2077 r2277  
    3535                <div class="navigation">
    3636
    37                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     37                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
    3838                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    3939
  • trunk/bp-themes/bp-sn-parent/search.php

    r2077 r2277  
    1414
    1515                <div class="navigation">
    16                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     16                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
    1717                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    1818                </div>
     
    3838
    3939                <div class="navigation">
    40                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     40                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
    4141                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    4242                </div>
  • trunk/bp-themes/bp-sn-parent/single.php

    r2077 r2277  
    1313                <div class="item-options">
    1414
    15                     <div class="alignleft"><?php next_posts_link( __( '&laquo; Previous Entries', 'buddypress' ) ) ?></div>
     15                    <div class="alignleft"><?php next_posts_link( __( '&larr; Previous Entries', 'buddypress' ) ) ?></div>
    1616                    <div class="alignright"><?php previous_posts_link( __( 'Next Entries &raquo;', 'buddypress' ) ) ?></div>
    1717
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r2088 r2277  
    165165
    166166                <p class="submit" style="text-align: left">
    167                     <input type="submit" name="saveGroup" value="<?php echo attribute_escape( $title ); ?> &raquo;" />
     167                    <input type="submit" name="saveGroup" value="<?php echo attribute_escape( $title ); ?> &rarr;" />
    168168                </p>
    169169
     
    583583
    584584                <p class="submit">
    585                         &nbsp;<input type="submit" value="<?php _e("Save", 'buddypress') ?> &raquo;" name="saveField" id="saveField" style="font-weight: bold" />
     585                        &nbsp;<input type="submit" value="<?php _e("Save", 'buddypress') ?> &rarr;" name="saveField" id="saveField" style="font-weight: bold" />
    586586                         <?php _e('or', 'buddypress') ?> <a href="admin.php?page=bp-profile-setup" style="color: red"><?php _e( 'Cancel', 'buddypress' ) ?></a>
    587587                </p>
Note: See TracChangeset for help on using the changeset viewer.