]> git.openstreetmap.org Git - stateofthemap.git/blob - header.php
Fix http -> https links
[stateofthemap.git] / header.php
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 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         <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
7         <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
8         <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
9         <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />
10         <link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('url'); ?>/wp-content/themes/aerodrome/favicon.ico" />
11         <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
12         <?php wp_get_archives('type=monthly&format=link'); ?>
13         <?php //comments_popup_script(); // off by default ?>
14         <style type="text/css" media="screen">
15                 @import url( <?php bloginfo('stylesheet_url'); ?> );
16         </style>
17                                 
18                 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>     
19         <?php wp_head(); ?>
20
21 <script src="http://twitterjs.googlecode.com/svn/trunk/src/twitter.min.js" type="text/javascript">
22 </script>
23
24 </head>
25
26 <body>
27
28 <div id="rap">
29
30 <div id="headernew">
31
32
33 <?php if (is_search() || is_404()) { ?>
34 <div id="headmenu">
35         <ul>
36                         <li><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
37         <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?>
38
39         </ul>
40                 </div>
41 <?php } else { ?>
42 <div id="headmenu">
43         <ul>
44                 <li><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
45                 <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?>
46 <?php
47         if($post->post_parent)
48                 $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else
49                 $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); ?>
50                                         
51                 </ul>
52 </div>                          
53 <?php } ?>
54
55 <a href="<?php bloginfo('url'); ?>/"><img src="https://2012.stateofthemap.org/wp-content/uploads/2012/03/12logo.png" style="position:absolute; left: 12px; top: 15px; z-index:100;" /></a>
56
57 <a href="<?php bloginfo('url'); ?>/"><h1><?php bloginfo('name'); ?></h1></a>
58
59 <h2><?php bloginfo('description'); ?></h2>
60
61 <div style="position:absolute; left: 694px; top: 76px; color: #fff; width: 400px; font-size:12px; font-weight:bold; line-height:24px;" class="osmlinks">
62 OpenStreetMap links:<br />
63 <a href="https://www.openstreetmap.org/?mlat=35.66109&mlon=139.67760&zoom=18&layers=M" style="margin-right:12px; color: #fff;">The Map</a> <a href="https://wiki.openstreetmap.org/wiki/State_Of_The_Map_2012" style="margin-right:12px; color: #fff;">The Wiki</a> <a href="https://www.facebook.com/events/186414164808523/"><img src="https://2011.stateofthemap.org/wp-content/uploads/2011/05/2011_facebook.png" width="16" height="16" alt="Facebook" /></a> <a href="https://twitter.com/sotm"><img src="https://2011.stateofthemap.org/wp-content/uploads/2011/05/2011_twitter.png" width="16" height="16" alt="Twitter" /></a> <a href="https://2012.stateofthemap.org/rss"><img src="https://2011.stateofthemap.org/wp-content/uploads/2011/05/2011_rss.png" width="16" height="16" alt="RSS Feed" /></a>
64 </div>
65
66 </div><!-- end header -->
67
68 <div id="content">