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

A more useful hg link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 24 15:38:27 2013 +0100 (2013-01-24)
parents f87008e748eb
children
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://bugs.slitaz.org/">Bugs</a>
52 <a href="http://hg.slitaz.org/?sort=lastchange">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 <div id="search-bar">
58 <div class="padder">
60 <?php if ( bp_search_form_enabled() ) : ?>
62 <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
63 <input type="text" id="search-terms" name="search-terms" value="" />
64 <?php echo bp_search_form_type_select() ?>
66 <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" />
67 <?php wp_nonce_field( 'bp_search_form' ) ?>
68 </form><!-- #search-form -->
70 <?php endif; ?>
72 <?php do_action( 'bp_search_login_bar' ) ?>
74 </div><!-- .padder -->
75 </div><!-- #search-bar -->
77 <div id="navigation" role="navigation">
78 <?php wp_nav_menu( array( 'container' => false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>
79 </div>
81 <?php do_action( 'bp_header' ) ?>
83 </div><!-- #header -->
85 <!-- SliTaz Block -->
86 <div id="block">
87 <div style="text-align: justify; width: 48%; padding: 0 10px 0 0;">
88 The SliTaz Community Network lets you connect with SliTaz
89 users and developers, share ideas about SliTaz,
90 help others and get involved in the project.
91 </div>
92 </div>
94 <?php do_action( 'bp_after_header' ) ?>
95 <?php do_action( 'bp_before_container' ) ?>
97 <div id="container">