PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/b2evolution/firebug/_html_header.inc.php

http://laibcomsthemes.googlecode.com/
PHP | 92 lines | 70 code | 6 blank | 16 comment | 7 complexity | f54f224cc21636a1f431dc93f9469e59 MD5 | raw file
 1<?php
 2/**
 3 * This is the HTML header include template.
 4 *
 5 * For a quick explanation of b2evo 2.0 skins, please start here:
 6 * {@link http://manual.b2evolution.net/Skins_2.0}
 7 *
 8 * This is meant to be included in a page template.
 9 * Note: This is also included in the popup: do not include site navigation!
10 *
11 * @package evoskins
12 * @subpackage firebug
13 */
14if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
15
16global $xmlsrv_url;
17
18add_js_for_toolbar();	// Registers all the javascripts needed by the toolbar menu
19
20header_content_type();	// Sets charset!
21?>
22<?php
23if( $Skin->get_setting('html5_support') == '1' )
24{
25	echo '<!DOCTYPE html>
26<html lang="'; locale_lang(); echo '">
27';
28}
29else
30{
31	echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
32<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'; locale_lang(); echo '" lang="'; locale_lang(); echo '">
33';
34}
35?>
36<head>
37	<?php skin_content_meta(); /* Charset for static pages */ ?>
38	<?php skin_description_tag(); ?>
39	<?php skin_keywords_tag(); ?>
40	<title><?php
41		// ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
42		request_title( array(
43			'auto_pilot'      => 'seo_title',
44		) );
45		// ------------------------------ END OF REQUEST TITLE -----------------------------
46	?></title>
47	<!--[if gte IE 8]>
48		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
49	<![endif]-->
50	<?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?>
51	<?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>
52	<?php robots_tag(); ?>
53	<meta name="generator" content="b2evolution <?php app_version(); ?>" /> <!-- Please leave this for stats -->
54	<link rel="stylesheet" href="rsc/css/style.css" type="text/css" />
55	<?php include_headlines() /* Add javascript and css files included by plugins and skin */ ?>
56	<?php
57		$Blog->disp( 'blog_css', 'raw');
58		$Blog->disp( 'user_css', 'raw');
59	?>
60	<?php
61		if( $Blog->get_setting( 'feed_content' ) != 'none' )
62		{ // auto-discovery urls
63	?>
64	<link rel="feed alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
65	<link rel="feed alternate" type="application/rss+xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
66	<?php
67		}
68	?>
69 	<link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php echo $xmlsrv_url; ?>rsd.php?blog=<?php echo $Blog->ID; ?>" />
70	<link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico" sizes="16x16 32x32 48x48" />
71	<meta name="viewport" content="width = 750" />
72</head>
73
74<body>
75
76<?php
77// ---------------------------- TOOLBAR INCLUDED HERE ----------------------------
78require $skins_path.'_toolbar.inc.php';
79// ------------------------------- END OF TOOLBAR --------------------------------
80
81echo "\n";
82if( is_logged_in() )
83{
84	echo '<div id="skin_wrapper" class="skin_wrapper_loggedin">';
85}
86else
87{
88	echo '<div id="skin_wrapper" class="skin_wrapper_anonymous">';
89}
90echo "\n";
91?>
92<!-- Start of skin_wrapper -->