themes/admin/header.tpl
author Dan
Mon, 16 Jun 2008 19:07:15 -0400
changeset 577 5118610ce160
parent 420 301f546688d1
child 650 e45183014778
permissions -rw-r--r--
Made template parser remember last initted page_id and namespace to avoid double init; made additional_headers reassign only do so if $template->additional_headers is empty (it's being blanked somehow, need to come up with a backtrace sometime)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>{PAGE_NAME} &bull; {SITE_NAME}</title>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="{SCRIPTPATH}/includes/clientside/css/enano-shared.css" />
    <link id="mdgCss" rel="stylesheet" type="text/css" href="{SCRIPTPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" />
    <!--[if IE]>
    <link id="mdgCss" rel="stylesheet" type="text/css" href="{SCRIPTPATH}/themes/{THEME_ID}/css-ie/iefixes.css" />
    <![endif]-->
    {JS_DYNAMIC_VARS}
    <!-- jsres.php is a wrapper script that compresses and caches single JS files to minimize requests -->
    <script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/jsres.php"></script>
    <script type="text/javascript" src="{SCRIPTPATH}/themes/admin/js/menu.js"></script>
    {ADDITIONAL_HEADERS}
    </head>
  <body>
    <div id="header">
      <div class="sitename">{SITE_NAME}</div>
      <!-- div class="menulink"><a href="#" onclick="adminOpenMenu('sidebar', this); return false;">expand menu</a></div -->
      [&nbsp;<a href="{SCRIPTPATH}/{ADMIN_SID_QUES}">{lang:etc_btn_main_page} &#0187;</a>&nbsp;]
    </div>
    <div class="menu_nojs" id="pagebar_main">
      <div class="label">{lang:onpage_lbl_pagetools}</div>
      {TOOLBAR}
      <ul>
        {TOOLBAR_EXTRAS}
      </ul>
      <span class="menuclear">&nbsp;</span>
    </div>
    <table border="0" cellspacing="0" cellpadding="0" id="sidebarholder">
    <tr>
    <td valign="top">
    
    <table border="0" cellspacing="0" cellpadding="0" class="wrapper">
      <tr>
        <td class="top-left"></td><td class="top">&nbsp;</td><td class="top-right"></td>
      </tr>
      <tr>
        <td class="left"></td>
        <td class="main">
          <div style="float: right;">
            <img alt=" " src="{SCRIPTPATH}/images/spacer.gif" id="ajaxloadicon" />
          </div>
          <h2 class="pagename">{PAGE_NAME}</h2>
          <div id="ajaxEditContainer">