Ejemplo n.º 1
0
function head($styles = NULL, $scripts = NULL)
{
    ?>
  
  <!DOCTYPE html>
  <!--
  This file and all linked documents are, unless otherwise specified, authored
  by Spencer Hubbard.
  -->
  <html>
    <head>
      <meta charset="utf-8" />
      <title>Spencer Hubbard's Website</title>
      <!--
      <link href="images/icon.gif" type="image/gif" rel="shortcut icon" />
      -->
      <link href="style.css" type="text/css" rel="stylesheet" />
      
      <?php 
    add_styles($styles);
    add_scripts($scripts);
    ?>
      
      </head>
      <body>
        <div id="head">
          <h1>Spencer Hubbard's Website</h1>
        </div>
        <div id="menu">
          <ul>
            <li><a href="index.php">Main Page</a></li>
            <li><a href="puzzle.php">Puzzle Demo</a></li>
          </ul>
        </div>
        <div id="main">

        <?php 
}
Ejemplo n.º 2
0
/**
 * add_to_head function.
 *
 * @access public
 * @return void
 */
function add_to_head()
{
    add_stylesheets();
    add_my_open_id_information();
    insert_short_url();
    add_favicons();
    add_meta_tags();
    add_scripts();
}