Exemple #1
0
    require_css('fp02.css', 'rsc_url');
    add_js_for_toolbar();
    // Registers all the javascripts needed by the toolbar menu
    // Functions to work with AJAX response data
    require_js('#jquery#', 'rsc_url');
    require_js('#jqueryUI#', 'rsc_url');
    require_js('ajax.js', 'rsc_url');
    headers_content_mightcache('text/html');
    // In most situations, you do NOT want to cache dynamic content!
    ?>
<!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" xml:lang="<?php 
    locale_lang();
    ?>
" lang="<?php 
    locale_lang();
    ?>
"><!-- InstanceBegin template="/Templates/Standard.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
	<title><?php 
    // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
    request_title(array('title_before' => '', 'title_after' => ' - ', 'title_none' => '', 'glue' => ' - ', 'format' => 'htmlhead'));
    // ------------------------------ END OF REQUEST TITLE -----------------------------
    ?>
Multiblog Demo</title>
	<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
	<?php 
    skin_base_tag();
    /* You're not using any skin here but this won't hurt. However it will be very helpful to have this here when you make the switch to a skin! */
 *
 * VERY IMPORTANT: this file should assume AS LITTLE AS POSSIBLE
 * on what configuration is already done or not
 *
 * Before calling this page, you must set:
 * - $error_message
 *
 * @package evocore
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
global $app_name, $app_version, $inc_path, $baseurl;
require_once $inc_path . '/_core/_misc.funcs.php';
require_once $inc_path . '/locales/_locale.funcs.php';
$locale_lang = locale_lang(false);
?>
<!DOCTYPE html>
<html lang="<?php 
echo empty($locale_lang) ? 'en' : $locale_lang;
?>
">
	<head>
		<base href="<?php 
echo get_script_baseurl();
?>
">
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title><?php 
 *
 * This is the HTML header include template.
 *
 * For a quick explanation of b2evo 2.0 skins, please start here:
 * {@link http://b2evolution.net/man/skin-development-primer}
 *
 * This is meant to be included in a page template.
 * Note: This is also included in the popup: do not include site navigation!
 *
 * @package evoskins
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
global $xmlsrv_url, $Session, $Hit, $Skin, $app_version;
$params = array_merge(array('auto_pilot' => 'seo_title', 'html_tag' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\n" . '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . locale_lang(false) . '" lang="' . locale_lang(false) . '">' . "\n", 'viewport_tag' => NULL, 'generator_tag' => '<meta name="generator" content="b2evolution ' . $app_version . '" /> <!-- Please leave this for stats -->' . "\n", 'body_class' => NULL), $params);
// The following is temporary and should be moved to some SiteSkin class
siteskin_init();
init_bubbletip_js('blog', $Skin->get_template('tooltip_plugin'));
// Add jQuery bubbletip plugin
require_js('ajax.js', 'blog');
// Functions to work with AJAX response data
// CSS for IE9. NOTE: Don't use php checking here because of page caching!
add_headline('<!--[if IE 9 ]>');
require_css('ie9.css', 'blog');
add_headline('<![endif]-->');
echo $params['html_tag'];
?>
<head>
	<?php 
// Add viewport tag if provided:
<?php

/**
 * This is the HTML header include template.
 *
 * 
 *
 * For a quick explanation of b2evo 2.0 skins, please start here:
 * {@link http://b2evolution.net/man/skin-development-primer}
 *
 * This is meant to be included in a page template.
 * Note: This is also included in the popup: do not include site navigation!
 *
 * @package evoskins
 */
if (!defined('EVO_MAIN_INIT')) {
    die('Please, do not access this page directly.');
}
// NEW default params for v6:
$params = array_merge(array('html_tag' => '<!DOCTYPE html>' . "\r\n" . '<html lang="' . locale_lang(false) . '">', 'viewport_tag' => '#responsive#', 'auto_pilot' => 'seo_title'), $params);
// Fallback to API v5:
require dirname(__FILE__) . '/../skins_fallback_v5/_html_header.inc.php';