themes/boxart/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     {JS_DYNAMIC_VARS}
       
     9     <!-- This script automatically loads the other 15 JS files -->
       
    10     <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/static/enano-lib-basic.js"></script>
       
    11     <script type="text/javascript">
       
    12     
       
    13       function collapseSidebar(side)
       
    14       {
       
    15         elem = document.getElementById(side+'-sidebar');
       
    16         counter = document.getElementById(side+'-sidebar-showbutton');
       
    17         if(elem.style.display=='none')
       
    18         {
       
    19           elem.style.display = 'block';
       
    20           counter.style.display = 'none';
       
    21           elem.parentNode.style.width = '156px';
       
    22           createCookie(side+'_sidebar', 'open', 365);
       
    23         } else {
       
    24           elem.style.display = 'none';
       
    25           counter.style.display = 'block';
       
    26           elem.parentNode.style.width = '25px';
       
    27           createCookie(side+'_sidebar', 'collapsed', 365);
       
    28         }
       
    29       }
       
    30       
       
    31       window.onload = function() {
       
    32         if(readCookie('left_sidebar') =='collapsed') collapseSidebar('left');
       
    33         if(readCookie('right_sidebar')=='collapsed') collapseSidebar('right');
       
    34         mdgInnerLoader();
       
    35       }
       
    36     </script>
       
    37     {ADDITIONAL_HEADERS}
       
    38   </head>
       
    39   <body>
       
    40     <div id="root1" class="jswindow">
       
    41       <div id="tb1" class="titlebar">Confirm Logout</div>
       
    42       <div class="content" id="cn1">
       
    43         <form action="{CONTENTPATH}Special:Logout" method="get">
       
    44           <div style="text-align: center">
       
    45             <h3>Are you sure you want to log out?</h3>
       
    46             <input type="submit" value="Log out" style="font-weight: bold;" />  <input type="button" onclick="jws.closeWin('root1');" value="Cancel" />
       
    47           </div>
       
    48         </form>
       
    49       </div>  
       
    50     </div>
       
    51     <div id="root2" class="jswindow">
       
    52       <div id="tb2" class="titlebar">Change style</div>
       
    53       <div class="content" id="cn2">
       
    54         If you can see this text, it means that your browser does not support Cascading Style Sheets (CSS). CSS is a fundemental aspect of XHTML, and as a result it is becoming very widely adopted by websites, including this one. You should consider switching to a more modern web browser, such as Mozilla Firefox or Opera 9.
       
    55       </div>
       
    56     </div>
       
    57     <div id="root3" class="jswindow">
       
    58       <div id="tb3" class="titlebar">Wiki formatting help</div>
       
    59       <div class="content" id="cn3">
       
    60         Loading...
       
    61       </div>
       
    62     </div>
       
    63     <table border="0" cellspacing="0" cellpadding="0" id="enano-master" width="100%">
       
    64       <tr><td colspan="2" style="height: 96px;"><a href="{SCRIPTPATH}/{ADMIN_SID_QUES}"><img alt="{SITE_NAME}" src="{SCRIPTPATH}/themes/boxart/images/logo-{STYLE_ID}.png" style="border: 0px;" /></a></td></tr>
       
    65       <tr>
       
    66       <td class="mdgSidebarHolder" valign="top">
       
    67         <div id="left-sidebar">
       
    68           
       
    69           <div class="sidebar">
       
    70             {SIDEBAR_LEFT}
       
    71             {SIDEBAR_RIGHT}
       
    72           </div>
       
    73           
       
    74         </div>
       
    75         <div id="left-sidebar-showbutton" style="display: none; position: fixed; top: 3px; left: 3px;">
       
    76           <input type="button" onclick="collapseSidebar('left');" value="&gt;&gt;" />
       
    77         </div>
       
    78       </td>
       
    79       <td valign="top" id="enanomain">
       
    80         <table border="0" width="100%" cellspacing="0" cellpadding="0">
       
    81       
       
    82         <td>
       
    83           <div class="menu_nojs" id="pagebar_main">
       
    84             <div class="label">Page tools</div>
       
    85             {TOOLBAR}
       
    86             <ul>
       
    87               {TOOLBAR_EXTRAS}
       
    88             </ul>
       
    89             <span class="menuclear">&nbsp;</span>
       
    90           </div>
       
    91         </td>
       
    92         <tr>
       
    93           <td>
       
    94           <div class="contentDiv">
       
    95           <h2>{PAGE_NAME}</h2>
       
    96             <div id="ajaxEditContainer">