XPressME Integration Kit

Trac

source: branches/Ver2.0/xpressme_integration_kit/wp-content/themes/xpress_default/header.php

Last change on this file was 288, checked in by toemon, 15 years ago

PHP4.4 でインストール後初めてモジュールを開くと syntax error になるバグ修正

File size: 2.2 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" <?php if (function_exists('language_attributes')) { language_attributes(); }?>>
3
4<head profile="http://gmpg.org/xfn/11">
5<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6
7<title><?php bloginfo('name');
8if ( is_single() ) {
9        _e('&raquo; Blog Archive', 'xpress');
10}
11wp_title(); ?></title>
12
13<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
14<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
15<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
16<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
17<?php
18// comment-replay.js load  @since 2.7.0
19if (function_exists('wp_enqueue_script')) { // not function Ver2.0
20        if ( is_singular() ){  //not function Ver2.0
21                wp_enqueue_script( 'comment-reply' );
22        }
23}
24?>
25<?php wp_head(); ?>
26</head>
27<body>
28<div id="xpress_page">
29<div id="xpress-header-bar">
30        <div id="xpress-header-bar-top">
31                <div class="xpress-header-title">
32                        <?php  if (xpress_selected_author_id(false)) echo get_avatar(xpress_selected_author_id(false),$size = '32'); ?>
33                        <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
34                </div>
35                <div class="xpress-conditional-title">
36                        &nbsp; <?php xpress_conditional_title();?>
37                </div>
38        </div>
39        <div class="xpress-description">
40                <?php bloginfo('description'); ?>
41        </div>
42        <div class="xpress-operation-link">
43                <?php
44                        if(xpress_is_wpmu()){
45                                $blog_details = get_blog_details(1);
46                                $site_url = $blog_details->siteurl;
47                                echo '<a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a> | ';
48                        }
49                ?>
50                <a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a>
51                <?php if(xpress_is_contributor()) { echo ' | ' ; xpress_post_new_link(__('Post New','xpress')); }?>
52        </div>
53</div>
54<hr class="xpress-border"></hr>
Note: See TracBrowser for help on using the repository browser.