slitaz-forge view scn/themes/slitaz/header.php @ rev 55

Typo in Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 19:10:06 2011 +0200 (2011-04-08)
parents
children 0d4dc6e72d78
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
5 <head profile="http://gmpg.org/xfn/11">
7 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
9 <title><?php bp_page_title() ?></title>
11 <?php do_action( 'bp_head' ) ?>
13 <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
15 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
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; ?>
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; ?>
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; ?>
29 <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" />
30 <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" />
32 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
33 <link rel="shortcut icon" href="<?php echo site_url() ?>/wp-content/themes/slitaz/images/favicon.ico" />
34 <?php wp_head(); ?>
36 </head>
38 <body <?php body_class() ?> id="bp-default">
40 <?php do_action( 'bp_before_header' ) ?>
42 <div id="header">
44 <!-- SliTaz Network -->
45 <div id="network">
46 <a href="http://www.slitaz.org/">
47 <img src="<?php echo site_url() ?>/wp-content/themes/slitaz/images/network.png" alt="network.png" /></a>
48 <a href="http://scn.slitaz.org/">Community</a>
49 <a href="http://doc.slitaz.org/">Doc</a>
50 <a href="http://forum.slitaz.org/">Forum</a>
51 <a href="http://labs.slitaz.org/issues">Bugs</a>
52 <a href="http://hg.slitaz.org/">Hg</a>
53 </div>
55 <h1 id="logo"><a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>
57 <ul id="nav">
58 <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>>
59 <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a>
60 </li>
62 <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?>
63 <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>>
64 <a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?></a>
65 </li>
66 <?php endif; ?>
68 <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>>
69 <a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a>
70 </li>
72 <?php if ( bp_is_active( 'groups' ) ) : ?>
73 <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>>
74 <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a>
75 </li>
77 <?php if ( bp_is_active( 'forums' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?>
78 <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
79 <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a>
80 </li>
81 <?php endif; ?>
82 <?php endif; ?>
84 <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?>
85 <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>>
86 <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a>
87 </li>
88 <?php endif; ?>
90 <?php wp_list_pages( 'title_li=&depth=1&exclude=' . bp_dtheme_page_on_front() ); ?>
92 <?php do_action( 'bp_nav_items' ); ?>
93 </ul><!-- #nav -->
95 <div id="search-bar">
96 <div class="padder">
98 <?php if ( bp_search_form_enabled() ) : ?>
100 <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
101 <input type="text" id="search-terms" name="search-terms" value="" />
102 <?php echo bp_search_form_type_select() ?>
104 <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
105 <?php wp_nonce_field( 'bp_search_form' ) ?>
106 </form><!-- #search-form -->
108 <?php endif; ?>
110 <?php do_action( 'bp_search_login_bar' ) ?>
112 </div><!-- .padder -->
113 </div><!-- #search-bar -->
115 <?php do_action( 'bp_header' ) ?>
117 </div><!-- #header -->
119 <!-- SliTaz Block -->
120 <div id="block">
121 <div style="text-align: justify; width: 48%; padding: 0 10px 0 0;">
122 The SliTaz Community Network let you connect with SliTaz
123 users and developpers, share eveything about SliTaz,
124 help others and get involve in the project.
125 </div>
126 </div>
128 <?php do_action( 'bp_after_header' ) ?>
129 <?php do_action( 'bp_before_container' ) ?>
131 <div id="container">