b2evolution PHP Cross Reference Blogging Systems

Source: /skins/touch/_html_header.inc.php - 80 lines - 3240 bytes - Text - Print

Description: This is the HTML header include template.

   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://b2evolution.net/man/skin-structure}

   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   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  global $xmlsrv_url;
  16  
  17  $params = array_merge( array(
  18      'auto_pilot' => 'seo_title',
  19  ), $params );
  20  
  21  require_css( 'style.css', 'relative' );
  22  
  23  add_js_for_toolbar( 'blog' );        // Registers all the javascripts needed by the toolbar menu

  24  init_bubbletip_js( 'blog' ); // Add jQuery bubbletip plugin

  25  init_scrollwide_js( 'blog' ); // Add jQuery Wide Scroll plugin

  26  init_results_js( 'blog' ); // Add functions to work with Results tables

  27  require_js( 'ajax.js', 'blog' );    // Functions to work with AJAX response data

  28  ?>
  29  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  30  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
  31  <head profile="http://gmpg.org/xfn/11">
  32      <?php skin_content_meta(); /* Charset for static pages */ ?>
  33      <?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?>
  34      <?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>
  35      <title><?php
  36          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------

  37          request_title( $params );
  38          // ------------------------------ END OF REQUEST TITLE -----------------------------

  39      ?></title>
  40      <?php skin_description_tag(); ?>
  41      <?php skin_keywords_tag(); ?>
  42      <?php robots_tag(); ?>
  43      <?php
  44      global $htsrv_url;
  45      $js_blog_id = "";
  46      if( ! empty( $Blog ) )
  47      { // Set global js var "blog_id"
  48          $js_blog_id = "\r\n        var blog_id = '".$Blog->ID."';";
  49      }
  50  
  51      add_js_headline( "// Paths used by JS functions:
  52          var htsrv_url = '".get_samedomain_htsrv_url()."';"
  53          .$js_blog_id );
  54      ?>
  55      <meta name="generator" content="b2evolution <?php app_version(); ?>" /> <!-- Please leave this for stats -->
  56      <?php
  57      if( $Blog->get_setting( 'feed_content' ) != 'none' )
  58      { // auto-discovery urls
  59          ?>
  60      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
  61      <link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
  62          <?php
  63      }
  64      ?>
  65      <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<?php echo $Blog->disp( 'rsd_url', 'raw' ) ?>" />
  66      <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  67      <?php include_headlines() /* Add javascript and css files included by plugins and skin */ ?>
  68      <?php
  69          $Blog->disp( 'blog_css', 'raw');
  70          $Blog->disp( 'user_css', 'raw');
  71          $Blog->disp_setting( 'head_includes', 'raw');
  72      ?>
  73  </head>
  74  
  75  <body class="low-contrast-linen-wptouch-bg">
  76  
  77  <?php
  78  // ---------------------------- TOOLBAR INCLUDED HERE ----------------------------

  79  //require $skins_path.'_toolbar.inc.php';

  80  // ------------------------------- END OF TOOLBAR --------------------------------

title

Description

title

Description

title

Description

title

title

Body