]> 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
31
32 <?php if (is_search() || is_404()) { ?>
33 <div id="headmenu">
34         <ul>
35                         <li><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
36         <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?>
37
38         </ul>
39                 </div>
40 <?php } else { ?>
41 <div id="headmenu">
42         <ul>
43                 <li><a href="<?php echo get_settings('home'); ?>/" title="Home">Home</a></li>
44                 <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?>
45 <?php
46         if($post->post_parent)
47                 $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else
48                 $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0"); ?>
49                                         
50                 </ul>
51 </div>                          
52 <?php } ?>
53                                 <?php
54         if ($children) { ?>
55 <div id="headsubmenu">
56                                 <ul>
57                 <?php echo $children; ?>
58                                 </ul>
59 </div>
60                 <?php } ?>
61
62
63
64
65
66 <div id="header">
67
68 <div id="headerleft">
69 <h1><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
70 <h2><?php bloginfo('description'); ?></h2>
71 </div><!-- end headerleft -->
72
73
74
75
76 <!-- H E A D E R   A D   S E C T I O N -->
77 <div id="headad">
78
79 <!-- ERASE THE FOLLOWING LINE AND INSERT YOUR HEAD AD CODE FROM HERE -->
80
81
82 <!-- TO HERE -->
83 </div>
84
85 </div><!-- end header -->
86
87
88 <div id="headmenu2">
89         <ul>
90
91 <!-- ******************** C U S T O M   L I N K   S E C T I O N   H E A D E R   B O T T O M *************** -->
92 <!-- INSERT YOUR CUSTOM LINKS AND LINK DESCRIPTIONS LIKE <li><a href="http://thebuckmaker.com" title="The Buckmaker is great">TheBuckmaker</a></li> -->
93
94 <li class="headlip">OpenStreetMap links:</li>
95
96 <li><a href="https://www.openstreetmap.org/?lat=42.6&lon=3.11&zoom=6&layers=B000FTF&mlat=41.98523&mlon=2.81161" title="The Map at openstreetmap.org">The Map</a></li>
97
98 <li><a href="https://wiki.openstreetmap.org" title="">The Wiki</a></li>
99
100 <!-- li><a href="http://www.vimeo.com/2598878"  title="">Video: OSM edits in 2008</a></li -->
101
102 <!-- <li><a href="http://www.vimeo.com/sotm09"  title="">SOTM09 videos</a></li> -->
103
104 <!-- <li><a href="http://www.ustream.tv/stateofthemap"  title="">SOTM09 streams</a></li> -->
105
106 <!-- li><a href="http://blog.signal2noise.ie/~eason/sotm08/" title="">SOTM08 video</a></li -->
107
108 <!-- <li><a href="http://www.flickr.com/photos/tags/sotm09/" title="">SOTM09 photos</a></li> -->
109
110 <li><a href="http://search.twitter.com/search?q=%23sotm10" title="">SOTM10 twitters</a></li>
111
112 <li>
113 <a href="http://www.facebook.com/event.php?eid=359965530366"><img title="facebook" src="https://2009.stateofthemap.org/wp-content/uploads/2009/01/facebook.png" alt="facebook" width="16" height="16" /></a></li>
114 <li>
115 <a href="http://twitter.com/sotm"><img title="twitter1" src="https://2009.stateofthemap.org/wp-content/uploads/2009/01/twitter1.png" alt="twitter1" width="16" height="16" /></a> </li>
116 <li>
117 <!-- <a href="http://flickr.com/groups/sotm09/"><img title="flickr" src="https://2009.stateofthemap.org/wp-content/uploads/2009/01/flickr.png" alt="flickr" width="16" height="16" /></a></li> -->
118 <li>
119 <a href="http://events.linkedin.com/State-Map-2010/pub/184359"><img title="linkedin" src="https://2010.stateofthemap.org/wp-content/uploads/2010/04/LinkedIn_Logo16px.png" alt="linkedin" width="16" height="16" /></a> </li>
120 <li>
121 <a href="http://2010.stateofthemap.org/?feed=rss"><img title="feed-icon-14x14" src="https://2009.stateofthemap.org/wp-content/uploads/2009/02/feed-icon-14x14.png" alt="feed-icon-14x14" width="14" height="14" /></a>
122 </li>
123         </ul>
124
125
126 </div><!-- end headmenu2 -->
127
128 <div id="content">