themes/enanium/header.tpl
author Dan
Mon, 04 May 2009 23:02:53 -0400
changeset 945 c19242d13a49
parent 921 a71de5e21423
child 955 de4f81abc5e3
permissions -rw-r--r--
Removed "@" from all call_user_func() calls to make debugging special pages and such possible
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
921
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     3
  <head>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     4
    <title>{PAGE_NAME} &bull; {SITE_NAME}</title>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     5
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     6
    {JS_DYNAMIC_VARS}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     7
    <link rel="stylesheet" type="text/css" href="{CDNPATH}/includes/clientside/css/enano-shared.css" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     8
    <link id="mdgCss" rel="stylesheet" type="text/css" href="{CDNPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
     9
    {JS_HEADER}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    10
    {ADDITIONAL_HEADERS}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    11
    <!-- BEGIN auth_rename -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    12
    <script type="text/javascript" src="{CDNPATH}/themes/{THEME_ID}/js/inlinerename.js"></script>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    13
    <!-- END auth_rename -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    14
  </head>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    15
  <body>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    16
    <div id="header">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    17
      <?php
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    18
      if ( $head = $paths->sysMsg('SiteHeader') )
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    19
      {
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    20
        echo $head;
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    21
      }
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    22
      else
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    23
      {
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    24
      ?>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    25
        <div class="logo"></div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    26
        <h1><a href="<?php echo makeUrl(get_main_page(), false, true); ?>">{SITE_NAME}</a></h1>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    27
      <?php
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    28
        }
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    29
      ?>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    30
    </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    31
    <!-- HOOK enanium_main_header -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    32
    <!-- BEGINNOT stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    33
    <form class="searchform" action="{SCRIPTPATH}/index.php" method="get">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    34
      <div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    35
        <input type="hidden" name="title" value="{NS_SPECIAL}Search" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    36
        <input type="hidden" name="auth" value="{ADMIN_SID_RAW}" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    37
        <input type="text" name="q" value="" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    38
        <input type="submit" value="search" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    39
      </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    40
      <!-- HOOK enanium_search_form -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    41
    </form>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    42
    <ul class="useropts">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    43
      <!-- BEGIN user_logged_in -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    44
      <li class="em"><a href="{url:User:{USERNAME}}">{USERNAME}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    45
      <li><a href="{url:Special:Preferences}">{lang:sidebar_btn_preferences_short}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    46
      <li class="logout"><a href="{url:Special:Logout/{CSRF_TOKEN}/{PAGE_URLNAME}}" onclick="mb_logout(); return false;">{lang:sidebar_btn_logout}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    47
      <!-- BEGINELSE user_logged_in -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    48
      <li class="em"><a href="{url:Special:Login}" onclick="ajaxStartLogin(); return false;">{lang:sidebar_btn_login}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    49
      <li><a href="{url:Special:Register}">{lang:sidebar_btn_register}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    50
      <!-- END user_logged_in -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    51
    </ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    52
    <!-- END stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    53
    <!-- Yes this is table based. For reliability reasons. -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    54
    <table border="0" cellspacing="0" cellpadding="0" id="body-wrapper">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    55
    <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    56
      <td valign="top" id="cell-sbleft">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    57
        <div class="left sidebar">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    58
          {SIDEBAR_LEFT}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    59
        </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    60
        <!-- HOOK sidebar_left_post -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    61
      </td>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    62
      <td valign="top" id="cell-content">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    63
        <!-- BEGINNOT stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    64
        <div class="menu_nojs" style="float: right; margin-right: 10px;">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    65
          <a href="#" onclick="return false;">{lang:onpage_lbl_changes}</a>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    66
          <ul class="jbox_right">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    67
            <li><a href="{url:Special:Log/user={USERNAME}|escape}">{lang:onpage_btn_changes_mine}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    68
            <li><a href="{url:Special:Log/within=1w|escape}">{lang:onpage_btn_changes_recent}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    69
            <li><a href="{url:Special:Log/page={PAGE_URLNAME}|escape}">{lang:onpage_btn_changes_history}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    70
          </ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    71
          <a href="#" onclick="return false;">{lang:onpage_lbl_sitetools}</a>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    72
          <ul class="jbox_right">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    73
            <li><a href="{url:Special:CreatePage|escape}">{lang:sidebar_btn_createpage}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    74
            <li><a href="{url:Special:UploadFile|escape}">{lang:sidebar_btn_uploadfile}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    75
            <li><a href="{url:Special:SpecialPages|escape}">{lang:sidebar_btn_specialpages}</a></li>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    76
            <!-- BEGIN auth_admin -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    77
            {SIDEBAR_LINK}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    78
            {ADMIN_LINK}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    79
            <!-- END auth_admin -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    80
          </ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    81
          <span class="menuclear"></span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    82
        </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    83
        <!-- END stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    84
        <div class="menu_nojs" id="pagebar_main">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    85
          <div class="label">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    86
            <!-- BEGIN stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    87
            Page tools
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    88
            <!-- BEGINELSE stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    89
            {lang:onpage_lbl_pagetools}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    90
            <!-- END stupid_mode -->
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    91
          </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    92
          {TOOLBAR}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    93
          <ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    94
            {TOOLBAR_EXTRAS}
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    95
          </ul>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    96
          <span class="menuclear"></span>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    97
        </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    98
        <div id="content-wrapper" class="content">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
    99
          <table border="0" cellspacing="0" cellpadding="0" style="width: 100%;">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   100
          <tr>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   101
          <td valign="top" style="width: 100%;">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   102
          <div style="float: right;">
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   103
            <img alt=" " src="{CDNPATH}/images/spacer.gif" id="ajaxloadicon" />
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   104
          </div>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   105
          <h1 <!-- BEGIN auth_rename -->title="{lang:onpage_btn_rename_inline}" <!-- END auth_rename -->id="h2PageName">{PAGE_NAME}</h1>
a71de5e21423 New primary theme: Enanium
Dan
parents:
diff changeset
   106
          <div id="ajaxEditContainer">