Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/28/2010 02:42:32 PM (15 years ago)
Author:
djpaul
Message:

Revert changes made in r3595

File:
1 edited

Legend:

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

    r3595 r3598  
    22
    33<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
     4
    45    <head profile="http://gmpg.org/xfn/11">
    5         <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ) ?>" />
     6
     7        <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     8
    69        <title><?php bp_page_title() ?></title>
    7         <link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ) ?>" type="text/css" media="screen" />
    8         <link rel="pingback" href="<?php bloginfo( 'pingback_url' ) ?>" />
     10
     11        <?php do_action( 'bp_head' ) ?>
     12
     13        <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
     14
     15        <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
     16
     17        <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?>
     18            <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" />
     19        <?php endif; ?>
     20
     21        <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?>
     22            <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" />
     23        <?php endif; ?>
     24
     25        <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?>
     26            <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
     27        <?php endif; ?>
     28
     29        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    930
    1031        <?php wp_head(); ?>
     32
    1133    </head>
    1234
     
    1638
    1739        <div id="header">
     40
    1841            <h1 id="logo" role="banner"><a href="<?php echo home_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>
    1942
     
    2649
    2750                <?php if ( bp_search_form_enabled() ) : ?>
     51
    2852                    <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
    2953                        <input type="text" id="search-terms" name="search-terms" value="" />
     
    3357                        <?php wp_nonce_field( 'bp_search_form' ) ?>
    3458                    </form><!-- #search-form -->
     59
    3560                <?php endif; ?>
    3661
Note: See TracChangeset for help on using the changeset viewer.