[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/skins/ -> _html_header.inc.php (source)

   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   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  require_js( 'functions.js' );
  16  require_js( 'rollovers.js' );
  17  
  18  skin_content_header();    // Sets charset!

  19  ?>
  20  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  21  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
  22  <head>
  23      <?php skin_content_meta(); /* Charset for static pages */ ?>
  24      <?php skin_base_tag(); /* Base URL for this skin. You need this to fix relative links! */ ?>
  25      <?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>
  26      <title><?php
  27          // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------

  28          request_title( array(
  29              'auto_pilot'      => 'seo_title',
  30          ) );
  31          // ------------------------------ END OF REQUEST TITLE -----------------------------

  32      ?></title>
  33      <meta name="description" content="<?php $Blog->disp( 'shortdesc', 'htmlattr' ); ?>" />
  34      <meta name="keywords" content="<?php $Blog->disp( 'keywords', 'htmlattr' ); ?>" />
  35      <?php robots_tag(); ?>
  36      <meta name="generator" content="b2evolution <?php app_version(); ?>" /> <!-- Please leave this for stats -->
  37      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php $Blog->disp( 'rss2_url', 'raw' ) ?>" />
  38      <link rel="alternate" type="application/atom+xml" title="Atom" href="<?php $Blog->disp( 'atom_url', 'raw' ) ?>" />
  39      <link rel="stylesheet" href="style.css" type="text/css" />
  40      <?php include_headlines() /* Add javascript and css files included by plugins and skin */ ?>
  41      <?php
  42          $Blog->disp( 'blog_css', 'raw');
  43          $Blog->disp( 'user_css', 'raw');
  44      ?>
  45  </head>
  46  
  47  <body>
  48  
  49  <?php
  50  // ---------------------------- TOOLBAR INCLUDED HERE ----------------------------

  51  require $skins_path.'_toolbar.inc.php';
  52  // ------------------------------- END OF TOOLBAR --------------------------------

  53  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics