-
Notifications
You must be signed in to change notification settings - Fork 3
/
header.php
executable file
·65 lines (58 loc) · 3.26 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<title><?php wp_title("•",true,"right"); ?> <?php if ( is_single() ) { ?> Blog Archive • <?php } ?><?php bloginfo('name'); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/admin/css/superfish.css" type="text/css" media="screen" />
<?php
global $hemingwayEx, $hemingwayEx_options;
if ($hemingwayEx->style != 'none') :
?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/styles/<?php echo $hemingwayEx->style ?>" type="text/css" media="screen" />
<?php endif; ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_enqueue_script('textsize', get_bloginfo('template_directory') . '/admin/js/textsize.js'); ?>
<?php wp_enqueue_script('superfish', get_bloginfo('template_directory') . '/admin/js/superfish.js', array('jquery')); ?>
<?php wp_enqueue_script('initialize', get_bloginfo('template_directory') . '/admin/js/init.js'); ?>
<?php wp_head(); ?>
</head>
<body>
<div id="header">
<div class="inside">
<div id="utilities">
<div id="search">
<form method="get" id="sform" action="<?php bloginfo('home'); ?>/">
<div class="searchimg"></div>
<input type="text" id="q" value="<?php echo wp_specialchars($s, 1); ?>" name="s" size="15" />
</form>
</div>
<?php if ($hemingwayEx_options['font_resizer'] == 1) { ?>
<div id="textsize">
<?php _e('Font:','hemingwayex') ?>
<a id="upSize" href="#" title="<?php _e('Increase size','hemingwayex') ?>">A+</a>
<a id="downSize" href="#" title="<?php _e('Decrease size','hemingwayex') ?>">A-</a>
<a id="resetSize" href="#" title="<?php _e('Revert styles to default','hemingwayex') ?>">A</a>
</div>
<?php } ?>
</div>
<h2><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h2>
<p class="description"><?php bloginfo('description'); ?></p>
</div>
</div>
<!-- [END] #header -->
<div id="navigation">
<div class="inside">
<?php hemingwayEx_nav() ?>
<?php if ($hemingwayEx_options['slidebar_enabled'] == 1){ ?>
<div id="silderButtonNav">
<a id="openSlidebar" href="#" title="<?php _e('Open Navigation','hemingwayex') ?>"><?php _e('Open Navigation','hemingwayex') ?></a>
<a id="closeSlidebar" href="#" title="<?php _e('Close Navigation','hemingwayex') ?>" style="display:none;"><?php _e('Close Navigation','hemingwayex') ?></a>
</div>
<?php } ?>
</div>
</div>
<!-- [END] #menu -->
<?php include (TEMPLATEPATH . '/dynamic_slidebar.php'); ?>