themes/boxart/simple-header.tpl
author Dan
Sun, 19 Apr 2009 19:23:22 -0400
changeset 1 a3fa3b2f313f
parent 0 9fda2fa4b144
permissions -rw-r--r--
Updated for Enano 1.2.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     2
<html>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     3
  <head>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     4
    <title>{PAGE_NAME} &bull; {SITE_NAME}</title>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     5
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     6
    <link rel="stylesheet" type="text/css" href="{SCRIPTPATH}/includes/clientside/css/enano-shared.css" />
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     7
    <link rel="stylesheet" href="{STYLE_LINK}" type="text/css" id="mdgCss" />
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     8
    <link rel="stylesheet" type="text/css" href="{SCRIPTPATH}/themes/{THEME_ID}/css-simple/{STYLE_ID}.css" />
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
     9
    {JS_DYNAMIC_VARS}
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    10
    <!-- This script automatically loads the other 15 JS files -->
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    11
    <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/static/enano-lib-basic.js"></script>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    12
    <script type="text/javascript">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    13
    
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    14
      function collapseSidebar(side)
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    15
      {
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    16
        elem = document.getElementById(side+'-sidebar');
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    17
        counter = document.getElementById(side+'-sidebar-showbutton');
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    18
        if(elem.style.display=='none')
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    19
        {
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    20
          elem.style.display = 'block';
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    21
          counter.style.display = 'none';
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    22
          elem.parentNode.style.width = '156px';
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    23
          createCookie(side+'_sidebar', 'open', 365);
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    24
        } else {
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    25
          elem.style.display = 'none';
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    26
          counter.style.display = 'block';
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    27
          elem.parentNode.style.width = '25px';
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    28
          createCookie(side+'_sidebar', 'collapsed', 365);
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    29
        }
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    30
      }
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    31
      
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    32
      window.onload = function() {
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    33
        if(readCookie('left_sidebar') =='collapsed') collapseSidebar('left');
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    34
        if(readCookie('right_sidebar')=='collapsed') collapseSidebar('right');
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    35
        mdgInnerLoader();
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    36
      }
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    37
    </script>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    38
    {ADDITIONAL_HEADERS}
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    39
  </head>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    40
  <body>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    41
  
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    42
    <table border="0" style="width: 100%; height: 100%;">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    43
    <tr>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    44
    <td style="width: 10%;"></td>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    45
    <td valign="middle">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    46
  
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    47
    <table border="0" cellspacing="0" cellpadding="0" id="enano-master" width="100%" style="height: 200px;">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    48
      <tr>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    49
        <td colspan="2" style="height: 96px; padding: 10px;" id="header-banner">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    50
          <h1>{PAGE_NAME}</h1>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    51
        </td>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    52
      </tr>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    53
      <tr>
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    54
        <td valign="top" id="enanomain">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    55
          <div class="contentDiv">
9fda2fa4b144 Initial repository population
dan@fuhry
parents:
diff changeset
    56
            <div id="ajaxEditContainer">