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